布林线k线战法
本指标由布林极限改编,保留了原有风格,增加了中轴和划线,多空趋势一目了然。
mid : ma(close,nn),;
upper: mid + p*std(close,nn),linethick1;
lower: mid - p*std(close,nn),colorwhite,linethick1;
mms:=ma(sma((l+h+2*c)/4-ref((l+h+2*c)/4,1),5,1)/sma(abs((l+h+2*c)/4-ref((l+h+2*c)/4,1)),5,1)*100,1)+50;
g1:=if(-mms>95,0,20);
uoo:=(-(((close-llv(close,7))/(hhv(close,7)-llv(close,7))*100=100)>0 and g1)+1);
ks:=(((close - ema(close,13)) / ema(close,13)) * (0 - 100));
ks1:=if(barscount(c)=1,c/10000,(1-c/sma(c,13,1))*100);
趋势线:=ema(((ks / 10) + ema(close,10)),3);
aaa:=-100*(趋势线-close)/趋势线;
ac:=(ema(aaa,5) );
ssl:=ema(close,3);
mmv:=ema(((slope(close,22) * 20) + close),55);
mm:=ma(mmv,1);
sa:=(mm*0.985);
ss:=(ma(close,5));
{ dd:=(ma(close,13));}
gg:=(ma(close,21));
能量线:=dma(((close + open) / 2),(vol / (sma(vol,4,1) *4)));
上开:=o;
上收:=c;
上高:=h;
上低:=l;
jj:=(上开+上高+上低)/3;
abc:=ema(jj,4);
智能黄金线:=abc,colorwhite,linethick1,dotline;
买线:=c;
限制:=ema((((h+c)/2+l+(c+l)/2)/3-ema(llv(((h+c)/2+l+(c+l)/2)/3,89),2))/(ema(hhv (((h+c)/2+l+(c+l)/2)/3,21),2)-ema(llv(((h+c)/2+l+(c+l)/2)/3,89),2)),8)*100;
平衡:=sma(ema(sma((c+l)/2,3,1),3),5,1);
drawtext(filter(平衡>ref(平衡,1)and hhv(ma((h+c)/2,13),10)<ref(hhv(ma((h+c)/2,13),10),1)and((c+l)/2)>ref((c+l)/2,1),5)and 限制<88,l*0.98,' ------'),colorcyan;
typ:=(high+low+close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
cross(cci,-100);
a5:ma(close,5);
红轨道:=ma(ma(close,3),1),linethick1,coloryellow;
绿轨道:=ma(ma(close,3),3);
上升:if(红轨道>=绿轨道,绿轨道,drawnull),colorred,linethick2; aa1:=3*sma((c-llv(l,9))/(hhv(h,9)-llv(l,9))*100,3,1)-2*sma(sma((c-llv(l,9))/(hhv(h,9)-llv(l,9))*100,3,1),3,1);
加仓:=if(cross(aa1,ref(aa1+0.01,1)) and llv(aa1,2)=llv(aa1,8) and between(aa1,20,60),1,0);
波段底:=(3)*(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1)) - (2)*(sma(sma(((close - llv(low,27))/(hhv(high,27) - llv(low,27)))*(100),5,1),3,1));
typ:=(high+low+close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
cross(cci,-100);
var1:=ma(close,20);
布林极限:=100*(close-var1)/std(close,20);
布林k值:=ema(布林极限,10);
var2:=ema(布林极限,5);
var3:=ema(布林k值,5);
var4:=ema(hhv(high,500),21);
var5:=ema(hhv(high,250),21);
var6:=ema(hhv(high,90),21);
var7:=ema(llv(low,500),21);
var8:=ema(llv(low,250),21);
var9:=ema(llv(low,90),21);
vara:=ema((var7*0.96+var8*0.96+var9*0.96+var4*0.558+var5*0.558+var6*0.558)/6,21);
varb:=ema((var7*1.25+var8*1.23+var9*1.2+var4*0.55+var5*0.55+var6*0.65)/6,21);
varc:=ema((var7*1.3+var8*1.3+var9*1.3+var4*0.68+var5*0.68+var6*0.68)/6,21);
vard:=ema((vara*3+varb*2+varc)/6*1.738,21);
vare:=ref(low,1);
varf:=sma(abs(low-vare),3,1)/sma(max(low-vare,0),3,1)*100;
var10:=if(close*1.35<=vard,varf*10,varf/10);
var11:=ema(var10,3);
var12:=llv(low,30);
var13:=hhv(var11,30);
var14:=if(low<=var12,(var11+var13*2)/2,0);
var15:=ema(var14,3)/500-100;
var16:=0.2*var15;
var17:=1.2*var15;
var18:=(2*close+high+low)/4;
var19:=llv(low,34);
var1a:=hhv(high,34);
var1b:=(var18-llv(low,7))/(hhv(high,7)-llv(low,7))*100;
var1c:=ema(var1b,3);
var1d:=ema(var1c,3);
var1e:=ema((var18-var19)/(var1a-var19)*100,9);
var1f:=ema(0.667*ref(var1e,1)+0.333*var1e,3);
var20:=llv(high,240);
var21:=100*(close-var20)/var20;
var22:=hhv(high,240);
var23:=100*(var22-close)/close;
var24:=ref(hhv(close,60),1);
var25:=ref(llv(close,60),1);
var26:=100*(close-var25)/(var24-var25);
hz底:if(cross(var26,var21) and cross(布林极限,布林k值) and close>=open and var1e<=50 and var1f<=50
and var1c>=var1e and var1d>=var1f,260,0),stick,linethick6,color006600;
hz1底:if(cross(var26,var21) and cross(布林极限,布林k值) and close>=open and var1e<=50 and var1f<=50
and var1c>=var1e and var1d>=var1f,260,0),stick,linethick2,color009900;
hz2底:if(cross(var26,var21) and cross(布林极限,布林k值) and close>=open and var1e<=50 and var1f<=50
and var1c>=var1e and var1d>=var1f,260,0),stick,linethick1,color00ee00;
tz底:if(cross(ref(var26,1),ref(var21,1)) and cross(布林极限,布林k值) and close>=open and var1e<=50
and var1f<=50 and var1c>=var1e and var1d>=var1f,260,0),stick,linethick3,colorgreen;
stickline(布林极限>=布林k值,布林极限,布林k值,6,0),colormagenta;
stickline(布林极限<布林k值,布林k值,布林极限,8,0),color006600;
stickline(布林极限<布林k值,布林k值,布林极限,4,0),color009900;
stickline(布林极限<布林k值,布林k值,布林极限,1,0),color00ee00;
stickline(var2>=var3,var2,var3,6,0),colormagenta;
stickline(var2<var3,var3,var2,8,0),color006600;
stickline(var2<var3,var3,var2,4,0),color009900;
stickline(var2<var3,var3,var2,1,0),color00ee00;
stickline(cross(布林极限,布林k值),布林极限,布林k值,6,0),colormagenta;
stickline(布林极限>=170,布林极限,布林k值,8,0),color0055aa;
stickline(布林极限>=170,布林极限,布林k值,4,0),color0077cc;
stickline(布林极限>=170,布林极限,布林k值,1,0),color00bbff;
上一指标公式:九牛滑头指标公式详解 同花顺滑头
下一指标公式:MACD背离量柱指标公式详解 同花顺背离
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文布林线K线战法指标公式详解 同花顺战法仅供学习研究。