好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式分类-公式 飞狐源码指标 源码

分类-公式 飞狐源码指标 源码

  • 指标公式类型:飞狐公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-09-29 13:31:14
  • 指标公式标签:
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:分类-公式 飞狐源码指标 源码

drawgbk(1,colorrgb(265,0,0),colorrgb(265,285,0),0);
if marketlabel<>'sh' then
drawtextex(close,1,5,20,''+stklabel),colorffff;
p:=sysparam(1);
a2:=sysparam(2);
a3:=sysparam(3);
ks:=sysparam(3)-sysparam(2);
z:=ks/140;
w1:=round(70*z);
vertline(barpos=a2+round(42*z)),colorff00ff;
vertline(barpos=a2+round(68*z)),colorff00ff;
总股本:=capital;
基数:=capital/5000000;
基准股:=总股本*0.1;
drawtext(barpos=a2+round(5*z),-4,'区间分类:'),align0,colorffff;
drawtext(barpos=a2+round(74*z),-4,'0.1万'),align0,colorff;
drawtext(barpos=a2+round(82*z),-4,'1万'),align0,colorff;
drawtext(barpos=a2+round(90*z),-4,'5万'),align0,colorff;
drawtext(barpos=a2+round(98*z),-4,'10万'),align0,colorff;
drawtext(barpos=a2+round(106*z),-4,'50万'),align0,colorff;
drawtext(barpos=a2+round(112*z),-4,'100万'),align0,colorff;
drawtext(barpos=a2+round(120*z),-4,'500万'),align0,colorff;
drawtext(barpos=a2+round(129*z),-4,'1000万'),align0,colorff;
drawtext(barpos=a2+round(138*z),-4,'1000万以上'),align0,colored;
xx:=a3-p;
kdcm:=100*winner(ref(close,xx));
shtl:=100*(1-winner(ref(close,xx)));
ddcm:=ema(100*winner(ref(close,xx)),13);
总:=总股本;
券基:=ddcm*总*0.003+kdcm*总*0.004;
普通:=shtl*总*0.008,linethick0;
法人:=abs(总-券基-普通);
虚拟总:=券基+普通+法人;
券基户数:=intpart(abs(ddcm)*基数*0.008);
法人户数:=intpart(abs(kdcm)*基数*0.02);
普通户数:intpart(shtl*20*基数),linethick0;
总户数:=券基户数+法人户数+普通户数;
stickline(barpos=a2+round(62*z),20,20*(券基/虚拟总)+20,15,0),colorff;
stickline(barpos=a2+round(56*z),20,20*(法人/虚拟总)+20,15,0),colorffff;
stickline(barpos=a2+round(48*z),20,20*(普通/虚拟总)+20,15,0),colorff00;
drawtext(barpos=a2+round(62*z),-4,'券基'),align0,colorff;
drawtext(barpos=a2+round(56*z),-4,'法人'),align0,colorffff;
drawtext(barpos=a2+round(48*z),-4,'普通'),align0,colorff00;
drawtext(barpos=a2+round(62*z),6,numtostr(券基户数,0)),align0,colorffffff;
drawtext(barpos=a2+round(56*z),6,numtostr(法人户数,0)),align0,colorffffff;
drawtext(barpos=a2+round(48*z),6,numtostr(普通户数,0)),align0,colorffffff;
drawtext(barpos=a2+round(62*z),15,numtostr(券基,0)),align0,colorff;
drawtext(barpos=a2+round(56*z),15,numtostr(法人,0)),align0,colorffff;
drawtext(barpos=a2+round(48*z),15,numtostr(普通,0)),align0,colorff00;
特大:=max(ddcm,0)*总*0.009,linethick0;
大户:=kdcm*总*0.003+ddcm*总*0.001;
小股民:=shtl*总*0.008;
中户:=abs(总-特大-大户-小股民);
特大比:特大/小股民,linethick0;
小股民比:小股民/特大,linethick0;
zz:=特大+大户+小股民+中户;
户数过渡:=rand(20);
特大户数:=abs(券基户数-户数过渡);
大户户数:=法人户数+户数过渡;
中户户数:=2*户数过渡;
小股民户数:=普通户数;
stickline(barpos=a2+round(36*z),20,20*(特大/zz)+20,15,0),colorff;
stickline(barpos=a2+round(29*z),20,20*(大户/zz)+20,15,0),colorffff;
stickline(barpos=a2+round(22*z),20,20*(中户/zz)+20,15,0),colorff00;
stickline(barpos=a2+round(15*z),20,20*(小股民/zz)+20,15,0),color18a4ff;
drawtext(barpos=a2+round(36*z),-4,'特大'),align0,colorff;
drawtext(barpos=a2+round(29*z),-4,'大户'),align0,colorffff;
drawtext(barpos=a2+round(22*z),-4,'中户'),align0,colorff00;
drawtext(barpos=a2+round(15*z),-4,'小股民'),align0,color18a4ff;
drawtext(barpos=a2+round(36*z),6,numtostr(特大户数,0)),align0,colorffffff;
drawtext(barpos=a2+round(29*z),6,numtostr(大户户数,0)),align0,colorffffff;
drawtext(barpos=a2+round(22*z),6,numtostr(中户户数,0)),align0,colorffffff;
drawtext(barpos=a2+round(15*z),6,numtostr(小股民户数,0)),align0,colorffffff;
drawtext(barpos=a2+round(36*z),15,numtostr(特大,0)),align0,colorff;
drawtext(barpos=a2+round(29*z),15,numtostr(大户,0)),align0,colorffff;
drawtext(barpos=a2+round(22*z),15,numtostr(中户,0)),align0,colorff00;
drawtext(barpos=a2+round(15*z),15,numtostr(小股民,0)),align0,color18a4ff;
a1k:=shtl*总*0.008+基准股*0.5+ddcm*总*0.001;
a1w:=shtl*总*0.004+基准股*0.7+ddcm*总*0.002;
a5w:=shtl*总*0.002+基准股*0.9+ddcm*总*0.002;
a10w:=基准股*0.15+kdcm*总*0.0002;
a50w:=基准股*0.3+kdcm*总*0.0001;
a100w:=基准股*0.1+kdcm*总*0.0001;
a500w:=ddcm*总*0.01+kdcm*总*0.0001;
a1000w:=ddcm*总*0.02+kdcm*总*0.0002;
a1000wp:=ddcm*总*0.05,linethick0;
总价:=a1k+a1w+a5w+a10w+a50w+a100w+a500w+a1000w+a1000wp,linethick0;
b1000w:=a1000w/总价*100,linethick0;
b1000wp:a1000wp/总价*100,linethick0;
b1k:(a1k/总价)*100,linethick0;
{特大比:b1000wp/b1k,linethick0;
小股民比:b1k/b1000wp,linethick0;}

