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;