VAR1:=(MA(CLOSE,80)-MA(CLOSE,13)/3);
VAR2:=( MA((CLOSE-VAR1)/VAR1,1));
DIFF:( EMA(CLOSE,5) - EMA(CLOSE,34))*100,COLOR0000FF ,LINETHICK1;
DEA: EMA(DIFF,5);
macd : 2*(DIFF-DEA), COLORSTICK;
STICKLINE(MacD0,0,MACD,8,0),colorgreen;
STICKLINE(MACD
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,8,0),coloryellow;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,8,0),colormagenta;