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