好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式乘风自用换手VOL公式 飞狐换手自用指标 源码

乘风自用换手VOL公式 飞狐换手自用指标 源码

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

指标公式详细说明

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

乘风自用换手vol

drawgbk(close=close,colorrgb(30,30,60),colorrgb(30,30,60),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)),color6d0076,pointdot,linethick0,precision0;
主卖:if(close>open,0-v0001*((high-close)+(open-low)),if(close<open,0-v0001*(high-low),0-vol/2)),colorffd1be,pointdot,linethick0,precision0;
净买:主买+主卖,colormagenta,linethick0,precision0;
换手率:=vol/capital*100;
hs:=换手率;
量比:if(barpos=datacount,dynainfo(17),vol/ref(ma(vol,5),1)),linethick0,coloryellow,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,8.5,0), color808040;
stickline(close>ref(close,1), vol,0,8.5,1) {colorff4d80}colorff87ff,linethick2;

stickline(净买>0,0,主买,5,0),color102088;
stickline(净买>0,0,主买,4,0),color1020aa;
stickline(净买>0,0,主买,3,0),color1020bb;
stickline(净买>0,0,主买,2,0),color1020bb;
stickline(净买>0,0,主买,1,0),color1020dd;
stickline(净买>0,0,主买,0.5,0),color1020ee;
stickline(净买<=0,0,主买,5,0),color102088;
stickline(净买<=0,0,主买,4,0),color1020aa;
stickline(净买<=0,0,主买,3,0),color1020bb;
stickline(净买<=0,0,主买,2,0),color1020cc;
stickline(净买<=0,0,主买,1,0),color1020dd;
stickline(净买<=0,0,主买,0.5,0),color1020ee;

stickline(净买>0,v,主买,5,0),colorff7700;
stickline(净买>0,v,主买,4,0),colorff8811;
stickline(净买>0,v,主买,3,0),colorffaa22;
stickline(净买>0,v,主买,2,0),colorffbb33;
stickline(净买>0,v,主买,1,0),colorffdd44;
stickline(净买>0,v,主买,0.5,0),colorffff55;
stickline(净买<=0,v,主买,5,0),colorff7700;
stickline(净买<=0,v,主买,4,0),colorff8811;
stickline(净买<=0,v,主买,3,0),colorffaa22;
stickline(净买<=0,v,主买,2,0),colorffbb33;
stickline(净买<=0,v,主买,1,0),colorffdd44;
stickline(净买<=0,v,主买,0.5,0),colorffff55;

stickline(c,量比*15000,0,2,0),coloryellow;
h13:=hhv(ma(vol,13),13),colorgreen;
l13:=llv(ma(vol,5),13),colorbrown,linethick2;
partline(close,l13),colorbrown,linethick2;
partline(close,h13),colorgreen;
mv5:ma(vol,5),color8888ff,precision0;
mv13:ma(vol,13),colormagenta,precision0;
mv34:ma(vol,34),linedot,colorwhite,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:=今小前;

{二十四节气}
立春:=filter(month=2 and (day=3 or day=5 ),2);
雨水:=filter(month=2 and (day=18 or day=20),2);
惊蛰:=filter(month=3 and (day=5 or day=7 ),2);
春分:=filter(month=3 and (day=20 or day=22),2);
清明:=filter(month=4 and (day=4 or day=6 ),2);
谷雨:=filter(month=4 and (day=19 or day=21),2);
立夏:=filter(month=5 and (day=6 or day=8 ),2);
小满:=filter(month=5 and (day=20 or day=22),2);
芒种:=filter(month=6 and (day=5 or day=7 ),2);
夏至:=filter(month=6 and (day=20 or day=22),2);
小暑:=filter(month=7 and (day=6 or day=8 ),2);
大署:=filter(month=7 and (day=22 or day=24),2);
立秋:=filter(month=8 and (day=7 or day=9 ),2);
处暑:=filter(month=8 and (day=22 or day=24),2);
白露:=filter(month=9 and (day=7 or day=9 ),2);
秋分:=filter(month=9 and (day=22 or day=24),2);
寒露:=filter(month=10 and (day=7 or day=9 ),2);
霜降:=filter(month=10 and (day=22 or day=24),2);
立冬:=filter(month=11 and (day=7 or day=9 ),2);
小雪:=filter(month=11 and (day=22 or day=24),2);
大雪:=filter(month=12 and (day=6 or day=8 ),2);
冬至:=filter(month=12 and (day=21 or day=23),2);
小寒:=filter(month=1 and (day=5 or day=7 ),2);
大寒:=filter(month=1 and (day=19 or day=21),2);
drawtext(立春,100,'立春'),colorgreen,align;
drawtext(雨水,100,'雨水'),colorgreen,align;
drawtext(惊蛰,100,'惊蛰'),colorgreen,align;
drawtext(春分,100,'春分'),colorgreen,align;
drawtext(清明,100,'清明'),colorgreen,align;
drawtext(谷雨,100,'谷雨'),colorgreen,align;
drawtext(立夏,100,'立夏'),colormagenta,align;
drawtext(小满,100,'小满'),colormagenta,align;
drawtext(芒种,100,'芒种'),colormagenta,align;
drawtext(夏至,100,'夏至'),colormagenta,align;
drawtext(小暑,100,'小暑'),colormagenta,align;
drawtext(大署,100,'大署'),colormagenta,align;
drawtext(立秋,100,'立秋'),coloryellow,align;
drawtext(处暑,100,'处暑'),coloryellow,align;
drawtext(白露,100,'白露'),coloryellow,align;
drawtext(秋分,100,'秋分'),coloryellow,align;
drawtext(寒露,100,'寒露'),coloryellow,align;
drawtext(霜降,100,'霜降'),coloryellow,align;
drawtext(立冬,100,'立冬'),colorwhite,align;
drawtext(小雪,100,'小雪'),colorwhite,align;
drawtext(大雪,100,'大雪'),colorwhite,align;
drawtext(冬至,100,'冬至'),colorwhite,align;
drawtext(小寒,100,'小寒'),colorwhite,align;
drawtext(大寒,100,'大寒'),colorwhite,align;

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);
十日总换手:=sum(换手率,10);
二十日总换手:=sum(换手率,20);
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)+' %'),colorffff;
drawtextex(close,1,120,390,'\n\n■二十日总换手■'),colorred;
drawtextex(close,1,120,435,'\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;
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,1,390,'\n\n■五日总换手■'),colorred;
drawtextex(close,1,1,435,'\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;

红色细线选股
换手率:=vol/capital*100;
a:=ma(换手率,2);
x1:=(a-llv(a,20))=0;
选股:all (a>0,5) and filterx(x1,5);


乘风自用换手vol

  >>>使用本站搜索工具可以找到更多乘风自用换手VOL公式 飞狐换手自用指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文乘风自用换手VOL公式 飞狐换手自用指标 源码仅供学习研究。

猜你喜欢

学了又学