参数 x 2008 1990 2020
input:x(2008,1990,2020); 换手率:if(capital=0,indexv/estdata(12),vol/finance(7)),precision2,linethick0;
variable:wday[7]='星期六';wday[1]:='星期日';wday[2]:='星期一';
wday[3]:='星期二';wday[4]:='星期三';wday[5]:='星期四';wday[6]:='星期五';
fy:=year;fm:=month;fd:=day;wd:=weekday;p:=sysparam(1);bb:=barpos;
str1:=''+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日 '+wday[wd[p]+1];
sj:=openminutes(currenttime)>1 and openminutes(currenttime)<239;
qj0:=vol/if(high=low,4,high-low);jj:=(high+low+close)/3;
特大:if(capital=0,qj0*(jj-min(close,open)),qj0*if(high=low,1,(min(open,close)-low))),precision0,color0000ff,linethick;
大户:if(capital=0,qj0*(min(open,close)-low),qj0*if(high=low,1,(jj-min(close,open)))),precision0,colorff00ff,linethick;
中户:if(capital=0,qj0*(high-max(open,close)),qj0*if(high=low,1,(high-max(open,close)))),precision0,color00ff00,linethick;
散户:if(capital=0,qj0*(max(close,open)-jj),qj0*if(high=low,1,(max(close,open)-jj))),precision0,colorff6600,linethick;
总1:=(特大+大户)-(中户+散户);总:=vol;
ww:=sysparam(2);n1:=sysparam(3);nn:=n1-ww+1;hh:=hhv(总,nn);ll:=llv(总,nn);
zg:=hh[n1];zd:=ll[n1];中0:=zd+(zg-zd)*0.5;中:=中0*0.05;cm:=sum(总1,25);
zj:=ref(总1,1);zsb:=(总1-ref(总1,1))/总*100;
zsa:=cm/if(stktype=0,sum(vol,25),if(stktype=13,sum(vol,10),capital));
cc:=ref(close,barslast(fm>ref(fm,1)));主力成本:=(cc*(特大+大户)*100)/(特大+大户)/100;
df1:=ema(close,12)-ema(close,26);da1:=ema(df1,9);
qj6:=df1>da1 and da1<0;qj7:="kdj.k">"kdj.d" and "kdj.d"<30;
qj8:=df1<da1;qj9:="kdj.k"<"kdj.d" and "kdj.k">80;
w1:=sum(大户,5)+sum(特大,5);w2:=sum(散户,5)+sum(中户,5);
量振1:=特大>大户 and 大户>散户;量振2:=特大<散户 and 大户<散户;
标振1:=qj6 and qj7;标振2:=qj8 and qj9;
a:=w1-w2;a0:=if(a>0,a,0);b0:=if(a<0,a,0);
stickline(总1<0,0,-总1+总/2,8,0),colorff4400;stickline(总1<0,0,-总1+总/2,6,0),colorff8800;
stickline(总1<0,0,-总1+总/2,3,0),colorffaa00;stickline(总1<0,0,-总1+总/2,1,0),colorffcc00;
stickline(总1>0,0,+总1+总/2,8,0),color000044;stickline(总1>0,0,+总1+总/2,6,0),color000088;
stickline(总1>0,0,+总1+总/2,3,0),color0000aa;stickline(总1>0,0,+总1+总/2,1,0),color0000cc;
stickline(a0,0,a0,8,0),color000044;stickline(a0,0,a0,5,0),color000088;
stickline(a0,0,a0,3,0),color0000aa;stickline(a0,0,a0,1,0),color0000cc;
stickline(b0,0,-b0,8,0),color004400;stickline(b0,0,-b0,5,0),color008800;
stickline(b0,0,-b0,3,0),color00aa00;stickline(b0,0,-b0,1,0),color00cc00;
stickline(bb=ww,中*0.2,中*9.2,(散户[p]/总*200)*1.02,1),colorwhite,linethick2;
stickline(bb=ww,中*0.8,中*8.6,散户[p]/总*200,0),colorff8800;
stickline(bb=ww,中*10.2,中*19.2,(中户[p]/总*200)*1.02,1),colorwhite,linethick2;
stickline(bb=ww,中*10.8,中*18.6,中户[p]/总*200,0),colorff00ff;
stickline(bb=ww,中*20.2,中*29.2,(大户[p]/总*200)*1.02,1),colorwhite,linethick2;
stickline(bb=ww,中*20.8,中*28.6,大户[p]/总*200,0),color0088ff;
stickline(bb=ww,中*30.2,中*39.2,(特大[p]/总*200)*1.02,1),colorwhite,linethick2;
stickline(bb=ww,中*30.8,中*38.6,特大[p]/总*200,0),color0000ff;
stickline(bb=ww-28,中*-0.2,中*40,500,0),color000000;
drawtextex(close,1,420,0,str1),colorffff00;
drawtextex(close,1,200,0,stklabel+' '+stkname+''),colorffff00;
drawtext(bb=ww,中*36,'特大:'+numtostr(特大[p]/总*100,2)+' %'),color00ff00;
drawtext(bb=ww,中*26,'大户:'+numtostr(大户[p]/总*100,2)+' %'),color00ff00;
drawtext(bb=ww,中*16,'中户:'+numtostr(中户[p]/总*100,2)+' %'),color00ff00;
drawtext(bb=ww,中*6,'散户:'+numtostr(散户[p]/总*100,2)+' %'),color00ff00;
周趋势:ma(a0,5),colorff00ff,precision0;
平滑值:wma(周趋势,5),color00ff00,precision0;
买:量振1 and 标振1 and 周趋势>平滑值,color0000ff,linethick;
卖:量振2 and 标振2 and 周趋势<平滑值,color00ff00,linethick;
vertline(买),colorff00ff,pointdot;
vertline(卖),color00ff00,pointdot;
drawtextex(close,1,200,130,'主力成本:'+numtostr(主力成本[p],2)),color00ff00;
drawtextex(close,1,420,130,'主力筹码占流通:'+numtostr(if(zsa>0,zsa[p]*100,0),2)+' %'),color00ff00;
drawtextex(close,1,720,130,'较昨日增减:'+numtostr(zsb[p],2)+' %'),color00ff00;
drawtextex(c and 总1[p]<0,1,720,0,'散户主买 主力主卖'),colorffee00;
drawtextex(c and 总1[p]>0,1,720,0,'主力主买 散户主卖'),color0000ff;
周仓:=sum(总1,5);月仓:=sum(总1,25);年仓:=sum(总1,240);上周:=ref(周仓,1);上月:=ref(月仓,1);
上年:=ref(年仓,barslast(fy=x));周增:=周仓-上周;月增:=月仓-上月;年增:=年仓-上年;
explain(1,'***【好公式网=**=www.goodgongshi.com】***'),color00eeff;
explain(1,'==================================='),colorwhite;
explain(1,'今日增减:'+numtostr((总1[p]*100)/10000,2)+' 万股'),colorffff00;
explain(1,'昨日增减:'+numtostr(zj[p]*100/10000,2)+' 万股'),colorff8b00;
explain(1,'==================================='),colorwhite;
explain(1,'周仓:'+numtostr(周仓[p]*100/10000,2)+' 万股'),colorred;
explain(1,'上周:'+numtostr(上周[p]*100/10000,2)+' 万股'),colorred;
explain(1,'增减:'+numtostr(周增[p]*100/10000,2)+' 万股'),colorred;
explain(1,'==================================='),colorwhite;
explain(1,'月仓:'+numtostr(月仓[p]*100/10000,2)+' 万股'),colorff00ff;
explain(1,'上月:'+numtostr(上月[p]*100/10000,2)+' 万股'),colorff00ff;
explain(1,'增减:'+numtostr(月增[p]*100/10000,2)+' 万股'),colorff00ff;
explain(1,'==================================='),colorwhite;
explain(1,'年仓:'+numtostr(年仓[p]*100/10000,2)+' 万股'),color00ee00;
explain(1,'上年:'+numtostr(上年[p]*100/10000,2)+' 万股'),color00ee00;
explain(1,'增减:'+numtostr(年增[p]*100/10000,2)+' 万股'),color00ee00;
explain(1,'==================================='),colorwhite;
上一指标公式:富贵满堂主图附用法说明公式下载 飞狐满堂公式指标 源码
下一指标公式:底部黑马附图用了效果不错公式下载 飞狐黑马指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文红帆资金附公式下载 飞狐资金指标 源码仅供学习研究。