指标比系统MACD反应要灵敏,用法说明,波段要看VDIF和VDEA在0轴上方运行还是在下方运行,同时关注二线与DDEA的关系。本指标基本通用,通达信版本过低在需要将WMA改为MA或EMA,效果有点差别。
STICKLINE(C>0,0,0,10,0),COLORWHITE;
均价:=(0.618*(0.809*C+0.191*o)+0.382*(if(H=C,C,H)+if(L=C,C,L))/2);
gz:=(WMA(均价,1)*0.618+(WMA(均价,3)+WMA(均价,5))/2+WMA(均价,8)*0.382)/2;
LX:=(REF(gz,2)+REF(gz,1)+REF(gz,0))/3;
AA:=(WMA(均价,34)*0.618+(WMA(均价,55)+WMA(均价,89))/2+WMA(均价,144)*0.382)/2;
fjx:=(REF(AA,2)+REF(AA,1)+REF(AA,0))/3;
lj:=AMOUNT/(V*100);
xV:=(WMA(lj,1)*0.618+(WMA(lj,3)+WMA(lj,5))/2+WMA(lj,8)*0.382)/2;
zjx:=(REF(xV,2)+REF(xV,1)+REF(xV,0))/3;
dv:=(WMA(lj,34)*0.618+(WMA(lj,55)+WMA(lj,89))/2+WMA(lj,144)*0.382)/2;
smx:=(REF(dv,2)+REF(dv,1)+REF(dv,0))/3;
vif:=(zjx-smx);
DIF:=(LX-fjx);
vDiF:((dif+vif))/2,COLOR6600FF,LINETHICK1;
VdEA:wma(vdif,N),LINETHICK1,COLORGREEN;
DDEA:wma(vdif,63);
MACD:5*(vdif-vDea),LINETHICK;
STICKLINE(MACD>0 AND VDIF<0,0,macd,2,1),COLORBROWN;
STICKLINE(MACD>0 AND VDIF>0,0,macd,2,0),COLORRED;
STICKLINE(MACD<0 AND VDIF<0,0,macd,2,1),COLORCYAN;
STICKLINE(MACD<0 AND VDIF>0,0,macd,2,0),COLORGRAY;