MARD:=SMA(MACD,3,1),NODRAW;
IF(MACD MARD,MACD,DRAWNULL),COLORRED,NODRAW;
STICKLINE(MACD MARD,MACD,MARD,3,0),COLORRED;
STICKLINE(MACD MARD,MACD,MARD,5,0),COLORFF0000;
STICKLINE(MACD MARD AND MACD 0,MACD,MARD,3,0),COLORYELLOW;
MARD:=SMA(MACD,3,1),NODRAW;
IF(MACD MARD,MACD,DRAWNULL),COLORRED,NODRAW;
STICKLINE(MACD MARD,MACD,MARD,3,0),COLORRED;
STICKLINE(MACD MARD,MACD,MARD,5,0),COLORFF0000;
STICKLINE(MACD MARD AND MACD 0,MACD,MARD,3,0),COLORYELLOW;