大家好,版主好!能够发这个帖子,我的内心是无比激动的,来也没多久,却从学到了很多东西,非常的感谢,感激论坛的各位版主、坛友。最初对公式几乎只知道复制粘贴,但是在的这么些天耳濡目染,开始对公式的编辑有一点点看的懂了,于是尝试着写一些极其简单的语言,比如vol,close等等。网上大名鼎鼎的带头大哥777,他的博客相信很多坛友都看过,他文中所说的带有数值的钱龙宝塔线吸引了很多的人,我也是如痴如醉的寻找,希望能得到通达信的源码,找了很久,终于找到了与其匹配的源码,也可以显示数值,可是数值却怎么也不能完全匹配,在已找到的源码的基础上,经过两天的机械式重复尝试,终于发现了其中的奥秘,终于解决了宝塔线显示数值问题,但是虽然及其细微,但是差之毫厘,失之千里!我敢说数值是绝对准确的!是全网络独一无二的(钱龙软件里的没有公布源码)!是百度上搜不出来的(今天之后就搜出来了,哈哈)!现在就将显示数值不完全准确的和经过修正后完全准确的源码发给大家比对验证,请大家笑纳。
数值不准的源码:
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),2.3,0),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),2.3,0),colorcyan;
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),2.3,0),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),2.3,0),color008e48;
{tower}
tower:if(c<ref(c,1) and ref(c,1)<ref(c,2) and l<ref(l,1) and l>ref(l,2),ref(c,2),if(c>ref(c,1),c,ref(c,1))),nodraw;
修正之后的准确源码:
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),2,1),colorlired;
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),2,0),colorcyan;
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),2,0) , colorcyan;
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),2,1),colorlired;
{tower}
基础值:=if(c<ref(c,1) and ref(c,1)<ref(c,2) and l<ref(l,1) and l>ref(l,2),ref(c,2),if(c>ref(c,1),c,ref(c,1)))nodraw;
tower:if(var1a,ref(基础值,1),基础值)nodraw;
祝各位版主,坛友财源广进,日进斗金,天天都涨停,天天涨不停!
有图为证在鼠标十字坐标处数值,上面的这个不准确,下面这个准确:
、
本文转载:创 幻 论坛
上一指标公式:绝杀主图指标下载 通达信指标源码
下一指标公式:天机均线通用指标下载 通达信源码均线
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文完美解决宝塔线数值问题无丝毫偏差指标下载 通达信偏差数值仅供学习研究。