DIF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DED:=EMA(DIF,9);
DIFF:4*DIF-3*DED,COLORCYAN;
DEA:EMA(DIFF,5),COLORYELLOW;
macd:2*(DIF-DED), COLORSTICK;
DIF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DED:=EMA(DIF,9);
DIFF:4*DIF-3*DED,COLORCYAN;
DEA:EMA(DIFF,5),COLORYELLOW;
macd:2*(DIF-DED), COLORSTICK;