科创:=IF(CODELIKE('688'),1,0),NODRAW;
TVAR1:=(HIGH>=ZTPRICE(REF(CLOSE,1),0.10)) AND CLOSE=HIGH,NODRAW;
TVAR2:=(HIGH>=ZTPRICE(REF(CLOSE,1),0.05)) AND CLOSE=HIGH,NODRAW;
TVAR3:=(HIGH>=ZTPRICE(REF(CLOSE,1),0.20)) AND CLOSE=HIGH,NODRAW;
DVAR1:=CLOSE=DTPRICE(REF(CLOSE,1),0.10) AND CLOSE=LOW;
DVAR2:=CLOSE=DTPRICE(REF(CLOSE,1),0.05) AND CLOSE=LOW;
DVAR3:=CLOSE=DTPRICE(REF(CLOSE,1),0.20) AND CLOSE=LOW;
{复查1:HIGH>=ZTPRICE(REF(CLOSE,1),0.20) NODRAW;}
ST:=NAMELIKE('S') OR NAMELIKE('*'),NODRAW;
ZT:=IF(ST=1,TVAR2,IF(科创=1,TVAR3,TVAR1)) AND C=H ,NODRAW;
DT:=IF(ST=1,DVAR2,IF(科创=1,DVAR3,DVAR1)) AND C=LOW ,NODRAW;
STICKLINE(ZT,O,C,4,0),COLOR0000FF;
STICKLINE(DT,O,C,4,0),COLORFFFF00;
上一篇:通达信公式变色成交量副图源码 下一篇:通达信相交买点副图指标源码