好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式乘风换手VOL优化-好看实用副图公式 飞狐换手优化指标 源码

乘风换手VOL优化-好看实用副图公式 飞狐换手优化指标 源码

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:乘风换手VOL优化-好看实用副图公式 飞狐换手优化指标 源码

乘风换手vol优化

drawgbk(close=close,colorrgb(30,30,30),colorrgb(3,3,3),1);
预测额:=if(date<>currentdate or openminutes(currenttime)=1,amount,(amount/openminutes(currenttime))*240), linethick;
n:=20;
sat:=if((预测额/close)/(hhv(预测额,n)/hhv(close,n))*100>100,100,(预测额/close)/(hhv(预测额,n)/hhv(close,n))*100);
预测量:=if(date<>currentdate or openminutes(currenttime)=1,vol,(vol/openminutes(currenttime))*240), linethick;
量:=vol;
v0001:=vol/((high-low)*2-abs(close-open));
主买:if(close>open,v0001*(high-low),if(close<open,v0001*((high-open)+(close-low)),vol/2)),color0000ff,pointdot,linethick0,precision0;
主卖:if(close>open,0-v0001*((high-close)+(open-low)),if(close<open,0-v0001*(high-low),0-vol/2)),colorffff00,pointdot,linethick0,precision0;
净买:主买+主卖,colorffffff,linethick0,precision0;
换手率:=vol/capital*100;
hs:=换手率;
量比:if(barpos=datacount,dynainfo(17),vol/ref(ma(vol,5),1)),linethick0,colorffffff,precision2;
a:=ma(换手率,2);
x:=llv(a,20),linethick;
x1:=(a-llv(a,20))=0;
换手最小:=if(all (a>0,5) and filterx(x1,5),x1,0),colorred;
小天:barslast(换手最小),linethick,color008888;
x2:=hhv(a,20);
x3:=(a-x2)=0;
换手最大:=if(all(ref(a,1)<x2,5) and filterx(x3,5),1,0),colorgreen;
stickline(close<=ref(close,1) , vol,0,7,1),color759700,linethick2;
stickline(close>ref(close,1), vol,0,7,1) {colorff4d80}colorff87ff,linethick2;

