咱们给kdj.cci找一个柺棍【zig】来使他们发出的信号能够去伪存真(zig-kdj zig-cci)
咱们给kdj.cci找一个柺棍【zig】来使他们发出的信号能够去伪存真。(txt.副图解释)
我们炒股的人可以说人人皆知.天天都要用的. 大名鼎鼎的kdj.和cci. 可就是这两个指标.经常弄得我们哭笑不得.无数次被假信号欺骗.就说kdj大于100不一定要卖.小于零也买不得.卖了还涨.买了就跌.是经常的事.cci背离之后.还有背离.那就是说背离也不可靠.更不要说大于100.小于-100了.咱们要买卖而他们只能是参考指标.
【怎么办】现在我们抓住了他们的把柄.帮助他们找了个【不倒翁】类型的柺棍.-----zig-----用他配合kdj.cci来佐证他们信号的可靠性.
【1】zig受未来变化的飘逸性 【2】kdj.cci.有虚假.二次背离的欺骗性 .现在我们把他们栓在一起.咱们【看他们的共性信号】.用zig来佐证没有未来飘逸的kdj.cci.咱们来个取长补短.相补相成.我是说【以kdj.cci为主导】.用zig证明.就可以防止.禰补kdj.cci的假信号.假背离.和zig的飘逸给咱们带来的伤害.我也是想到这就编辑了.还是需要时间的考验.再进一步修改完善.发布出来大家共同研究研究.必有收获.
============================================================================================= input:zf(10,0,50); drawgbklast(date>900101,strip(rgb(0,0,100),rgb(0,0,40),0));0,colorff9900; var9:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; k:sma(var9,3,1),color00ffff,dotline; d:sma(k,3,1),color00ff00,dotline; j:(3*k-2*d),color0000ff,linethick2; high1:=peak(4,zf,1); low1:=trough(4,zf,1); drawtext(cross(ref(high1,1),high1),100,''+numtostrn(high1 ,2)+''),align1,color00ffff,linethick1; drawtext(cross(low1,ref(low1,1)),20,''+numtostrn(low1 ,2)+''),align1,color00ffff,linethick1; vertline(cross(ref(high1,1),high1),2),color0000ff,layer0; vertline(cross(low1,ref(low1,1)),2),color00ff00,layer0; 持有:last(zig(4,zf)>ref(zig(4,zf),1)),color0000ff ,stick,linethick2; 空仓:last(zig(4,zf)<ref(zig(4,zf),1)),color00ff00,stick,linethick2; {大盘kdj} drsv:=(indexc-llv(indexl,9))/(hhv(indexh,9)-llv(indexl,9))*100; dk:=sma(drsv,3,1); dd:=sma(dk,3,1); dj:(3*dk-2*dd),color00ffff; partline(dj,(dj>ref(dj,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),pointdot,linethick6,layer1; =============================================================================================== {zig-cci} input:zf(10,0,50); drawgbklast(date>900101,strip(rgb(0,0,100),rgb(0,0,40),0));100;-100;0,colorff9900; tyb:= (high + low + 2*close)/4; ccia:=(tyb-ma(tyb,14))/(0.015*avedev(tyb,14)); ccib:=(tyb-ma(tyb,28))/(0.015*avedev(tyb,28)); ccic:=(tyb-ma(tyb,42))/(0.015*avedev(tyb,42)); cci:wma((ccia+ccib+ccic)/3,3); partline(cci,cci>ref(cci,1),rgb(255,0,0),cci<=ref(cci,1),rgb(0,255,0) ),linethick2; {顶底背离} {1.macd} a1:=barslast(ref(cross("macd.diff","macd.dea"),1)); b1:=ref(c,a1+1)>c and ref("macd.diff",a1+1)<"macd.diff" and cross("macd.diff","macd.dea"); drawtext(b1>0,-100,'m底背'),color00ffff,linethick1;{macd底背离}; c1:=barslast(ref(cross("macd.dea","macd.diff"),1)); d1:=ref(c,c1+1)<c and ref("macd.diff",c1+1)>"macd.diff" and cross("macd.dea","macd.diff"); drawtext(d1>0,95,'m顶背'),color0077ff,linethick1;{macd顶背离}; {2.kdj} a2:=barslast(ref(cross("kdj.k","kdj.d"),1)); b2:=ref(c,a2+1)>c and ref("kdj.k",a2+1)<"kdj.k" and cross("kdj.k","kdj.d"); drawtext(b2,-50,'j9底背'),color00ffff,linethick1;{kdj底背离}; c2:=barslast(ref(cross("kdj.d","kdj.k"),1)); d2:=ref(c,c2+1)<c and ref("kdj.k",c2+1)>"kdj.k" and cross("kdj.d","kdj.k"); drawtext(d2>0,80,'j9顶背'),color0077ff,linethick1;{kdj顶背离}; {3.rsi} a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1)); b3:=ref(c,a3+1)>c and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2"); drawtext(b3>0,-80,'r底背'),color00ffff,linethick1;{rsi底背离} c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1)); d3:=ref(c,c3+1)<c and ref("rsi.rsi1",c3+1)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1"); drawtext(d3>0,65,'r顶背'),color0077ff,linethick1;{rsi顶背离}; {4.cci} tyb:= (high + low + 2*close)/4; cci4:=(tyb-ma(tyb,28))/(0.015*avedev(tyb,28)); b4:=last(ma(c,5)<ma(c,10)<=5) and cci4>ref(cci4,1) and cross(cci4,-100); { cci底背离'} xg:=((b1 and b2) or (b2 and b3) or (b1 and b3) or ( b4 and cci4<-90) ) and "kdj.d"<30; drawtext(last(ma(c,5)<ma(c,10)<=5) and cci>ref(cci,1) and cross(cci,-100),-100,'cci底背离'),color00ff00; high1:=peak(4,zf,1); low1:=trough(4,zf,1); drawtext(cross(ref(high1,1),high1),150,''+numtostrn(high1 ,2)+''),align1,color00ffff,linethick1; drawtext(cross(low1,ref(low1,1)),-50,''+numtostrn(low1 ,2)+''),align1,color00ffff,linethick1; vertline(cross(ref(high1,1),high1),2),color0000ff,layer0; vertline(cross(low1,ref(low1,1)),2),color00ff00,layer0; 持有:last(zig(4,zf)>ref(zig(4,zf),1))*3,color0000ff ,stick,linethick2; 空仓:last(zig(4,zf)<ref(zig(4,zf),1))*3,color00ff00,stick,linethick2; =======================================================================================
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文咱们给KDJ.CCI找一个柺棍【ZIG】来使他们发出的信号能够去伪存真(ZIG-KDJ ZIG-CCI)公式下载 大智慧指标源码仅供学习研究。