ffff:=(EMA(C,12)-EMA(C,26))*100+50;
通达信:=EMA(ffff,9);{股票公式-股票指标www.gs6699.com}
强势股:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;
选股公式:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
dddd5:=SMA(选股公式,13,8);
dddd6:=SMA(强势股,21,8);
dddd7:=MA(C,80)-MA(C,10)/7;
dddd8:=EMA(C,5);
dddd9:=MA((LLV(C,9))*1.1,14);
ffff0:=2*dddd9-dddd8-C*0.1;
ffff1:=IF(((dddd8-ffff0)*5>0),(POW((dddd8-ffff0)*5,2))/10,(-1*(POW((dddd8-ffff0)*(5),2)))/(10));
ffff2:=IF((ffff1>0),ffff1-0,12);
ffff3:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
ssss1:CEILING(SMA(dddd5,13,8)),LINETHICK2,COLOR0000FF;
ssss2: MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORBLUE;
STICKLINE(FILTER(CROSS(ssss1,ffff2)AND ssss1>REF(C,1) OR CROSS(ssss1,ssss2) AND ssss1<20 OR ssss1>REF(ssss1,1)
AND ssss1<35 AND C>REF(C,1),5),5,20,2,2),COLOR00FF00;
ssss3:IF((ssss1-dddd6<(-65)),20,40),COLORF0F000;
ssss4:IF((ssss1-dddd6>85),80,100),COLORF0F000;
DRAWICON(IF(ffff3<15,15,0),20,1);
ssss5:IF(ffff3<15,15,0),COLORYELLOW;
ssss6:50,POINTDOT,COLORAABBDD,LINETHICK2;
ssss7:=-6;
ssss8:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
ssss9:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
ssss91:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(ssss8+2*ssss9+3*ssss91)/6;
ssss92:=MA(MM,3),COLORRED;
ssss93:=EMA(ssss92,2);
ssss94:IF(ssss92<ssss7,20,0),COLORFFCCCC;
DRAWTEXT(CROSS(ssss92,ssss93) AND COUNT(ssss93<ssss7,2)>1,50,'┻'),COLORRED,LINETHICK3;
STICKLINE((ssss92<-9),0,0,4,0 ),COLORCC0033;
STICKLINE((ssss92<-9),0,5,4,0 ),COLORFF9966;
ssss96:=
STICKLINE( (ssss92<-9),0,2,4,0) ,COLORFFCC66;
STICKLINE( (ssss92<-9),0,8,4,0 ),COLORFFFF66;
XY1272:=
STICKLINE((ssss92<-12),10 ,-15,4,0) ,COLOR0066FF;
STICKLINE((ssss92<-12),10 ,-5,4,0 ),COLOR0099FF;
STICKLINE((ssss92<-12),10 ,0,4,0 ),COLOR00CCFF;
STICKLINE((ssss92<-12),10 ,3,4,0),COLOR00FFFF;