趋势线选股:=21;N2:=8;{炒股公式-炒股指标www.gs6699.com}
指标公式:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
ssddd2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
ssddd3:=SMA(SMA(ssddd2,3,1),3,1);
ssddd4:=EMA(ssddd3,5);
ssddd5:=LLV(LOW,26);
ssddd6:=HHV(HIGH,34);
ssddd7:=EMA((CLOSE-ssddd5)/(ssddd6-ssddd5)*4,4)*25;
ssddd8:=(2*C+H+L)/4;
ssddd9:=LLV(LOW,趋势线选股);
指标公式0:=HHV(HIGH,N2);
ssddd2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
MW:= EMA(ssddd2W,3);
ssddd3W:=EMA(ssddd2W,7);
M1:= EMA(ssddd3W,5);
MB1:=CROSS(MW,M1) AND M1<20;
MG1:=IF(CROSS(M1,MW) AND REF(MW,1)>80,80 ,0) ;
ssdda1:EMA((ssddd8-ssddd9)/(指标公式0-ssddd9)*100,9),COLORMAGENTA;
B1:EMA(0.667*REF(ssdda1,1)+0.333*ssdda1,2),COLOR00FF00;
ssdda2:IF((BARSLAST(MG1>0)<2),80,100);
ssdda3:IF((MB1),20,0);
ssdda4: IF((ssddd7<10),50,30);
ssdda5: IF((ssddd7>90),50,70);
STICKLINE((ssdda1-B1)>0,ssdda1,B1,3,0),COLORMAGENTA;
STICKLINE((ssdda1-B1)<0,ssdda1,B1,3,0),COLOR00FF00;
DRAWTEXT(CROSS(ssdda1,20),18,''),COLORRED;
DRAWTEXT(CROSS(80,ssdda1),82,''),COLORGREEN;
0;100;