送给喜欢短线的朋友
通达信两个短线指标
LC:=REF(CLOSE,1);
GLS:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;
YS:=45,COLORMAGENTA;
PP:=GLS YS AND REF(GLS,1)
ZT:=IF(REF(C,1)*1.1-C 0.01 ,1,0);
HH:=COUNT(ZT,13)
BT:=REF(PP,1) AND HH;
STICKLINE(BT,0,3,2,0),COLOR000088;
STICKLINE(BT,0,3,1,0),COLOR0000CC;
STICKLINE(BT,0,3,0.22,0),COLOR0000FF;
DRAWTEXT(BT,2,'一夜情'),COLORYELLOW;