精准灵敏的寻庄MCD副图源码,贴图说明
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-11-23 08:49:00
公式简介:
此指标比系统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;
[url=http://www.goodgupiao.com/gupiaogongshi/23964.html][B]精准灵敏的寻庄MCD副图源码,贴图说明[/B][/url]