DIF:EMA(C,5)-EMA(C,30),COLORSTICK;
DEA:=EMA(DIF,5);
DIF,COLORGREEN;
DEA,COLORGREEN;
零上金叉买:0,COLORBLUE,CROSSDOT,LINETHICK2;
IF(DIF>DEA,DIF,DRAWNULL),COLORRED,LINETHICK2;
IF(DEA>REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA;
DRAWICON(CROSS(DIF,DEA),DEA,1);
DRAWICON(CROSS(DEA,DIF),DEA,2);