DIF:EMA(CLOSE,6)-EMA(CLOSE,13);
DEA:EMA(DIF,5);
macd:(DIF-DEA)*2,COLORSTICK;
IF(DEA<0,DEA,DRAWNULL),LINETHICK2,DOTLINE,LINETHICK3;
IF(DIF>0,DIF,DRAWNULL),COLORRED;
DIF:EMA(CLOSE,6)-EMA(CLOSE,13);
DEA:EMA(DIF,5);
macd:(DIF-DEA)*2,COLORSTICK;
IF(DEA<0,DEA,DRAWNULL),LINETHICK2,DOTLINE,LINETHICK3;
IF(DIF>0,DIF,DRAWNULL),COLORRED;