操作说明:用法很简单,MACD 变种,提前信号,波段操作,买点出来还需你的判断
1,DOTLINE;
-1,DOTLINE;
DIFF:=EMA(CLOSE,21)-EMA(CLOSE,34);
DEA:=EMA(DIFF,8);
MACD:=20*(DIFF-DEA);
MARD:=SMA(MACD,2,1);
MARD,COLORSTICK;
STICKLINE(MACD>MARD,MACD,MARD,3,0),COLOR0000FF;
STICKLINE(MACD<MARD,MACD,MARD,5,0),COLORFF0000;
DRAWICON(CROSS(MACD,MARD),MACD,1);
DRAWICON(CROSS(MARD,MACD),MARD,2);