stickline(净买>0,0,主买,5,0),color0000ff;
stickline(净买<=0,0,主买,5,0),colorffff00;
stickline(净买>0,v,主买,5,0),color00ffff;
stickline(净买<=0,v,主买,5,0),colora84802;
stickline(c,量比*15000,0,2,0),colorffffff;
{线形}
h13:=hhv(ma(vol,13),13);
l13:=llv(ma(vol,5),13);
mv5:ma(vol,5),colorffffff,precision0;
mv13:ma(vol,13),color00ffff,precision0;
mv34:ma(vol,34),linedot,color519f7e,precision0;
{信号和文字提示}
partline(ma(sum(主买,34),10)<sum(主买,34),-300),colormagenta,linethick2;
partline(ma(sum(主买,34),10)>=sum(主买,34) ,-300),colorblue,linethick2;
drawicon(ma(sum(主买,34),10)>ref(ma(sum(主买,34),10),1),-300,12);
drawicon(ma(sum(主买,34),10)<=ref(ma(sum(主买,34),10),1),-300,11);
天量:=vol=hhv(vol,0);
vertline(天量),linedot,coloryellow;
drawtext(ref(count(vol>l13,8)=8,1) and vol<l13,vol,'量\n缩'),colorwhite,align;
drawtext(ref(count(vol<mv34,8)=8,1) and vol>mv34,vol,'量\n突'),colorwhite,align;
f:=100*(close-ref(close,1))/ref(close,1);
今小昨:=if(close<ref(open,1) and f<0,1,0);
sa1:=今小昨;
今小前:=if(close<ref(open,2) and f<0,1,0),linethick0;
sa2:=今小前;
stickline(sa1=0 and ref(sa1,1)=1 and sa2=0 and ref(sa2,1)=1 and cross(zig(3,3),ref(zig(3,3),1)),vol*2,0,0.1,0),linedot,colorff00ff;//此信号是未来函数
svol:=intpart(sum(vol,0)/capital);
tj0:=svol>ref(svol,1) or barssince(close)=0;
s1:=barslast(tj0)+1,precision,colorwhite;//时间1
tj2:=s1<ref(s1,1);//取点
s2:=if(tj2,ref(s1,1)+1,s1),precision,colormagenta;//时间2
s3:=sum(tj2,0),colormagenta;
阶段总额(万元):=sum(amount/10000,s2)*100,precision,linethick,color008bfa;//换手100%amount
阶段总量(手):=sum(vol,s2)*100,precision,linethick,colorcyan;//换手100%vol
阶段成本(元):=(阶段总额(万元)/(阶段总量(手)/100)),linethick,precision2,colorred;
drawtext(barpos=sysparam(2),high,'■阶段平均成本:'+numtostr(阶段成本(元)[sysparam(1)],2)+'(元)'),align4,colorcyan;
{取点}
zk1:=stkindi('' ,'kdj.k',0,7);
zd2:=stkindi('' ,'kdj.d',0,7);
zf1:=stkindi('' ,'macd.diff',0,7);
za2:=stkindi('' ,'macd.dea',0,7);
{建仓统计}
jcd:=filter(cross(zk1,zd2) and zd2<30,13);{周kd金叉位置}
取点:=barslast(jcd);
吸筹区:=if(取点>0 and 取点<61,取点,0);
zs1:=吸筹区;
zs2:=吸筹区+1;
zs3:=换手率/5;{庄家筹码估算}
zsa:=if(zs1>0,sum((zs3),吸筹区+1),0);{统计庄家筹码}
{控制画线高度}
n1:=sysparam(3);
nn:=n1-sysparam(2)+1;
hh:=hhv(vol,nn);
ll:=llv(vol,nn);
最高:=hh[n1];
最低:=ll[n1];
中:=最低+(最高-最低)*0.5;
//partline(range(barpos,sysparam(2),sysparam(1)+1) and zs1>0,中),colorcyan,linethick2;//建仓横线
vertline(jcd),linedot,colorred;//建仓点竖线
{左侧数字}
三日总换手:=sum(换手率,3);
五日总换手:=sum(换手率,5);
drawtextex(close,1,1,60,'\n\n■三日总换手■'),colorred;
drawtextex(close,1,1,115,'\n\n今总:'+numtostr(三日总换手,2)+' %'+'\n'+'昨总:'+numtostr(ref(三日总换手,1),2)+' %'+'\n'+'前总:'
+numtostr(ref(三日总换手,2),2)+' %'+'\n'+'前一:'+numtostr(ref(三日总换手,3),2)+' %'+'\n'+'前二:'+numtostr(ref(三日总换手,4),2)+' %'),colorffff;
drawtextex(close,1,120,60,'\n\n■五日总换手■'),colorred;
drawtextex(close,1,120,115,'\n\n今总:'+numtostr(五日总换手,2)+' %'+'\n'+'昨总:'+numtostr(ref(五日总换手,1),2)+' %'+'\n'+'前总:'
+numtostr(ref(五日总换手,2),2)+' %'+'\n'+'前一:'+numtostr(ref(五日总换手,3),2)+' %'+'\n'+'前二:'+numtostr(ref(五日总换手,4),2)+' %'),colorwhite;
{可移动变化数字}
drawtext(barscount(close)=sysparam(1)&&sysparam(1)>zs1,中*2.5,' ■主力建仓天数:'+numtostr(zs1[sysparam(1)],0)+'(天)'),pxdn30,align2,coloryellow;
drawtext(barscount(close)=sysparam(1)&&sysparam(1)>zs1,中*2.5,' \n■估算主力筹码:'+numtostr(zsa[sysparam(1)],2)+'%'),pxdn30,align2,colormagenta;
drawicon(filter(cross(zf1,za2),5),0,4),align;
drawicon(filter(cross(zk1,zd2),5),0,8),align;
drawicon(filter(cross(zd2,zk1),5),0,9),align;
drawtext(sysparam(1)=barpos,中*2.5,' \n \n■爆发力度: '+numtostr(sat[sysparam(1)],2)),colorred,pxdn30,align2;
stickline(sat>ref(sat,1)+5 and vol>ref(vol,1),ref(vol,1)*0.98,ref(vol,1),10,0),colorwhite;
vertline(all (a>0,5) and filterx(x1,5)),colorred;
drawtext(sysparam(1)=barpos and all(a>0,5) and filterx(x1,5),10,'■换手特小'),colorred,align4;
drawtext(sysparam(1)=barpos and all(ref(a,1)<x2,5) and filterx(x3,5),10,'■换手过大'),colorgreen,align4;

