DIFF1:=EMA(CLOSE,16) - EMA(CLOSE,58);
DEA1:=EMA(DIFF1,88);
MACD1:2*(DIFF1-DEA1)*100 ;
mamacd1:ma(macd1,5),colorwhite;
DIFF:=EMA(CLOSE,8) - EMA(CLOSE,26);
DEA:=EMA(DIFF,50);
MACD:2*(DIFF-DEA)*100 ;
mamacd:ma(macd,5),colorwhite;
xg:macd1>mamacd1 and macd>mamacd and MACD<0;
STICKLINE(macd1
STICKLINE(macd>mamacd,macd1*0.6,0,4,0),COLORyellow;
STICKLINE(macd<0,mamacd,macd1,4,0),COLORgreen;
STICKLINE(macd1>mamacd1 and macd>mamacd ,0,macd1,4,0),COLORred;
|