都说MACD是一个滞后的指标。实际上,他有一种先导性,用和理解是两回事!!
把我用的MACD,分一半简单的分享一下,
{先导MACD}
SHORT:=12;
LONG:=26;
MID:=9;
DIF:EMA(C,SHORT)-EMA(C,LONG)COLOR0000FF;
DEA:EMA(DIF,MID);
MACD:(DIF-DEA)*2,COLORSTICK;
DIF11:EMA(O,SHORT)-EMA(O,LONG)COLOR00FFFF;
DEA11:EMA(DIF11,MID);
MACD111:(DIF11-DEA11)*2,COLORSTICK;
DRAWBAND(DIF,RGB(255,0,0),DIF11,RGB(0,255,0));
DRAWBAND(DEA,RGB(255,0,0),DEA11,RGB(0,255,0));
67333977.png
|