DIF:EMA(CLOSE,5)-EMA(CLOSE,11);
DEA:EMA(DIF,5);
MACD:(DIF-DEA)*2,COLORSTICK,LINETHICK6;
分轴:0;
DRAWICON(CROSS(MACD,0),0,1);
DRAWICON(CROSS(0,MACD),-0.05,2);
DRAWICON(CROSS(DIF,DEA),DIF,1),COLORRED;
DRAWICON(CROSS(DEA,DIF),DEA,2),COLORGREEN;