换手极低:=hs<=1;
换手冷清:=hs>1 and hs<=3;
换手正常:=hs>3 and hs<=5;
换手活跃:=hs>5 and hs<=9;
换手热烈:=hs>9 and hs<=13;
换手旺盛:=hs>13 and hs<=20;
换手过热:=hs>20 and hs<30;
换手异常:=hs>=30;
drawtext(换手极低 and barpos=sysparam(1),中*2.5,' \n \n \n■换手极低:'+numtostr(换手率[sysparam(1)],2)+'% '),pxdn30,align2,colorgray;
drawtext(换手冷清 and barpos=sysparam(1),中*2.5,' \n \n \n■换手冷清:'+numtostr(换手率[sysparam(1)],2)+'% '),pxdn30,align2,colorblue;
drawtext(换手正常 and barpos=sysparam(1),中*2.5,' \n \n \n■换手正常:'+numtostr(换手率[sysparam(1)],2)+'% '),pxdn30,align2,colorwhite;
drawtext(换手活跃 and barpos=sysparam(1),中*2.5,' \n \n \n■换手活跃:'+numtostr(换手率[sysparam(1)],2)+'% '),pxdn30,align2,coloryellow;
drawtext(换手热烈 and barpos=sysparam(1),中*2.5,' \n \n \n■换手热烈:'+numtostr(换手率[sysparam(1)],2)+'% '),pxdn30,align2,colorred;
drawtext(换手旺盛 and barpos=sysparam(1),中*2.5,' \n \n \n■换手旺盛:'+numtostr(换手率[sysparam(1)],2)+'% '),pxdn30,align2,colormagenta;
drawtext(换手过热 and barpos=sysparam(1),中*2.5,' \n \n \n■换手过热:'+numtostr(换手率[sysparam(1)],2)+'% '),pxdn30,align2,colorbrown;
drawtext(换手异常 and barpos=sysparam(1),中*2.5,' \n \n \n■换手异常:'+numtostr(换手率[sysparam(1)],2)+'% '),pxdn30,align2,colorgreen;
比率:=(预测量-ref(vol,1))/ref(vol,1)*100;
drawtext(预测量>ref(vol,1) and barpos=sysparam(1),中*2.5,
' \n \n \n \n ■预测量:'+numtostr(预测量[sysparam(1)],0)+'(+'+numtostr(比率[sysparam(1)],2)+'% '+')'),pxdn30,align2,colorred;
drawtext(预测量<=ref(vol,1) and barpos=sysparam(1),中*2.5,
' \n \n \n \n ■预测量:'+numtostr(预测量[sysparam(1)],0)+'(-'+numtostr(比率[sysparam(1)],2)+'% '+')'),pxdn30,align2,colorgreen;

{3日换手柱状右侧显示}
stickline(islastbar and finance(7)/10000<1,0,ref(hs,2)*5000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000<1,0,ref(hs,1)*5000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000<1,0,hs*5000,6,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000<2 and finance(7)/10000>=1,0,ref(hs,2)*10000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000<2 and finance(7)/10000>=1,0,ref(hs,1)*10000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000<2 and finance(7)/10000>=1,0,hs*10000,6,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000<4 and finance(7)/10000>=2,0,ref(hs,2)*20000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000<4 and finance(7)/10000>=2,0,ref(hs,1)*20000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000<4 and finance(7)/10000>=2,0,hs*20000,6,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000<6 and finance(7)/10000>=4,0,ref(hs,2)*30000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000<6 and finance(7)/10000>=4,0,ref(hs,1)*30000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000<6 and finance(7)/10000>=4,0,hs*30000,6,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000<9 and finance(7)/10000>=6,0,ref(hs,2)*45000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000<9 and finance(7)/10000>=6,0,ref(hs,1)*45000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000<9 and finance(7)/10000>=6,0,hs*45000,6,0),shift1,color1472ff;

