RDIF:EMA("MACD.DIF#DAY"(13,21,5),5)*N,COLORLIGRAY;
RDEA:EMA("MACD.DEA#DAY"(13,21,5),5)*N,COLORLIBLUE;
DIF:EMA(CLOSE,13)-EMA(CLOSE,21),COLORWHITE;
DEA:EMA(DIF,8),COLORYELLOW;
MACD:(DIF-DEA)*2,COLORWHITE;
IF(MACD>0,MACD,DRAWNULL),LINESTICK,COLORRED;
IF(MACD<=0,MACD,DRAWNULL),LINESTICK,COLORCYAN;