分型顶底主图源码下载:
重心线:(h+l+o+c*3)/6;
nx:=(3*close+low+open+high)/6;
牛线:(20*nx+19*ref(nx,1)+18*ref(nx,2)+17*ref(nx,3)+16*ref(nx,4)
+15*ref(nx,5)+14*ref(nx,6)+13*ref(nx,7)+12*ref(nx,8)+11*ref(nx,9)
+10*ref(nx,10)+9*ref(nx,11)+8*ref(nx,12)+7*ref(nx,13)+6*ref(nx,14)
+5*ref(nx,15)+4*ref(nx,16)+3*ref(nx,17) +2*ref(nx,18)+ref(nx,20))/210;
牛熊线:ma(牛线,6),colorgreen,linethick2;
顶:=bbi+3*std(bbi,13),color004aff;
底:=bbi-3*std(bbi,13),color67ff00;
ku1:=if(high=hhv(high,3),1,0);
kd1:=if(low=llv(low,3),1,0);
ul:=if(ref(ku1,2)=1 and ref(ku1,1)=0
and ku1=0,ref(high,2),ref(high,2+barslast(ref(ku1,2)=1
and ref(ku1,1)=0 and ku1=0)));
dl:=if(ref(kd1,2)=1 and ref(kd1,1)=0
and kd1=0,ref(low,2),ref(low,2+barslast(ref(kd1,2)=1
and ref(kd1,1)=0 and kd1=0)));
hv:=h>ul and h>ref(h,1);
lv:=l<dl and l<ref(l,1);
gp:=barslast(hv);
dp:=barslast(lv);
ip:=if(gp=0,dp,gp)>3;
hhv1:=hv and ip and h>=hhv(h,barslast(lv));
lv1:=lv and ip and l<=llv(l,barslast(hv));
v00:=high<ref(high,1) and low<ref(low,1);
v01:=high<ref(high,1) and low>ref(low,1);
v02:=high>ref(high,1) and low<ref(low,1);
v03:=high>ref(high,1) and low>ref(low,1);
v04:=ref(high,2)<high and ref(low,2)<low
and ref(high,2)>ref(high,1) and ref(low,2)<ref(low,1);
v1:=count(v00,6)>=3 and count(v01 or v02,5)=0 and llvbars(low,6)=1 and hhvbars(high,6)>=5 and v03;
v2:=count(v00,7)>=3 and count(v01 or v02,6)=1 and llvbars(low,7)=2 and hhvbars(high,7)>=6 and v04;
v3:=count(v00,7)>=3 and count(v01 or v02,6)=1 and llvbars(low,7)=1 and hhvbars(high,7)>=6 and v03;
v4:=count(v00,8)>=3 and count(v01 or v02,7)<=2 and llvbars(low,8)=2 and hhvbars(high,8)>=7 and v04;
v5:=count(v00,8)>=3 and count(v01 or v02,7)<=2 and llvbars(low,8)=1 and hhvbars(high,8)>=7 and v03;
v6:=count(v00,9)>=3 and count(v01 or v02,8)<=3 and llvbars(low,9)=2 and hhvbars(high,9)>=8 and v04;
v7:=count(v00,9)>=3 and count(v01 or v02,8)<=3 and llvbars(low,9)=1 and hhvbars(high,9)>=8 and v03;
v8:=count(v00,10)>=3 and count(v01 or v02,9)<=4 and llvbars(low,10)=2 and hhvbars(high,10)>=9 and v04;
v9:=count(v00,10)>=3 and count(v01 or v02,9)<=4 and llvbars(low,10)=1 and hhvbars(high,10)>=9 and v03;
v10:=count(v00,11)>=3 and count(v01 or v02,10)<=5 and llvbars(low,11)=2 and hhvbars(high,11)>=10 and v04;
xg:=v1 or v2 or v3 or v4 or v5 or v6 or v7 or v8 or v9 or v10;
hv00:=high>ref(high,1) and low>ref(low,1);
hv01:=high<ref(high,1) and low>ref(low,1);
hv02:=high>ref(high,1) and low<ref(low,1);
hv03:=high<ref(high,1) and low<ref(low,1);
hv04:=ref(high,2)>high and ref(low,2)>low and ref(high,2)>ref(high,1) and ref(low,2)<ref(low,1);{好公式网-最好的股票公式网站 www.goodgongshi.com}
hv1:=count(hv00,6)>=3 and count(hv01 or hv02,5)=0 and hhvbars(high,6)=1 and llvbars(low,6)>=5 and hv03;
hv2:=count(hv00,7)>=3 and count(hv01 or hv02,6)=1 and hhvbars(high,7)=2 and llvbars(low,7)>=6 and hv04;
hv3:=count(hv00,7)>=3 and count(hv01 or hv02,6)=1 and hhvbars(high,7)=1 and llvbars(low,7)>=6 and hv03;
hv4:=count(hv00,8)>=3 and count(hv01 or hv02,7)<=2 and hhvbars(high,8)=2 and llvbars(low,8)>=7 and hv04;
hv5:=count(hv00,8)>=3 and count(hv01 or hv02,7)<=2 and hhvbars(high,8)=1 and llvbars(low,8)>=7 and hv03;
hv6:=count(hv00,9)>=3 and count(hv01 or hv02,8)<=3 and hhvbars(high,9)=2 and llvbars(low,9)>=8 and hv04;
hv7:=count(hv00,9)>=3 and count(hv01 or hv02,8)<=3 and hhvbars(high,9)=1 and llvbars(low,9)>=8 and hv03;
hv8:=count(hv00,10)>=3 and count(hv01 or hv02,9)<=4 and hhvbars(high,10)=2 and llvbars(low,10)>=9 and hv04;
hv9:=count(hv00,10)>=3 and count(hv01 or hv02,9)<=4 and hhvbars(high,10)=1 and llvbars(low,10)>=9 and hv03;
hv10:=count(hv00,11)>=3 and count(hv01 or hv02,10)<=5 and hhvbars(high,11)=2 and llvbars(low,11)>=10 and hv04;
hxg:=hv1 or hv2 or hv3 or hv4 or hv5 or hv6 or hv7 or hv8 or hv9 or hv10;
底分型:filter(xg=1,5) and 重心线<10.5 and 牛线<12 and 牛熊线<10.2,coloryellow,nodraw;
顶分型:filter(hxg=1,3),nodraw;
drawband(bbi,rgb(97,95,00),顶,rgb(97,95,00));
drawband(bbi,rgb(25,75,150),底,rgb(25,75,250));
stickline(close>ref(close,1),high,low,0,1),colorred;
stickline(close>ref(close,1),open,close,3,0),color000055;
stickline(close>ref(close,1),open,close,2.7,0),color000077;
stickline(close>ref(close,1),open,close,2.1,0),color000099;
stickline(close>ref(close,1),open,close,1.5,0),color0000bb;
stickline(close>ref(close,1),open,close,0.9,0),color0000dd;
stickline(close>ref(close,1),open,close,0.3,0),color0000ff;
stickline(close=ref(close,1),high,low,0,1),colorwhite;
stickline(close=ref(close,1),open,close,3,0),color555555;
stickline(close=ref(close,1),open,close,2.7,0),color777777;
stickline(close=ref(close,1),open,close,2.1,0),color999999;
stickline(close=ref(close,1),open,close,1.5,0),colorbbbbbb;
stickline(close=ref(close,1),open,close,0.9,0),colordddddd;
stickline(close=ref(close,1),open,close,0.3,0),colorffffff;
stickline(close<ref(close,1),high,low,0,1),colorcyan;
stickline(close<ref(close,1),open,close,3,0),color990000;
stickline(close<ref(close,1),open,close,2.7,0),colorcc0000;
stickline(close<ref(close,1),open,close,2.1,0),colorff4400;
stickline(close<ref(close,1),open,close,1.5,0),colorff8800;
stickline(close<ref(close,1),open,close,0.9,0),colorffcc00;
stickline(close<ref(close,1),open,close,0.3,0),colorcyan;
drawtext(filter(xg=1,5) and 重心线<10.5 and 牛线<12 and 牛熊线<10.2,l*0.97,'底分型'),coloryellow;
drawtext(filter(hxg=1,3),h*1.02,'顶分型');
上一指标公式:震仓线抄底抓牛股下载
下一指标公式:赚钱门路主图下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分型顶底主图下载仅供学习研究。