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,1,0),COLOR0000FF;
STICKLINE(MACD<MARD,MACD,MARD,1,0),COLORFF0000;
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,1,0),COLOR0000FF;
STICKLINE(MACD<MARD,MACD,MARD,1,0),COLORFF0000;