当前位置:→ 股海网大智慧公式 → 正文
  • 天王买卖源码

  • 相关简介:天王买卖源码 2.2 指标源码 DF火:= BARSLAST(EMA(CLOSE,5)REF(EMA(CLOSE,5),1)); DF山:= COUNT(EMA(CLOSE,5)REF(EMA(CLOSE,5),1),12); 天王卖:REF(DF火,4)0 and REF(DF火,3)0 AND REF(DF火,2)0 AND REF(DF火,1)0 AND DF火=0 AND REF(DF火,1)DF山,colorgreen,linethick2; CMC0:=REF(C,2)*0.865;

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

天王买卖源码

2.2        指标源码
DF火:= BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1));
 DF山:= COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),12);
天王卖:REF(DF火,4)>0 and REF(DF火,3)>0 AND REF(DF火,2)>0 AND REF(DF火,1)>0 AND DF火=0 AND REF(DF火,1)>DF山,colorgreen,linethick2;

 CMC0:=REF(C,2)*0.865;
 CMC1:=REF(C,13)*0.772;
 CMDSY:=100*vol/CApitAl;
天王买1:=(C-MIN(CMC0,CMC1))/C<0.085 AND SUM(CMDSY,5)/5<1.8;

 bwVar1:=(C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27 AND COUNT((C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27,2)=1 AND (O-REF(C,1))/REF(C,1)>-0.07 and COUNT(c=o,6)=0;
 bwVar2:=(C-DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL))/DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL)*100;
 bwVar3:=REF(bwVar2,1)<-46 AND bwVar2>REF(bwVar2,1) AND  REF(bwVar2,1)<REF(bwVar2,2) AND bwVar2-REF(bwVar2,1)>2.2;{-42,1.8}
天王买2:=(bwVar1 or bwVar3);

 bwVar10:=SMA(SMA((INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100,50,1),40,1);
天王买3:=(C-MA(C,70))/MA(C,70)*100<-24 AND bwVar10<23 AND COUNT((C-MA(C,70))/MA(C,70)*100<-23,2)=1 AND (O>C OR O<C) AND O/REF(C,1)>0.96;{-23}

 bwVar15:=DMA(EMA(C,5),SUM(V,8)/2.8/CAPITAL);
 bwVar10:=REF((C-bwVar15)/bwVar15*100,1)<-40;
 bwVar11:=(C-bwVar15)/bwVar15*100>REF((C-bwVar15)/bwVar15*100,1);
 bwVar12:=REF((C-bwVar15)/bwVar15*100,1)<REF((C-bwVar15)/bwVar15*100,2);
 bwVar13:=(C-bwVar15)/bwVar15*100-REF((C-bwVar15)/bwVar15*100,1)>1.8;
 bwVar14:=H>L*1.053 AND COUNT(H>L*1.053,5)>2 AND (C/MA(C,30)*100<75 OR C/MA(C,50)*100<78);
天王买4:=bwVar10 AND bwVar11 AND bwVar12 AND  bwVar13 OR bwVar14;{-34,1.76}

 jdVar1:=(C-MA(C,48))/MA(C,48)*100<-28;
 jdVar2:=SMA(MAX(C-REF(C,1),0),12,1)/SMA(ABS(C-REF(C,1)),12,1)*100>23;
天王买5:=jdVar1 AND  jdVar2 AND VOL>MA(VOL,18) AND COUNT(c=o,6)=0;

 xrVar2:=(C-MA(C,50))/MA(C,50)*100<-23;
 xrVar3:=SMA(MAX(C-REF(C,1),0),3,1)/SMA(ABS(C-REF(C,1)),3,1)*100>16;
 xrVar4:=CROSS(100*(HHV(H,27)-C)/(HHV(H,27)-LLV(L,27)),79);
 xrVar5:=(O-REF(C,1))/REF(C,1)<0.05 AND V>MA(V,23);
天王买6:=xrVar2 AND xrVar3 AND  xrVar4 AND (O>C OR O<C) AND xrVar5;

天王买: (天王买1+天王买2+天王买3+天王买4+天王买5+天王买6 )>=2,stick3d,colorred;
 DF火:= BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1));
 DF山:= COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),12);
天王卖:REF(DF火,4)>0 and REF(DF火,3)>0 AND REF(DF火,2)>0 AND REF(DF火,1)>0 AND DF火=0 AND REF(DF火,1)>DF山,colorgreen,linethick2;

 CMC0:=REF(C,2)*0.865;
 CMC1:=REF(C,13)*0.772;
 CMDSY:=100*vol/CApitAl;
天王买1:=(C-MIN(CMC0,CMC1))/C<0.085 AND SUM(CMDSY,5)/5<1.8;

 bwVar1:=(C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27 AND COUNT((C-MA(C,48))/MA(C,48)*100<-30 AND (C-MA(C,70))/MA(C,70)*100<-27,2)=1 AND (O-REF(C,1))/REF(C,1)>-0.07 and COUNT(c=o,6)=0;
 bwVar2:=(C-DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL))/DMA(EMA(C,8),SUM(V,9)/2.8/CAPITAL)*100;
 bwVar3:=REF(bwVar2,1)<-46 AND bwVar2>REF(bwVar2,1) AND  REF(bwVar2,1)<REF(bwVar2,2) AND bwVar2-REF(bwVar2,1)>2.2;{-42,1.8}
天王买2:=(bwVar1 or bwVar3);

 bwVar10:=SMA(SMA((INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100,50,1),40,1);
天王买3:=(C-MA(C,70))/MA(C,70)*100<-24 AND bwVar10<23 AND COUNT((C-MA(C,70))/MA(C,70)*100<-23,2)=1 AND (O>C OR O<C) AND O/REF(C,1)>0.96;{-23}

 bwVar15:=DMA(EMA(C,5),SUM(V,8)/2.8/CAPITAL);
 bwVar10:=REF((C-bwVar15)/bwVar15*100,1)<-40;
 bwVar11:=(C-bwVar15)/bwVar15*100>REF((C-bwVar15)/bwVar15*100,1);
 bwVar12:=REF((C-bwVar15)/bwVar15*100,1)<REF((C-bwVar15)/bwVar15*100,2);
 bwVar13:=(C-bwVar15)/bwVar15*100-REF((C-bwVar15)/bwVar15*100,1)>1.8;
 bwVar14:=H>L*1.053 AND COUNT(H>L*1.053,5)>2 AND (C/MA(C,30)*100<75 OR C/MA(C,50)*100<78);
天王买4:=bwVar10 AND bwVar11 AND bwVar12 AND  bwVar13 OR bwVar14;{-34,1.76}

 jdVar1:=(C-MA(C,48))/MA(C,48)*100<-28;
 jdVar2:=SMA(MAX(C-REF(C,1),0),12,1)/SMA(ABS(C-REF(C,1)),12,1)*100>23;
天王买5:=jdVar1 AND  jdVar2 AND VOL>MA(VOL,18) AND COUNT(c=o,6)=0;

 xrVar2:=(C-MA(C,50))/MA(C,50)*100<-23;
 xrVar3:=SMA(MAX(C-REF(C,1),0),3,1)/SMA(ABS(C-REF(C,1)),3,1)*100>16;
 xrVar4:=CROSS(100*(HHV(H,27)-C)/(HHV(H,27)-LLV(L,27)),79);
 xrVar5:=(O-REF(C,1))/REF(C,1)<0.05 AND V>MA(V,23);
天王买6:=xrVar2 AND xrVar3 AND  xrVar4 AND (O>C OR O<C) AND xrVar5;

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

天王买卖源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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