通达信虚拟涨跌停K线划线主图指标公式

通达信涨停伏击主图及选股指标公式

通达信虚拟涨跌停K线划线主图指标公式:

{虚拟涨停K}

KXZT:=IF(CURRBARSCOUNT=1 AND PERIOD=5 AND NOT(C>150) AND C>O,REF(CLOSE,1)*1.1,DRAWNULL),NODRAW;

stICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,KXZT,MAX(OPEN,CLOSE),-1,-1),COLOR00C0C0;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

{虚拟跌停K}

KXDT:=IF(CURRBARSCOUNT=1 AND PERIOD=5 AND NOT(C>150) AND C<O,REF(CLOSE,1)*0.9,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,KXDT,MIN(OPEN,CLOSE),-1,-1),COLORLIBLUE;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

通达信螺旋浆选股指标公式