建立布林主图2009(此主图融合了官方三大指标优点汇集而成){备注:个人原创}
祝有缘看到此贴顶贴朋友们好运天天交,生活步步高,彩票期期中,打牌次次赢,股票天天涨停板……
源码:
jl01:=ma(c,3);
ljl07:=(3*c+l+o+h)/6;
牛线:(20*ljl07+19*ref(ljl07,1)+18*ref(ljl07,2)+17*ref(ljl07,3)+16*ref(ljl07,4)+15*ref(ljl07,5)+14*ref(ljl07,6)+13*ref(ljl07,7)+12*ref(ljl07,8)+11*ref(ljl07,9)+10*ref(ljl07,10)+9*ref(ljl07,11)+8*ref(ljl07,12)+7*ref(ljl07,13)+6*ref(ljl07,14)+5*ref(ljl07,15)+4*ref(ljl07,16)+3*ref(ljl07,17)+2*ref(ljl07,18)+ref(ljl07,20))/210,colorred;
马线:ma(牛线,6),coloryellow,linethick4,pointdot;
上限:马线+3*std(close,20),colormagenta,crossdot;
下限:马线-2.9*std(close,20),color2693ff,crossdot;
买:马线-2*std(close,20),linethick2,colorff937f;
卖:马线+2*std(close,20),linethick2,color00ff00;
等待:if(jl01<=牛线,马线,drawnull),colorred,linethick4,pointdot;
var1:=(c>ref(c,1) and c>ref(c,2));
var2:=(ref(var1,1) and c<=ref(c,1) and c>=ref(c,2));
var3:=(ref(var2,1) and c>=ref(c,1) and c<=ref(c,2));
var4:=(ref(var3,1) and c<=ref(c,1) and c>=ref(c,2));
var5:=(ref(var4,1) and c>=ref(c,1) and c<=ref(c,2));
var6:=(ref(var5,1) and c<=ref(c,1) and c>=ref(c,2));
var7:=(ref(var6,1) and c>=ref(c,1) and c<=ref(c,2));
var8:=(ref(var7,1) and c<=ref(c,1) and c>=ref(c,2));
var9:=(ref(var8,1) and c>=ref(c,1) and c<=ref(c,2));
vara:=(ref(var9,1) and c<=ref(c,1) and c>=ref(c,2));
varb:=(ref(vara,1) and c>=ref(c,1) and c<=ref(c,2));
varc:=(ref(varb,1) and c<=ref(c,1) and c>=ref(c,2));
持股:if(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,牛线,drawnull),colorred,linethick1;
vard:=(c<ref(c,1) and c<ref(c,2));
vare:=(ref(vard,1) and c>=ref(c,1) and c<=ref(c,2));
varf:=(ref(vare,1) and c<=ref(c,1) and c>=ref(c,2));
var10:=(ref(varf,1) and c>=ref(c,1) and c<=ref(c,2));
var11:=(ref(var10,1) and c<=ref(c,1) and c>=ref(c,2));
var12:=(ref(var11,1) and c>=ref(c,1) and c<=ref(c,2));
var13:=(ref(var12,1) and c<=ref(c,1) and c>=ref(c,2));
var14:=(ref(var13,1) and c>=ref(c,1) and c<=ref(c,2));
var15:=(ref(var14,1) and c<=ref(c,1) and c>=ref(c,2));
var16:=(ref(var15,1) and c>=ref(c,1) and c<=ref(c,2));
var17:=(ref(var16,1) and c<=ref(c,1) and c>=ref(c,2));
var18:=(ref(var17,1) and c>=ref(c,1) and c<=ref(c,2));
持币:if(vard or vare or varf or var10 or var11 or var12 or var13 or var14 or var15 or var16 or var17 or var18,牛线,drawnull),colorligray,linethick1;
stickline(c>=o,c,o,3,0),color000045;
stickline(c>=o,c,o,2.5,0),color000065;
stickline(c>=o,c,o,2,0),color000085;
stickline(c>=o,c,o,1.5,0),color0000a5;
stickline(c>=o,c,o,1,0),color0000c5;
stickline(c>=o,c,o,0.5,0),color0000e5;
stickline(c>=o,h,l,0,0),color0000f5;
stickline(c<o,c,o,3,0),color353500;
stickline(c<o,c,o,2.5,0),color454500;
stickline(c<o,c,o,2,0),color555500;
stickline(c<o,c,o,1.5,0),color656500;
stickline(c<o,c,o,1,0),color757500;
stickline(c<o,c,o,0.5,0),color858500;
stickline(c<o,h,l,0,0),color959500;
lw05:=ma(c,5);
lw10:=ma(c,10);
lw30:=ma(c,30);
五日乖离率:=(c-lw05)/lw05*100;
三拾日乖离率:=(c-lw30)/lw30*100;
jl05:=atan((lw05/ref(lw05,1)-1)*100)*180/3.1416;
jl10:=atan((lw10/ref(lw10,1)-1)*100)*180/3.1416;
jl30:=atan((lw30/ref(lw30,1)-1)*100)*180/3.1416;
速度5:=sma(ema((lw05-ref(lw05,1))/ref(lw05,1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),3);
强势狙击:=filter(jl30>30 and jl10>45 and cross(jl05,60),10);
加仓:=filter(count(cross(jl05,30),5)>=1 and lw05>ref(lw05,1)and 三拾日乖离率>ref(三拾日乖离率,1) and lw10>ref(lw10,1)and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1),10) ;
清仓:=filter(count(cross(30,jl05),5)>=1 and (c>lw30 or o>lw30) and lw05<ref(lw05,1)and 三拾日乖离率<ref(三拾日乖离率,1) and lw10<ref(lw10,1),10);
mr:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and lw05>ref(lw05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<lw30;
jl:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and lw10>ref(lw10,1) ;
减仓:=filter(jl,10);
买入:=filter(mr,10);
drawtext(减仓,high*1.02,'←减仓'),colorff99ff;
drawtext(加仓 ,low*0.98,'←加仓'),colorred;
drawtext(买入,low*0.98,'←买入'),coloryellow;
drawtext(清仓,high*1.02,'←清仓'),colorgreen;
drawtext(强势狙击,low*0.98,'←强势狙击'),coloryellow;
{drawicon(减仓,high*1.02,18);
drawicon(加仓 ,low*0.98,23);
drawicon(买入,low*0.98,5);
drawicon(清仓 ,high*1.02,6);
drawicon(强势狙击,low*0.98,15);}
上一指标公式:简单的最实用指标公式详解 通达信简单
下一指标公式:天机均线指标公式详解 通达信天机
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文建立布林主图2009指标公式详解 通达信布林仅供学习研究。