分时涨停先锋
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
XA_1:=VOL/CLOSE/3;
XA_2:=SUM(IF(XA_1>0.2 AND CLOSE>REF(CLOSE,1),XA_1,0),0);
XA_3:=SUM(IF(XA_1>0.2 AND CLOSE<REF(CLOSE,1),XA_1,0),0);
XA_4:=XA_2/XA_3*10;
DRAWICON(BARSLASTCOUNT(XA_4>20)>=15,DIF,24);
涨停能量:IF(XA_4>0,XA_4,DRAWNULL),NODRAW;