DIF:EMA(CLOSE,5)-EMA(CLOSE,10);
DEA:EMA(DIF,5);
MACD:(DIF),COLORSTICK;
DIF,COLORGREEN,LINETHICK3;
DEA,COLORGREEN,LINETHICK1;
零上金叉买:0,COLORYELLOW,LINETHICK2;
IF(DIF DEA,DIF,DRAWNULL),COLOR0000FF,LINETHICK5;
IF(DEA REF(DEA,1),DEA,DRAWNULL),COLORMAGENTA,LINETHICK3;
DRAWICON(CROSS(DIF,DEA),DEA,13);
DRAWICON(CROSS(DEA,DIF),DEA,16);