DIFF:=EMA(CLOSE,6) - EMA(CLOSE,13);
DEA:=EMA(DIFF,4);
macd:=2*(DIFF-DEA);
X:0;
STICKLINE((MacD > 0),0,MACD,2.8,0),COLOR0000CC;
STICKLINE((MACD < 0),0,MACD,2.8,1),COLORCC0033;
DIFF:=EMA(CLOSE,6) - EMA(CLOSE,13);
DEA:=EMA(DIFF,4);
macd:=2*(DIFF-DEA);
X:0;
STICKLINE((MacD > 0),0,MACD,2.8,0),COLOR0000CC;
STICKLINE((MACD < 0),0,MACD,2.8,1),COLORCC0033;