stickline(islastbar and finance(7)/10000<12 and finance(7)/10000>=9,0,ref(hs,2)*65000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000<12 and finance(7)/10000>=9,0,ref(hs,1)*65000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000<12 and finance(7)/10000>=9,0,hs*65000,8,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000<20 and finance(7)/10000>=12,0,ref(hs,2)*90000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000<20 and finance(7)/10000>=12,0,ref(hs,1)*90000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000<20 and finance(7)/10000>=12,0,hs*90000,8,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000>=20 and finance(7)/10000<35,0,ref(hs,2)*150000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000>=20 and finance(7)/10000<35,0,ref(hs,1)*150000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000>=20 and finance(7)/10000<35,0,hs*150000,6,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000>=35 and finance(7)/10000<50,0,ref(hs,2)*250000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000>=35 and finance(7)/10000<50,0,ref(hs,1)*250000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000>=35 and finance(7)/10000<50,0,hs*250000,6,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000>=50 and finance(7)/10000<100,0,ref(hs,2)*550000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000>=50 and finance(7)/10000<100,0,ref(hs,1)*550000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000>=50 and finance(7)/10000<100,0,hs*550000,6,0),shift1,color1472ff;
stickline(islastbar and finance(7)/10000>=100,0,ref(hs,2)*1000000,6,0),shift3,color1472ff;
stickline(islastbar and finance(7)/10000>=100,0,ref(hs,1)*1000000,6,0),shift2,color1472ff;
stickline(islastbar and finance(7)/10000>=100,0,hs*1000000,6,0),shift1,color1472ff;
{3日换手数字}
drawtext(islastbar and close>0,中*0.8,'一换'+'\n'+numtostr(hs,2)),align,shift1,colorwhite;
drawtext(islastbar and close>0,中*0.8,'二换'+'\n'+numtostr(ref(hs,1),2)),align,shift2,colorwhite;
drawtext(islastbar and close>0,中*0.8,'三换'+'\n'+numtostr(ref(hs,2),2)),align,shift3,colorwhite;
{3日量比数字}
drawtext(islastbar and close>0,中*1.4,'今\n日'+'\n'+'量\n比'+'\n'+numtostr(量比,2)),align,shift1,colorgreen;
drawtext(islastbar and close>0,中*1.4,'昨\n日'+'\n'+'量\n比'+'\n'+numtostr(ref(量比,1),2)),align,shift2,colorgreen;
drawtext(islastbar and close>0,中*1.4,'前\n日'+'\n'+'量\n比'+'\n'+numtostr(ref(量比,2),2)),align,shift3,colorgreen;
{三日买盘和增比数字}
主买比:=(主买-ref(主买,1))/ref(主买,1);
昨主买比:=(ref(主买,1)-ref(主买,2))/ref(主买,2);
前主买比:=(ref(主买,2)-ref(主买,3))/ref(主买,3);
drawtext(islastbar and close>0,中*2.0,'现\n主\n买'+'\n'+numtostr(主买,0)+'\n'+'增'+numtostr(主买比,2)),align,shift1,colorred;
drawtext(islastbar and close>0,中*2.0,'昨\n主\n买'+'\n'+numtostr(ref(主买,1),0)+'\n'+'增'+numtostr(昨主买比,2)),align,shift2,colorred;
drawtext(islastbar and close>0,中*2.0,'前\n主\n买'+'\n'+numtostr(ref(主买,2),0)+'\n'+'增'+numtostr(前主买比,2)),align,shift3,colorred;
{三日净买数字}
drawtext(islastbar and close>0,中*2.5,'现\n净\n买'+'\n'+numtostr(净买,0)),align,shift1,coloryellow;
drawtext(islastbar and close>0,中*2.5,'昨\n净\n买'+'\n'+numtostr(ref(净买,1),0)),align,shift2,coloryellow;
drawtext(islastbar and close>0,中*2.5,'前\n净\n买'+'\n'+numtostr(ref(净买,2),0)),align,shift3,coloryellow;


乘风换手vol优化-好看实用副图指标

  >>>使用本站搜索工具可以找到更多乘风换手VOL优化-好看实用副图公式 飞狐换手优化指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文乘风换手VOL优化-好看实用副图公式 飞狐换手优化指标 源码仅供学习研究。

猜你喜欢

学了又学