%>
DIFF:=EMA(CLOSE,21)-EMA(CLOSE,34);DEA:=EMA(DIFF,8);MACD:=20*(DIFF-DEA);MARD:=SMA(MACD,2,1);Y:=ATAN(MACD);STICKLINE(MACD>MARD,MACD,MARD,3,0),colorFF;STICKLINE(MACD<MARD,MACD,MARD,5,0),colorFF0000;