好公式网用指标公式为投资注入科技力量!
您的位置:好公式网大智慧公式DZH主图自动画短期箱体压力支撑含有准未来函数BACKSET向前赋值公式下载 大智慧指标源码函数赋值

DZH主图自动画短期箱体压力支撑含有准未来函数BACKSET向前赋值公式下载 大智慧指标源码函数赋值

  • 指标公式类型:大智慧公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-12-21 07:02:59
  • 指标公式标签:自动画 短期箱体 压力支撑
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:DZH主图自动画短期箱体压力支撑含有准未来函数BACKSET向前赋值公式下载 大智慧指标源码函数赋值

主图自动画短期箱体压力支撑含有准未来函数backset向前赋值

m2:ma(c,2),colorred,linethick1;
m5:ma(c,5),precis2,linethick2;
m20:ma(c,20),precis2,linethick1;
m60:ma(c,60),precis2,linethick1;

aa:=close>ref(close,1) and ref(close,1)>ref(close,2) and ref(close,1)<ref(close,3) and if(ref(close,3)<ref(close,4),1,if(ref(close,4)<ref(close,5),ref(close,1)<ref(close,4) or (ref(close,2)<ref(close,4) and ref(close,3)>=ref(close,5)),if(ref(close,5)<ref(close,6),1,ref(close,6)<ref(close,7))));
drawtext(aa and close>ref(open,2),low*0.98,'↑'),coloryellow;
bb:=close<ref(close,1) and ref(close,1)<ref(close,2) and ref(close,1)>ref(close,3) and if(ref(close,3)>ref(close,4),1,if(ref(close,4)>ref(close,5),ref(close,1)>ref(close,4) or (ref(close,2)>ref(close,4) and ref(close,3)<=ref(close,5)),if(ref(close,5)>ref(close,6),1,ref(close,6)>ref(close,7))));
drawtext(bb and close<ref(close,2),high*1.02,'↓'),color00ff00;
ma18:=ma(close,18);
var1:=c=hhv(c,4) and ref(c,1)=llv(c,4);
var2:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)=hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2);
var3:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
a:=(3*c+l+o+h)/6;
var4:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+
14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12)
+7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210;
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
cb:=ema(var4,13);
stickline(var3,o,(o+c)/2,3,0),color00ffff,linethick7;
stickline(var3,o,(o+c)/2,0.5,0),color00ffff,linethick7;
nn:= dispstatus=2;
a1:=ref(high,3)=hhv(high,2*3+1);
b1:=filter(a1,3);
c1:=backset(b1,3+1);
d1:=filter(c1,3);
a2:=ref(low,3)=llv(low,2*3+1);
b2:=filter(a2,3);
c2:=backset(b2,3+1);
d2:=filter(c2,3);
e1:=(ref(llv(low,2*3),1)+ref(hhv(high,2*3),1))/2;
e2:=(high+low)/2;
h1:=(d1 and not(d2 and e1>=e2)) or barstatus or barscount(close)=1;
l1:=(d2 and not(d1 and e1=e2));
x1:=ref(barslast(h1),1)+1;
f1:=backset(h1 and count(l1,x1)>0,llvbars(if(l1,low,10000),x1));
g1:=f1>ref(f1,1);
i1:=backset(g1,2);
ld:=i1>ref(i1,1);
l2:=ld or barstatus or barscount(close)=1;
x2:=ref(barslast(l2),1)+1;
f2:=backset(l2 and count(h1,x2)>0,hhvbars(if(h1,high,0),x2));
g2:=f2>ref(f2,1);
i2:=backset(g2,2);
hd:=i2>ref(i2,1);
uu:=backset(barstatus,barslast(ld)+1);
vv:=uu>ref(uu,1);
ww:=backset(vv,ref(barslast(ld),1)+2);
xx:=ww>ref(ww,1);
uu2:=backset(barstatus,barslast(hd)+1);
vv2:=uu2>ref(uu2,1);
ww2:=backset(vv2,ref(barslast(hd),1)+2);
xx2:=ww2>ref(ww2,1);
上:ref(h,barslast(xx2)),precis2,color0000ff,linethick1;
压:ref(h,barslast(vv2)),precis2,color0000ff,linethick1,dotline;
支:ref(l,barslast(vv)),precis2,coloryellow,linethick1,dotline;
下:ref(l,barslast(xx)),coloryellow,precis2,linethick1;
drawtext(nn,支,'支: '+numtostrn(支,2)+'元'),align2,coloryellow,valign0,linethick1;
drawtext(nn,压,'压: '+numtostrn(压,2)+'元'),align2,coloryellow,valign2,linethick1;
drawtext(nn,下,'下: '+numtostrn(下,2)+'元'),align2,coloryellow,linethick1,valign0;
drawtext(nn,上,'上: '+numtostrn(上,2)+'元'),align2,coloryellow,linethick1,valign2;
drawtextrel(10,60,'所属板块:'+bkname),colorafff00;

3、准未来函数说明:
  backset 向前赋值
将当前位置到若干周期前的数据设为1。
用法: backset(x,n) 若x非0,则将当前位置到n周期前的数值设为1。
例如: backset(close>open,2) 若收阳则将该周期及前一周期数值设为1,否则为0。

  这个准未来函数只不过是一个画线用的,现主图中其他的信号无关,并不会引起信号飘移的现象。其实这个自动画线也就是方便一下不会自画线的新手。

4、指标使用说明:

  因本人短线操作,所以在公式中只是使用2、5、20、60这四条均线,如果其他想做中长线的同学,可以自行增加或删减均线。这个主图在使用时,配合macd指标,当2、5日线与macd指标的两条线同时出现“金叉”或“死叉”时,也就是短线操作买卖的最佳时机了。

  这个公式如果使用的同学原封不动的套用的话,在配合macd指标的时候,建议把macd指标的参数设置为5、10、20;这样就可以使macd指标不过于灵敏,也不过于滞后。


  >>>使用本站搜索工具可以找到更多DZH主图自动画短期箱体压力支撑含有准未来函数BACKSET向前赋值公式下载 大智慧指标源码函数赋值

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文DZH主图自动画短期箱体压力支撑含有准未来函数BACKSET向前赋值公式下载 大智慧指标源码函数赋值仅供学习研究。

猜你喜欢

学了又学