当前位置:→ 股海网大智慧公式 → 正文
  • 大智慧给KDJ.CCI找个柺棍【ZIG】使他们的信号能够去伪存真

  • 相关简介:大智慧给KDJ.CCI找个柺棍【ZIG】使他们的信号能够去伪存真 咱们得给KDJ.CCI找个柺棍【ZIG】使他们的信号能够去伪存真.(TXT.副图解释) 我们炒股的人可以说人人皆知.天天都要用的. 大名鼎鼎的KDJ.和CCI. 可就是这两个指标.经常弄得我们哭笑不得.无数次被假信号欺骗.就说KDJ大于100不一定要卖.小于零也买不得.卖了还涨.买了就跌.是经常的事.CCI背离之后.还有背离.那就是说背离也不可靠.更不要说大于100.小于-100了.咱们要买卖而他们只能是参考指标. 【怎么办】现在

  • 文章来源:股海网作者:股海网发布时间:2012-11-03浏览次数:下载次数:0

大智慧给KDJ.CCI找个柺棍【ZIG】使他们的信号能够去伪存真

咱们得给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;

=======================================================================================

大智慧给KDJ.CCI找个柺棍【ZIG】使他们的信号能够去伪存真

 

 ☟问题反馈 ☞┄┄┄┄┄┄┄┄┄┄→收藏资源:

大智慧给KDJ.CCI找个柺棍【ZIG】使他们的信号能够去伪存真

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

上传会员: 
股海网
文件大小: 
Bytes
上传时间: 
2012-11-03
下载积分: 
-
免责声明: 
请仔细阅读并同意后才能下载
本附件为用户分享上传,股海网没有对文件进行验证,不能保证下载资源的准确性、安全性和完整性,也不保证下载资源能正常安装和使用,且下载后扣除的积分无法退还,除非您充分理解并完全接受本声明,否则您无权下载。
本站对提供下载的软件、指标、资料等不拥有任何权利,其版权归该下载资源的合法拥有者所有。本附件仅供学习和研究使用,不得用于商业或者非法用途,如有侵犯您的版权, 请参看 《股海网侵权处理流程》《股海网免责声明条款》
点击下载无反应时,更换主流浏览器重新登录操作,如360浏览器、Edge浏览器、谷歌浏览器,个别浏览器有不兼容现象。
勾选以下表示您已经阅读并同意以上声明才能下载本文件,扣除积分无法退还!
我已阅读所有条款规定, 请点我同意 所有条款内容!我自愿下载!
提示:如下载失败,请点关闭刷新此页面或提交问题反馈给管理员→
关闭

关于我们 - 联系我们 - 隐私政策 - 免责声明 - 下载帮助 - 广告合作 - SiteMap - TOP
增值电信业务经营ICP许可证:湘B2-20210269 湘ICP备09016573号-10 湘公网安备43108102000040号
Copyright © 2021 铭网科技,All Rights Reserved.