好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式真正的自适应移动均线——主图说明指标下载 通达信自适应源码

真正的自适应移动均线——主图说明指标下载 通达信自适应源码

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-11-16 15:38:39
  • 指标公式标签:均线
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:真正的自适应移动均线——主图说明指标下载 通达信自适应源码

真正的自适应移动均线——(主图、源码、贴图、说明)
{d:2 222 8}
drawicon(currbarscount=d-7 and not(currbarscount=1),l,4);
{波段高低点}
g:=zig((h+max(c,o))/2,5);
g1:=g>ref(g,1) and g>refx(g,1);
d1:=g<ref(g,1) and g<refx(g,1);
d:=zig((l+min(c,o))/2,5);
g2:=d>ref(d,1) and d>refx(d,1);
d2:=d<ref(d,1) and d<refx(d,1);
gg:=filter(g1 or g2,5) and currbarscount>d;
dd:=filter(d1 or d2,5) and currbarscount>d;
{前期高低点距今}
gb1:=barslast(gg);
gb2:=refv(gb1,gb1+1)+gb1+1;
gb3:=refv(gb1,gb2+1)+gb2+1;
gb4:=refv(gb1,gb3+1)+gb3+1;
db1:=barslast(dd);
db2:=refv(db1,db1+1)+db1+1;
db3:=refv(db1,db2+1)+db2+1;
db4:=refv(db1,db3+1)+db3+1;
{均线}
e2:=ema(c,20);
a21:=refv(100*abs(g-e2)/e2,gb1)<2; a22:=refv(100*abs(g-e2)/e2,gb2)<2;
a23:=refv(100*abs(g-e2)/e2,gb3)<2; a24:=refv(100*abs(g-e2)/e2,gb4)<2;
b21:=refv(100*abs(d-e2)/e2,db1)<2; b22:=refv(100*abs(d-e2)/e2,db2)<2;
b23:=refv(100*abs(d-e2)/e2,db3)<2; b24:=refv(100*abs(d-e2)/e2,db4)<2;
cx2:=a21+a22+a23+a24+b21+b22+b23+b24,nodraw;
e3:=ema(c,30);
a31:=refv(100*abs(g-e3)/e3,gb1)<2; a32:=refv(100*abs(g-e3)/e3,gb2)<2;
a33:=refv(100*abs(g-e3)/e3,gb3)<2; a34:=refv(100*abs(g-e3)/e3,gb4)<2;
b31:=refv(100*abs(d-e3)/e3,db1)<2; b32:=refv(100*abs(d-e3)/e3,db2)<2;
b33:=refv(100*abs(d-e3)/e3,db3)<2; b34:=refv(100*abs(d-e3)/e3,db4)<2;
cx3:=a31+a32+a33+a34+b31+b32+b33+b34,nodraw;
e4:=ema(c,40);
a41:=refv(100*abs(g-e4)/e4,gb1)<2; a42:=refv(100*abs(g-e4)/e4,gb2)<2;
a43:=refv(100*abs(g-e4)/e4,gb3)<2; a44:=refv(100*abs(g-e4)/e4,gb4)<2;
b41:=refv(100*abs(d-e4)/e4,db1)<2; b42:=refv(100*abs(d-e4)/e4,db2)<2;
b43:=refv(100*abs(d-e4)/e4,db3)<2; b44:=refv(100*abs(d-e4)/e4,db4)<2;
cx4:=a41+a42+a43+a44+b41+b42+b43+b44,nodraw;
e5:=ema(c,50);
a51:=refv(100*abs(g-e5)/e5,gb1)<2; a52:=refv(100*abs(g-e5)/e5,gb2)<2;
a53:=refv(100*abs(g-e5)/e5,gb3)<2; a54:=refv(100*abs(g-e5)/e5,gb4)<2;
b51:=refv(100*abs(d-e5)/e5,db1)<2; b52:=refv(100*abs(d-e5)/e5,db2)<2;
b53:=refv(100*abs(d-e5)/e5,db3)<2; b54:=refv(100*abs(d-e5)/e5,db4)<2;
cx5:=a51+a52+a53+a54+b51+b52+b53+b54,nodraw;
e6:=ema(c,60);
a61:=refv(100*abs(g-e6)/e6,gb1)<2; a62:=refv(100*abs(g-e6)/e6,gb2)<2;
a63:=refv(100*abs(g-e6)/e6,gb3)<2; a64:=refv(100*abs(g-e6)/e6,gb4)<2;
b61:=refv(100*abs(d-e6)/e6,db1)<2; b62:=refv(100*abs(d-e6)/e6,db2)<2;
b63:=refv(100*abs(d-e6)/e6,db3)<2; b64:=refv(100*abs(d-e6)/e6,db4)<2;
cx6:=a61+a62+a63+a64+b61+b62+b63+b64,nodraw;
e7:=ema(c,70);
a71:=refv(100*abs(g-e7)/e7,gb1)<2; a72:=refv(100*abs(g-e7)/e7,gb2)<2;
a73:=refv(100*abs(g-e7)/e7,gb3)<2; a74:=refv(100*abs(g-e7)/e7,gb4)<2;
b71:=refv(100*abs(d-e7)/e7,db1)<2; b72:=refv(100*abs(d-e7)/e7,db2)<2;
b73:=refv(100*abs(d-e7)/e7,db3)<2; b74:=refv(100*abs(d-e7)/e7,db4)<2;
cx7:=a71+a72+a73+a74+b71+b72+b73+b74,nodraw;
e8:=ema(c,80);
a81:=refv(100*abs(g-e8)/e8,gb1)<2; a82:=refv(100*abs(g-e8)/e8,gb2)<2;
a83:=refv(100*abs(g-e8)/e8,gb3)<2; a84:=refv(100*abs(g-e8)/e8,gb4)<2;
b81:=refv(100*abs(d-e8)/e8,db1)<2; b82:=refv(100*abs(d-e8)/e8,db2)<2;
b83:=refv(100*abs(d-e8)/e8,db3)<2; b84:=refv(100*abs(d-e8)/e8,db4)<2;
cx8:=a81+a82+a83+a84+b81+b82+b83+b84;
e9:=ema(c,90);
a91:=refv(100*abs(g-e9)/e9,gb1)<2; a92:=refv(100*abs(g-e9)/e9,gb2)<2;
a93:=refv(100*abs(g-e9)/e9,gb3)<2; a94:=refv(100*abs(g-e9)/e9,gb4)<2;
b91:=refv(100*abs(d-e9)/e9,db1)<2; b92:=refv(100*abs(d-e9)/e9,db2)<2;
b93:=refv(100*abs(d-e9)/e9,db3)<2; b94:=refv(100*abs(d-e9)/e9,db4)<2;
cx9:=a91+a92+a93+a94+b91+b92+b93+b94;
e10:=ema(c,100);
a101:=refv(100*abs(g-e10)/e10,gb1)<2; a102:=refv(100*abs(g-e10)/e10,gb2)<2;
a103:=refv(100*abs(g-e10)/e10,gb3)<2; a104:=refv(100*abs(g-e10)/e10,gb4)<2;
b101:=refv(100*abs(d-e10)/e10,db1)<2; b102:=refv(100*abs(d-e10)/e10,db2)<2;
b103:=refv(100*abs(d-e10)/e10,db3)<2; b104:=refv(100*abs(d-e10)/e10,db4)<2;
cx10:=a101+a102+a103+a104+b101+b102+b103+b104;
e11:=ema(c,110);
a111:=refv(100*abs(g-e11)/e11,gb1)<2; a112:=refv(100*abs(g-e11)/e11,gb2)<2;
a113:=refv(100*abs(g-e11)/e11,gb3)<2; a114:=refv(100*abs(g-e11)/e11,gb4)<2;
b111:=refv(100*abs(d-e11)/e11,db1)<2; b112:=refv(100*abs(d-e11)/e11,db2)<2;
b113:=refv(100*abs(d-e11)/e11,db3)<2; b114:=refv(100*abs(d-e11)/e11,db4)<2;
cx11:=a111+a112+a113+a114+b111+b112+b113+b114;
e12:=ema(c,120);
a121:=refv(100*abs(g-e12)/e12,gb1)<2; a122:=refv(100*abs(g-e12)/e12,gb2)<2;
a123:=refv(100*abs(g-e12)/e12,gb3)<2; a124:=refv(100*abs(g-e12)/e12,gb4)<2;
b121:=refv(100*abs(d-e12)/e12,db1)<2; b122:=refv(100*abs(d-e12)/e12,db2)<2;
b123:=refv(100*abs(d-e12)/e12,db3)<2; b124:=refv(100*abs(d-e12)/e12,db4)<2;
cx12:=a121+a122+a123+a124+b121+b122+b123+b124;
mcx:=max(cx2,max(cx3,max(cx4,max(cx5,max(cx6,max(cx7,max(cx8,max(cx9,max(cx10,max(cx11,cx12))))))))));
p2:=cx2=mcx and mcx>1; p3:=cx3=mcx and mcx>1; p4:=cx4=mcx and mcx>1; p5:=cx5=mcx and mcx>1;p6:=cx6=mcx and mcx>1;
p7:=cx7=mcx and mcx>1; p8:=cx8=mcx and mcx>1; p9:=cx9=mcx and mcx>1; p10:=cx10=mcx and mcx>1; p11:=cx11=mcx and mcx>1; p12:=cx12=mcx and mcx>1;
n1:=const(if((p2 and p4) or (p3 and p2=0 and p4=0),30,if(p2 and p3 and p4=0,25,if(p2=0 and p3 and p4,35,if(p2 and p3=0 and p4=0,20,if(p2=0 and p3=0 and p4,40,0)))))),nodraw;
n2:=const(if((p5 and p7) or (p6 and p5=0 and p7=0),60,if(p5 and p6 and p7=0,55,if(p5=0 and p6 and p7,65,if(p5 and p6=0 and p7=0,50,if(p5=0 and p6=0 and p7,70,0)))))),nodraw;
n3:=const(if((p8 and p10) or (p9 and p8=0 and p10=0),90,if(p8 and p9 and p10=0,85,if(p8=0 and p9 and p10,95,if(p8 and p9=0 and p10=0,80,if(p8=0 and p9=0 and p10,100,0)))))),nodraw;
n4:=const(if(p11 and p12,115,if(p11 and p12=0,110,if(p11=0 and p12,120,0)))),nodraw;
周期:if(n4>0,n4,if(n3>0,n3,if(n2>0,n2,if(n1>0,n1,if(totalbarscount<55,13,55))))),nodraw;
notextee1:if(n1>0,ema(c,n1),drawnull),colorliblue;
notextee2:if(n2>0 and n1<=0,ema(c,n2),drawnull),colorliblue;
notextee3:if(n3>0 and n1<=0 and n2<=0,ema(c,n3),drawnull),colorliblue;
notextee4:if(n4>0,ema(c,n4),drawnull),colorliblue;
notextee0:=ema(c,周期);
notext01:if(notextee0>=ref(notextee0,1) and 周期>1,notextee0,drawnull),colorred,linethick2;
notext02:if(notextee0<=ref(notextee0,1) and 周期>1,notextee0,drawnull),colorgreen,linethick2;
drawnumber(islastbar,ema(c,周期),ema(c,周期));
drawkline(h,o,l,c);


真正的自适应移动均线——(主图、源码、贴图、说明)

  >>>使用本站搜索工具可以找到更多真正的自适应移动均线——主图说明指标下载 通达信自适应源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文真正的自适应移动均线——主图说明指标下载 通达信自适应源码仅供学习研究。

猜你喜欢

学了又学