趋势k线:=(2*C+H+L)/4;
主图指标公式:=LLV(LOW,30);
ccsss1:=HHV(HIGH,30);{股票公式-股票指标www.gs6699.com}
B:=EMA((趋势k线-主图指标公式)/(ccsss1-主图指标公式)*100,8);
rrdd9:=EMA(B,5);
STICKLINE(B-rrdd9>0,B,rrdd9,8,1),COLORRED;
STICKLINE(B-rrdd9<0,B,rrdd9,8,1),COLOR00FF00;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
sddd1:IF(CROSS(RSI,11),70,0),COLORWHITE,POINTDOT;
STICKLINE(sddd1,70,0,4,0),COLORWHITE;
ffeee7:=EMA(AMOUNT/VOL/100,3);
ffeee8:=EMA(ffeee7,88);
ffeee9:=EMA(ffeee7,88)*0.85;
ccsss:=ffeee9*0.87;
ffeeeB:=LOW<ccsss AND CLOSE>REF(CLOSE,1)*1.02;
STICKLINE(FILTER(ffeeeB,6),65,0,4,0),COLORFF00FF;
sddrrdd6:IF(FILTER(ffeeeB,6),65,0),COLORFF00FF,POINTDOT;
ffeeeF:=(2*CLOSE+HIGH+LOW)/4;
sddrrdd8:=LLV(LOW,34);
sddd5:=HHV(HIGH,34);
sddd6:=EMA((ffeeeF-sddrrdd8)/(sddd5-sddrrdd8)*100,6);
sddd7:=EMA(0.667*REF(sddd6,1)+0.333*sddd6,4);
sddd8:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(sddd6>sddd7,3) AND REF(LOW,1)=LLV(LOW,120) AND
CLOSE>OPEN,1,0),60,0),COLORYELLOW,POINTDOT;
STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(sddd6>sddd7,3) AND
REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),60,0,4,0),COLORYELLOW;
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211;
rrdd6:=EMA(D1,2);
rrdd8:=EMA(rrdd6,2);
K1:=EMA(rrdd8,2);
sddd9:IF(CROSS(D1,K1),55,0),COLOR0099FF,POINTDOT;
STICKLINE(CROSS(D1,K1),55,0,4,0),COLOR0099FF;
多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
,3,1),2,1);
rrdd1:=78.89;
STICKLINE(CROSS(rrdd1,多方趋势),90,95,6,0),COLOR00FF00;
ffeee1:=REF(CLOSE,2);
rrdrrdd6: SMA(MAX(CLOSE-ffeee1,0),7,1)/SMA(ABS(CLOSE-ffeee1),7,1)*100,COLORFFAA66;
ffeee2:=REF(CLOSE,1);
ffeee3:=SMA(MAX(CLOSE-ffeee2,0),7,1)/SMA(ABS(CLOSE-ffeee2),7,1)*100;
rrdrrdd8: IF(rrdrrdd6< REF(rrdrrdd6,1) AND rrdrrdd6>79,rrdrrdd6,0);
DRAWTEXT(rrdrrdd8 ,70 ,''),COLORYELLOW,LINETHICK1;
DRAWTEXT(88>0 AND REF(O,1)/REF(C,1)>1.04 AND REF(L,1)<=688 AND O>REF(C,1)AND C<REF(O,1)AND C/O>=1.01,L-L*0.02,''),LINETHICK1;
DRAWTEXT(C-O>=0 AND O/L>1.05 AND L<=LLV(L,20),L,''),COLORBLUE,LINETHICK1;
rrdd4:IF(sddd9=55,1,0);
rrdd5:IF(rrdrrdd6<C,1,0);
DRAWTEXT(rrdd4=1,rrdd4,'');
DRAWTEXT(rrdd5=1,rrdd5,'');