宝塔线和布林线的完美结合,穿越布林中轴为强势
boll:ma(c,20),colorwhite,linethick1;
布中:=boll;
ub:boll+2*std(c,20),colorwhite,dotline;
lb:boll-2*std(c,20),colorwhite,dotline;
ma1:=ma(close,5);
ma2:=ma(close,10);
ma3:=ma(close,20);
ma4:=ma(close,60);
ma5:=ma(close,120);
ma6:=ma(close,250);
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),8,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);
ttt: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),8,0),colorgreen;
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),8,0),colorgreen;
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),8,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),8,0),colorlired;
上1:=if(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,max(close,ref(close,1)),0);
上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,max(close,ref(close,1)),0);
上3:=if(var19,max(ref(close,1),ref(close,2)),0);
上4:=if(var1a,max(ref(close,1),ref(close,2)),0);
中1:=if(var19,max(ref(close,1),ref(close,2)),
if(var1a,min(ref(close,1),ref(close,2)),0));
下1:=if(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc
,min(close,ref(close,1)),max(close,ref(close,1)));
下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
,min(close,ref(close,1)),max(close,ref(close,1)));
下3:=if(var19,min(ref(close,1),ref(close,2)),max(ref(close,1),ref(close,2)));
下4:=if(var1a,min(ref(close,1),ref(close,2)),max(ref(close,1),ref(close,2)));
上:max(max(上1,上2),max(上3,上4)),nodraw;
中:=中1,nodraw;
下:min(min(下1,下2),min(下3,下4)),nodraw;
if(boll<ref(boll,1),ub,drawnull),colorcyan,dotline;
if(boll>ref(boll,1),ub,drawnull),colorred,dotline;
if(boll<ref(boll,1),boll,drawnull),colorcyan,linethick2;
if(boll<ref(boll,1),lb,drawnull),colorcyan,dotline;
if(boll>ref(boll,1),boll,drawnull),colorred,linethick2;
if(boll>ref(boll,1),lb,drawnull),colorred,dotline;
//{涨停回马枪:}
涨停:=if((c-ref(c,1))*100/ref(c,1)>=(10-0.01*100/ref(c,1)),1,0);
均价线:=amount/vol,nodraw;
绿:ref(均价线,barslast(涨停)),color80ff80,nodraw;
红:ref((o+c)/2,barslast(涨停)),color0000ff,nodraw;
灰:ref(l,barslast(涨停)),color808080,nodraw;
波动系数1:=if(range(上,8,8*2),0.03*2,if(range(上,8*2+0.01,8*3),0.03*3,
if(range(上,(8*3+0.01),8*4),0.03*4,if(上<8,0.03,0.03*5))));
波动系数2:=if(range(下,8,8*2),0.03*2,if(range(下,8*2+0.01,8*3),0.03*3,
if(range(下,(8*3+0.01),8*4),0.03*4,if(下<8,0.03,0.03*5))));
三平底:=count(abs(下-ref(下,1))<=波动系数2,2)=2 and var19;
三平顶:=count(abs(上-ref(上,1))<=波动系数1,2)=2 and var1a;
drawtext(三平顶, 上+0.02,'顶'),colorblue;
drawtext(三平底,下*0.995,'底'),colormagenta;//{此段显示文字提示};
一穿三:=ma1>o and ma2>o and ma3>o and ma1<c and ma2<c and ma3<c and close>open;
//标志1:=if(var1a and exist(abs(下-上)<=2,3),1,0);
//total:=if(period=1,5,if(period=2,15,if(period=3,30,if(period=4,60,if(period=5,240,1)))));
//mtime:=mod(fromopen,total);
//ctime:=if(mtime<0.5,total,mtime);
//vvol:=if(currbarscount=1,vol*total/ctime,drawnull),nodraw;
volume:=vol,volstick;
mavol1:=ma(volume,5);
mavol2:=ma(volume,10);
drawtext(abs(下-上)<=0.02 and volume>mavol1 and volume>mavol2
and close>open,下*0.99,'买'),colorred;
条件1:=if(c<ref(c,1) and volume<mavol1,1,0);
条件2:= 下=ref(下,1) and o>ref(c,1) and c>ref(c,1);
//{drawtext(条件2,下*0.99,'买'),coloryellow;}
//{通达信超高成功率抄底选股指标公式(源码,副图)}
up:=sma(if(close>ref(close,1), close-ref(close,1),0),3,1);
dn:=sma(if (close<=ref(close,1),abs(close-ref(close,1)),0),3,1);
指标:=100*up/(up+dn);
强弱:=ema(指标,3),colorred;
平均:=ema(强弱,3),colorgreen;
var26:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
var28:=sma(var26,3,1);
散户:=sma(var28,3,1),colormagenta;
主力:=sma(散户,3,1), coloryellow;
var101:=(c+h+o+l)/4;
支撑:=ma(var101,30)*(1-100/1000);
底部率:=支撑/l*10,nodraw;
t1:=barslast(cross(50,平均));
t2:=barslast(cross(平均,50));
tt3:=barslast(cross(主力,ref(主力,1)));
tj1:=count(c>o,t1)=1 and c>o;
tj2:=count(平均>主力,t2-t1)=t2-t1 and 主力>ref(主力,tt3+1) and dynainfo(8)>0;
初选:=tj1 and tj2,nodraw;
烈火20天:=if(hhv(底部率,2)>10.3 and 初选,1,0);
drawtext(烈火20天,l,'抄底');
上穿布中:=cross(c,布中);
条件6:=exist(上穿布中,7) and c>=布中 and l<=布中 and ref(c,1)>=布中;
drawtext(条件6,下*0.99,'买'),coloryellow;
//条件7:=(cross(上,布中) or cross(上,前高) or cross(上,if(t3,e,e))) and (三平底 or 涨停) ;
//drawtext(条件7,下*0.99,'强'),coloryellow;
上一指标公式:主力趋势雷达财星指标公式详解 同花顺主力
下一指标公式:量柱成交量指标公式详解 同花顺成交量
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文宝塔布林指标公式详解 同花顺宝塔仅供学习研究。