当前位置:→ 股海网同花顺公式 → 正文
  • 同花顺小游资宝塔线主图指标源码

  • 相关简介:小游资宝塔线主图指标公式 网上找的指标,测试好不好用。 x:=(3*C+L+O+H)/6; 宝塔多空线:(20*x+19*REF(x,1)+18*REF(x,2)+17*REF(x,3)+16*REF(x,4)+15*REF(x,5)+14*REF(x,6) +13*REF(x,7)+12*REF(x,8)+11*REF(x,9)+10*REF(x,10)+9*REF(x,11)+8*REF(x,12) +7*REF(x,13)+6*REF(x,14)+5*REF(x,15)+4*REF(x,1

  • 文章来源:股海网作者:股海网发布时间:2017-09-07浏览次数:下载次数:0

小游资宝塔线主图指标公式
 网上找的指标,测试好不好用。

x:=(3*C+L+O+H)/6;
宝塔多空线:(20*x+19*REF(x,1)+18*REF(x,2)+17*REF(x,3)+16*REF(x,4)+15*REF(x,5)+14*REF(x,6)
 +13*REF(x,7)+12*REF(x,8)+11*REF(x,9)+10*REF(x,10)+9*REF(x,11)+8*REF(x,12)
 +7*REF(x,13)+6*REF(x,14)+5*REF(x,15)+4*REF(x,16)+3*REF(x,17)+2*REF(x,18)+
 REF(x,20))/210,colorwhite ,linethick1;
 STICKLINE(REF(宝塔多空线,1)<宝塔多空线,宝塔多空线,REF(宝塔多空线,1),3,1),colorred;
 STICKLINE(REF(宝塔多空线,1)>宝塔多空线,宝塔多空线,REF(宝塔多空线,1),3,1),colorcyan;
 var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
 var2:=REF(var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var3:=REF(var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 var4:=REF(var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var5:=REF(var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 var6:=REF(var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var7:=REF(var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 var8:=REF(var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var9:=REF(var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 varA:=REF(var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 varB:=REF(varA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 varC:=REF(varB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 STICKLINE(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR
 var8 OR var9 OR varA OR varB OR varC,CLOSE,REF(CLOSE,1),6,1),colorred;
 varD: =CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
 varE: =REF(varD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 varF: =REF(varE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var10:=REF(varF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 var11:=REF(var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var12:=REF(var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 var13:=REF(var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var14:=REF(var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 var15:=REF(var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var16:=REF(var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 var17:=REF(var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 var18:=REF(var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 STICKLINE(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR
 var14 OR var15 OR var16 OR var17 OR var18,CLOSE,REF(CLOSE,1),6,0),COLOR00FF00;
 var19:=REF(varD OR varE OR varF OR var10 OR var11 OR var12 OR var13 OR
 var14 OR var15 OR var16 OR var17 OR var18,1) AND var1;
 STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),6,1),coloryellow;
 var1A:=REF(var1 OR var2 OR var3 OR var4 OR var5 OR var6 OR var7 OR
 var8 OR var9 OR varA OR varB OR varC,1) AND varD;
 STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),6,2),Color00ff00, LINETHICK5;
 STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00ffff, LINETHICK5;
 STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR00c8ff, LINETHICK5;
 STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR10ecff, LINETHICK5;
 STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ffff, LINETHICK5;
 STICKLINE(var19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10f0ff, LINETHICK5;
 STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),8,0),COLORff50ff, LINETHICK5;
 STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),6,0),COLORff50ff, LINETHICK5;
 STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLORff50ff, LINETHICK5;
 STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLORff50ff, LINETHICK5;
 STICKLINE(var1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLORff50ff, LINETHICK5;
 N:=5;
攻击线:MA(C,5),colorlired,LINETHICK3;
动能衰减:IF(C<攻击线,攻击线,DRAWNULL),colorligreen,LINETHICK3;
 L1:=TROUGH(2,N,1);
 L2:=TROUGH(2,N,2);
 T1:=TROUGHBARS(2,N,1);
 T2:=TROUGHBARS(2,N,2);
 TJ1:=RANGE(L1/攻击线,0.98,1.02);
 TJ2:=RANGE(REF(L1,T2)/REF(攻击线,T2),0.98,1.02);
 TJ:= TJ1 AND TJ2 ;
 TJA:=REF(T1,1)=0 AND REF(L1>L2,1) ;
 XG:=TJA AND TJ;
 STICKLINE(XG,C,O,1.5,0),coloryellow;
 STICKLINE(XG,H,L,0,0),coloryellow;

同花顺小游资宝塔线主图指标源码

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

同花顺小游资宝塔线主图指标源码

  • 下载资源所需积分

    0

  • 当前拥有积分

    0

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

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