DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9),COLORGREEN;
macd:(DIF-DEA)*2,COLORSTICK;
DIF1:EMA(CLOSE,8)-EMA(CLOSE,18),COLORYELLOW;
DEA1:EMA(DIF1,8),COLORWHITE;
DRAWICON(crOSS(DIF1,DEA1),DIF1,1);
DRAWICON(CROSS(DEA1,DIF1),DEA1,2);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9),COLORGREEN;
macd:(DIF-DEA)*2,COLORSTICK;
DIF1:EMA(CLOSE,8)-EMA(CLOSE,18),COLORYELLOW;
DEA1:EMA(DIF1,8),COLORWHITE;
DRAWICON(crOSS(DIF1,DEA1),DIF1,1);
DRAWICON(CROSS(DEA1,DIF1),DEA1,2);