stickline(barpos=a2+round(74*z),20,20*(a1k/总价)+20,15,0),colorffffff;
stickline(barpos=a2+round(82*z),20,20*(a1w/总价)+20,15,0),color18a4ff;
stickline(barpos=a2+round(90*z),20,20*(a5w/总价)+20,15,0),colorffff;
stickline(barpos=a2+round(98*z),20,20*(a10w/总价)+20,15,0),colorff00;
stickline(barpos=a2+round(106*z),20,20*(a50w/总价)+20,15,0),colorffff00;
stickline(barpos=a2+round(112*z),20,20*(a100w/总价)+20,15,0),colorffa826;
stickline(barpos=a2+round(120*z),20,20*(a500w/总价)+20,15,0),colorff69b4;
stickline(barpos=a2+round(129*z),20,20*(a1000w/总价)+20,15,0),color9732f6;
stickline(barpos=a2+round(137*z),20,20*(a1000wp/总价)+20,15,0),colorff;
fillrgn(close,-7,-7-0.01);
drawtext(barpos=a2+round(74*z),12,numtostr(a1k,0)),align0,colorff;
drawtext(barpos=a2+round(82*z),12,numtostr(a1w,0)),align0,colorff0000;
drawtext(barpos=a2+round(90*z),12,numtostr(a5w,0)),align0,colorff00;
drawtext(barpos=a2+round(98*z),12,numtostr(a10w,0)),align0,colorffff;
drawtext(barpos=a2+round(106*z),12,numtostr(a50w,0)),align0,color808080;
drawtext(barpos=a2+round(114*z),12,numtostr(a100w,0)),align0,colorff00;
drawtext(barpos=a2+round(122*z),12,numtostr(a500w,0)),align0,colorff00;
drawtext(barpos=a2+round(130*z),12,numtostr(a1000w,0)),align0,colorff;
drawtext(barpos=a2+round(137*z),12,numtostr(a1000wp,0)),align0,colorff;
drawtext(barpos=a2+round(5*z),25,'分类持仓%:'),align0,colorffff;
drawtext(barpos=a2+round(74*z),18,numtostr(a1k/总价*100,2)+'%'),align0,colorffffff;
drawtext(barpos=a2+round(82*z),18,numtostr(a1w/总价*100,2)+'%'),align0,color18a4ff;
drawtext(barpos=a2+round(90*z),18,numtostr(a5w/总价*100,2)+'%'),align0,colorffff;
drawtext(barpos=a2+round(98*z),18,numtostr(a10w/总价*100,2)+'%'),align0,colorff00;
drawtext(barpos=a2+round(106*z),18,numtostr(a50w/总价*100,2)+'%'),align0,colorffff00;
drawtext(barpos=a2+round(112*z),18,numtostr(a100w/总价*100,2)+'%'),align0,colorffa826;
drawtext(barpos=a2+round(121*z),18,numtostr(a500w/总价*100,2)+'%'),align0,colorff69b4;
drawtext(barpos=a2+round(129*z),18,numtostr(a1000w/总价*100,2)+'%'),align0,color9732f6;
drawtext(barpos=a2+round(137*z),18,numtostr(a1000wp/总价*100,2)+'%'),align0,colorff;
drawtext(barpos=a2+round(5*z),6,'参数:'),align0,colorffff;
variable:wday[7]='星期六';
wday[1]:='星期日';
wday[2]:='星期一';
wday[3]:='星期二';
wday[4]:='星期三';
wday[5]:='星期四';
wday[6]:='星期五';
fy:=year;
fm:=month;
fd:=day;
wd:=weekday;
str1:=''+' '+numtostr(fy[p],0)+'年'+numtostr(fm[p],0)+'月'+numtostr(fd[p],0)+'日 '+wday[wd[p]+1]+' '+' ';
drawtextex(close,1,680,0,''+str1);
drawtextex(close,1,880,0,' '),colorff;


分类-(源码)

  >>>使用本站搜索工具可以找到更多分类-公式 飞狐源码指标 源码

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文分类-公式 飞狐源码指标 源码仅供学习研究。

猜你喜欢

学了又学