通达信杀跌买副图指标
杀跌停:IF(C<REF(C,1)*0.902,0.5,1),COLOR00FF00,NODRAW;
DRAWTEXT(C<REF(C,1)*0.902,0.6,'杀跌'),COLORFFFF00;
{宁波二号}{天天查股网WWW.ttchagu.com}
T:=IF((BARSCOUNT(C)>7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
N:=IF((T>0.35),6,65);
W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
KK:=EMA(SMA(RG,3,1),2);
DD:=SMA(KK,3,1);
XG:=CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);
STICKLINE(XG=1,0.8,1.5,0.8,0),COLORRED;
DRAWTEXT(XG=1,1.0,'涨停'),COLORRED;