DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
macd:(DIF-DEA)*3,COLORCC66DD;
STICKLINE(((DIF
STICKLINE(((DIF>DEA)),DIF,DEA,2,0),COLORFF00FF;
STICKLINE(((DIF
DRAWICON((DEA>DIF),DIF*0.99,24);
DRAWICON((DIF
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;