私募机构研究
drawgbk(c,colorrgb(25,15,0),colorrgb(10,160,0),1);
收:=indexc;
开:=indexo;
高:=indexh;
低:=indexl;
var1:=year=1990 and month=12 and day=19;
var2:=barslast(var1);
var3:=if(var2>=0,ref(close,var2)*收/ref(收,var2),0);
var4:=if(var2>=0,开/收*var3,0);
var5:=if(var2>=0,高/收*var3,0);
var6:=if(var2>=0,低/收*var3,0);
stickline(var3>var4 or var3=var4 and var3>=ref(var3,1),var6,var5, 0.1, 0),color333399;
stickline(var3>var4 or var3=var4 and var3>=ref(var3,1),var3,var4,7,0),color333399;
x2:stickline(var3<var4 or var3=var4 and var3<ref(var3,1),var6,var5,0.1,0),color339933;
stickline(var3<var4 or var3=var4 and var3<ref(var3,1),var3,var4,7,0),color339933;
a:=c/6;
外轨上:=0.6*a+ema(c,20);
内轨上:=0.4*a+ema(c,20);
内轨下:=(-0.4*a)+ema(c,20);
外轨下:=(-0.6*a)+ema(c,20);
ar0:=ema(c,20);
强弱线:stickline(ar0>=ref(ar0,1),ar0,ar0,6,0),colormagenta;
stickline(ar0<ref(ar0,1),ar0,ar0,6,0),colorffffff;
ar1:="ezstock@is_lastbar";
drawtext(c>0 and ar1=1,0.5*a+ema(c,20),'←超买区'),coloryellow;
drawtext(c>0 and ar1=1,(-0.5*a)+ema(c,20),'←超卖区'),colorgreen;
超买区:stickline(c>0,外轨上,内轨上,0,0),colorbbbbbb;
超卖区:stickline(c>0,外轨下,内轨下,0,0),colorbbbbbb;
stickline(c>=o,c,o,8,0),color0022ff;
stickline(c>=o,h,l,1,0),color0022ff;
stickline(c>=o,c,o,5,0),color0066ff;
stickline(c>=o,c,o,3,0),color0099ff;
stickline(c>=o,c,o,1.5,0),color00ddff;
stickline(c>=o,h,l,0,0),color00ddff;
stickline(c<=o,c,o,8,0),colorff2200;
stickline(c<=o,h,l,1,0),colorff2200;
stickline(c<=o,c,o,5,0),colorff6600;
stickline(c<=o,c,o,3,0),colorff9900;
stickline(c<=o,c,o,1.5,0),colorffdd00;
stickline(c<=o,h,l,0,0),colorffdd00;
rsv1:=(c-llv(l,9))/(hhv(h,9)-llv(l,9));
rsv2:=(rsv1-0.5)/5*ema(c,20);
rsvk:=sma(rsv2,3,1);
rsvd:=sma(rsvk,3,1);
rsvj:=rsvk*3-rsvd*2;
k:rsvk+ema(c,20),colorwhite;
d:rsvd+ema(c,20),coloryellow;
j:rsvj+ema(c,20),colorred,linethick2;
zf:=(c/ref(c,4)-1)*100;
s:='z:'+numtostr(zf[sysparam(1)],2);
drawtext(barpos=sysparam(1),h,s) align4;
drawtext(sysparam(2)=barpos,c,'板块:'+blkname),colorccffff,align4;
dd:="xh-z.dd"(16);
gg:="xh-z.gg"(16);
z:=dd*l+gg*h;
gd:=gg+dd;
p:=sysparam(1);
sgd:=sum(gd,0);
gds:=sgd[p]-sgd+1;
sb:=if(gds<1,1,gds);
sa:=(sb<ref(sb,1))*sb;
hb:=hhv((sa=1)*barpos,0);
q:=hb[p];
wgd:=ref(barslast(gd),1)+1;
drawicon(gd,gg*h+dd*l,12);
hgd:=if(gg,h,if(dd,l,0));
lgd:=if(gg,ref(l,wgd),if(dd,ref(h,wgd),0));
yhl:=(hgd-lgd)/4;
oo:=cross(backset(q=barpos,wgd[q]+1),0.5);{画箱体横线}
drawline(oo,lgd[q]+2*yhl[q],q=barpos,lgd[q]+2*yhl[q],0),pointdot,colorffca95;
drawline(oo,lgd[q]+4*yhl[q],q=barpos,lgd[q]+4*yhl[q],0),pointdot,colorffca95;
drawline(oo,lgd[q],q=barpos,lgd[q],0),pointdot,colorffca95;
{画箱体竖线}
stickline(oo or q=barpos,lgd[q],hgd[q],0.01,0),pointdot,colorffca95;
{画斜线1}
qz:=(wgd[q]);
wdg:=sumbars(gd,2);
k1:=(lgd[q]-hgd[q])/qz*2,linethick0,color74afff;
g1:hgd[q]+(wdg-1)*k1,linethick0,color74afff;
drawsl(oo,hgd[q],k1,0,0),pointdot,color74afff;
k2:=(lgd[q]-hgd[q])/qz,linethick0,color74afff;
g2:hgd[q]+(wdg-1)*k2,linethick0,colorred;
drawsl(oo,hgd[q],k2,0,0),color74afff,linethick2;
k3:=(lgd[q]-hgd[q])/qz/2,linethick0,color74afff;
g3:hgd[q]+(wdg-1)*k3,linethick0,color74afff;
drawsl(oo,hgd[q],k3,0,0),pointdot,color74afff;
k4:=(lgd[q]-hgd[q])/qz/4,linethick0,color74afff;
g4:hgd[q]+(wdg-1)*k4,linethick0,color74afff;
drawsl(oo,hgd[q],k4,0,0),pointdot,color74afff;
//drawsl(oo,hgd[q],(lgd[q]-hgd[q])/qz*3,0,0),pointdot,color74afff;
//drawsl(oo,hgd[q],(lgd[q]-hgd[q])/qz*4,0,0),pointdot,color74afff;
//drawsl(oo,hgd[q],(lgd[q]-hgd[q])/qz*8,0,0),pointdot,color74afff;
{画斜线2}
i1:=(hgd[q]-lgd[q])/qz*2,linethick0,colorff6fb7;
d1:lgd[q]+(wdg-1)*i1,linethick0,colorff6fb7;
drawsl(oo,lgd[q],i1,0,0),pointdot,colorff6fb7;
i2:=(hgd[q]-lgd[q])/qz,linethick0,color74afff;
d2:lgd[q]+(wdg-1)*i2,linethick0,colorgreen;
drawsl(oo,lgd[q],i2,0,0),colorff6fb7,linethick2;
i3:=(hgd[q]-lgd[q])/qz/2,linethick0,colorff6fb7;
d3:lgd[q]+(wdg-1)*i3,linethick0,colorff6fb7;
drawsl(oo,lgd[q],i3,0,0),pointdot,colorff6fb7;
i4:=(hgd[q]-lgd[q])/qz/4,linethick0,colorff6fb7;
d4:lgd[q]+(wdg-1)*i4,linethick0,colorff6fb7;
drawsl(oo,lgd[q],i4,0,0),pointdot,colorff6fb7;
//drawsl(oo,lgd[q],(hgd[q]-lgd[q])/qz*3,0,0),pointdot,colorff6fb7;
//drawsl(oo,lgd[q],(hgd[q]-lgd[q])/qz*4,0,0),pointdot,colorff6fb7;
//drawsl(oo,lgd[q],(hgd[q]-lgd[q])/qz*8,0,0),pointdot,colorff6fb7;
f:=f>0 or (f=0 and c>ref(c,1));{画k线}
stickline(f,h,l,0.1,0),color5151ff;
stickline(f,c,o,8,1),color5151ff;
stickline(not(f),h,l,0.1,0)colorcyan;
stickline(not(f),o,c,8,0)colorcyan;
xk:='斜率k\n'+'k1\n'+'±'+numtostr(abs(k1)*100,3)+' \nk2\n'+'±'
+numtostr(abs(k2)*100,3)+' \nk3\n'+'±'+numtostr(abs(k3)*100,3)
+' \nk4\n'+'±'+numtostr(abs(k4)*100,3);
drawtext(barpos=sysparam(3)-5,h,xk),color74afff,align4;
上一指标公式:主力增减力度公式 飞狐主力力度指标 源码
下一指标公式:完全换手公式 飞狐换手指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文私募机构研究公式 飞狐机构研究指标 源码仅供学习研究。