bshx源码下载:
含有未来函数,含有未来函数,含有未来函数,重要的事情说三遍
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1),nodraw;
d:=sma(k,3,1),nodraw;
j:=3*k-2*d,nodraw;
j_llv5:=llv(j,5),nodraw;
j_k_dif:=j-k,nodraw;
kdj_con:=j_llv5<10 and j_k_dif>-1,nodraw;
dif:=100*(ema(close,12)-ema(close,26)),nodraw;
dea:=ema(dif,9),nodraw;
macd:=(dif-dea)*2,nodraw;
macd_inc:=macd-ref(macd,1),nodraw;
dif_inc:=dif-ref(dif,1),nodraw;
dea_inc:=dea-ref(dea,1),nodraw;
macd_con:=macd_inc>0 and dif_inc>-0.1,nodraw;
a11:=if(c>o and v>ref(v,1),2,0);
a12:=if(c>o and v<ref(v,1),1,0);
a13:=if(c<o and v>ref(v,1),-2,0);
a14:=if(c<o and v<ref(v,1),-1,0);
a15:=a11+a12+a13+a14;
add_sum5:=sum(a15,5);
add_sum5_llv4:=llv(add_sum5,4),nodraw;
add_con:=add_sum5_llv4<-3.5,nodraw;
var1:=ema(hhv(high,500),21);
var2:=ema(hhv(high,250),21);
var3:=ema(hhv(high,90),21);
var4:=ema(llv(low,500),21);
var5:=ema(llv(low,250),21);
var6:=ema(llv(low,90),21);
var7:=ema((var4*0.96+var5*0.96+var6*0.96+var1*0.558+var2*0.558+var3*0.558)/6,21);
var8:=ema((var4*1.25+var5*1.23+var6*1.2+var1*0.55+var2*0.55+var3*0.65)/6,21);
var9:=ema((var4*1.3+var5*1.3+var6*1.3+var1*0.68+var2*0.68+var3*0.68)/6,21);
vara:=ema((var7*3+var8*2+var9)/6*1.738,21);
varb:=ref(low,1);
varc:=sma(abs(low-varb),3,1)/sma(max(low-varb,0),3,1)*100;
vard:=ema(if(close*1.35<=vara,varc*10,varc/10),3);
vare:=llv(low,30);
varf:=hhv(vard,30);
var10:=if(ma(close,58),1,0);
cap_vir:=ema(if(low<=vare,(vard+varf*2)/2,0),3)/618*var10,nodraw;
cap_hhv4:=hhv(cap_vir,4),nodraw;
cap_sum10:=sum(cap_vir,10),nodraw;
cap_con:=cap_hhv4>20 and cap_sum10>20,nodraw;
var_am:=amount/((high-low)*2-abs(close-open));
in_am:=if(close>open,var_am*(high-low),if(close<open,var_am*((high-open)+ (close-low)),amount/2))/100000000;
out_am:=if(close>open,0-var_am*((high-close)+(open- low)),if(close<open,0-var_am*(high-low),0-amount/2))/100000000;
net_am:=in_am+out_am,nodraw;
net_am_sum5:=sum(net_am,5),nodraw;
net_am_sum5_inc:=net_am_sum5-ref(net_am_sum5,1),nodraw;
net_am_sum5_con:=net_am_sum5>-0.05 or net_am_sum5_inc>5,nodraw;
net_con:=net_am>0 and net_am_sum5_con=1,nodraw;
ma10:=ma(c,10),nodraw;//www.goodgongshi.com
ma10_inc:=200*(ma10-ref(ma10,1))/(ma10+ref(ma10,1));
ema10:=ema(c,10),nodraw;
ema10_inc:=200*(ema10-ref(ema10,1))/(ema10+ref(ema10,1));
ema30:=ema(c,30),nodraw;
ema30_inc:=200*(ema30-ref(ema30,1))/(ema30+ref(ema30,1));
ema10_con:=ema10_inc>-1.2,nodraw;
buy1_con:=(kdj_con and macd_con and add_con and cap_con and net_con and ema10_con),colorred;
buy1:=hhv(filter(buy1_con,3),8) and ema10_inc>-0.6;
bb1:=filter(buy1,9),colorred;
date_buy1:=hhvbars(bb1,120),nodraw;
cap_con2:=cap_sum10/ref(cap_sum10,date_buy1)>2;
buy2_con:=cap_con2 and ema10_con,colormagenta;
buy2:=hhv(filter(buy2_con,30),20) and ema10_inc>-0.6;
bb2:=filter(buy2,21),colormagenta;
varx3:=llv(high,240);
varx4:=100*(close-varx3)/varx3;
varx5:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;
varx6:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;
varx8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;
varx9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;
varxa:=barscount(close);
varxb:=varx8<20 and varx9<23 and varxa>35;
varxc:=varxb and count(varxb,1)=1;
varxd:=ema(close,21)-ema(close,8);
varxe:=ema(varxd,5);
varxf:=troughbars(3,6,1)<4 and cross(varxd,varxe);
varx10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
varx11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
varx12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
varx13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
varx14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
varx15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
varx16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
varx17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
varx18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
varx19:=ema(close,2)-ema(close,150);
varx1a:=ema(varx19,100);
varx1b:=2*(varx19-varx1a);
varx1c:=pow(varx1b,3)*0.1+pow(varx1b,1);
varx1d:=sqrt(sqrt(low*high*open*close));
varx1e:=ema(varx1d*0.97,3);
varx1f:=(high+low+close)/3;
varx20:=(varx1f-ma(varx1f,14))/(0.015*avedev(varx1f,14));
varx21:=cross(varx1e,low);
s_buy:varx10,colorblue;
c_buy:(varx11+varx13+varx15+varx17),colorred;
c_sell:(varx12+varx14+varx16+varx18),colorgreen;
hm:(varx17),colorff00aa;
drawtext(varx13,0.6,'●'),colorred;
drawicon(c_buy,c_buy,1);
drawicon(c_sell,c_sell,9);
drawicon(s_buy>0,4.2,1);
drawtext(s_buy and varxf and varxc,2.8,'30percent'),colormagenta;
drawtext(varx18,3,'nl'),colorgreen;
drawtext(varx20<-110 and s_buy>0,2,'sel'),colorblue;
drawtext(varx17,1.3,'hm'),colorff00aa;
drawtext(s_buy and varx20<-100 and varxf and varxc>0,4.1,'good profit'),colorred;
d_buy:=hhvbars(c_buy>0,240),nodraw;
d_sell:=hhvbars(c_sell>0,240),nodraw;
b1:4*(bb1 and d_buy<d_sell),colorred;
b2:4*(bb2 and d_buy<d_sell),colormagenta;
drawtext(b1=4,4,'b'),colorred;
drawtext(b2=4,4,'b'),colormagenta;
b12:=b1 or b2 or c_buy>2 or hm;
d1_b12:=hhvbars(b12,0),nodraw;
macd_hhv_b12:=if(d1_b12,hhv(macd,d1_b12),drawnull),nodraw;
s1_con:=(macd<macd_hhv_b12) or barscount(c)=0,nodraw;
d1_s1:=hhvbars(s1_con,0),nodraw;
s1_hhv_b12:=if(d1_s1,hhv(s1_con,d1_b12),drawnull),nodraw;
s1_con_f:=s1_con and (ref(d1_b12,1)<ref(d1_s1,1)),colorliblue;
stickline(s1_con_f,2,0,2,1),colorlicyan;
drawtext(s1_con_f,1,'s1'),colorlicyan;
s1_con_cap:=cap_sum10<ref(cap_sum10,d1_b12),nodraw;
s1:3.5*((s1_con_f and ma10_inc<0 and s1_con_cap) or (s1_con_f and dea_inc<0)),colorgreen;
drawtext(s1=3.5,3.5,'s1'),colorgreen;
d1_b12_2:=hhvbars(s1_con_f,0),nodraw;
dea_hhv_b12:=if(d1_b12_2,hhv(dea,d1_b12_2),drawnull),nodraw;
s2_con_:=(dea<dea_hhv_b12) or barscount(c)=0,nodraw;
d1_s2:=hhvbars(s2_con_,0),nodraw;
s2_hhv_b12:=if(d1_s2,hhv(s2_con_,d1_b12_2),drawnull),nodraw;
s2_con:=s2_con_ and (ref(d1_b12_2,1)<ref(d1_s2,1)),colorliblue;
stickline(s2_con,2,0,2,1),colorlicyan;
drawtext(s2_con,1,'s2'),colorlicyan;
s2:3.5*(s2_con and ema30_inc<0),colorgreen;
drawtext(s2=3.5,3.5,'s2'),colorgreen;
d1_b12_3:=hhvbars(s2_con,0),nodraw;
ema30_hhv_b12:=if(d1_b12_3,hhv(ema30,d1_b12_3),drawnull),nodraw;
s3_con_:=(ema30<ema30_hhv_b12) or barscount(c)=0,nodraw;
d1_s3:=hhvbars(s3_con_,0),nodraw;
s3_hhv_b12:=if(d1_s3,hhv(s3_con_,d1_b12_3),drawnull),nodraw;
s3_con:=s3_con_ and (ref(d1_b12_3,1)<ref(d1_s3,1)),colorliblue;
stickline(s3_con,2,0,2,1),colorlicyan;
drawtext(s3_con,1,'s3'),colorlicyan;
s3:3.5*s3_con,colorgreen;
drawtext(s3=3.5,3.5,'s3'),colorgreen;
s3_:=filter((s3_con=0 and ema30_inc<0 and ref(ema30_inc,1)>0),20);
stickline(s3_,2,0,2,1),colorligreen;
drawtext(s3_,0.5,'s3_'),colorligreen;
上一指标公式:壮牛机构拉升筹码下载
下一指标公式:个股顺势操作下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文BSHX下载仅供学习研究。