好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式横空出世公式下载 飞狐横空出世指标 源码

横空出世公式下载 飞狐横空出世指标 源码

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:横空出世公式下载 飞狐横空出世指标 源码

横空出世源码
input:n(400,1,5000),加仓(200,1,5000);
drawgbk(close,colorrgb(90,90,90),colorrgb(30,30,60),1);
a1:=sumbars(vol,capital*3);{300%换手平均成本线.成交量短期可以造假,
但是对于长期来说成交量是造不了假的,所以以换手300%为周期,
一般来说反映的是比较真实的成本}
cma1:=if(capital>0,sum(amount,a1)/sum(vol,a1)/100,ema(close,360));
a2:=sumbars(vol,capital);
cma2:=if(capital>0,sum(amount,a2)/sum(vol,a2)/100,ema(close,120));{100%换手平均成本线}
a3:=sumbars(vol,capital*0.4);{40%换手平均成本线}
cma3:=if(capital>0,sum(amount,a3)/sum(vol,a3)/100,ema(close,48));
fillrgn(cma1,hhv(cma1,21),llv(cma1,21)),colorf1f1f1;{长期成本}
fillrgn(cma2,hhv(cma2,21),llv(cma2,21)),color990066;{中期成本}
fillrgn(cma3,hhv(cma3,13),llv(cma3,13)),color006699;{短期成本}

hh:=hhv(close,n);
ll:=llv(close,n);
hh1:=barslast((hh > ref(hh,1)));
ll1:=barslast((ll < ref(ll,1)));
partline((hh1 < ll1),ll),linethick2,colorgreen;
partline((hh1 > ll1),hh),linethick2,colorred;drawicon(cross(hh1,ll1),hh,11);
drawicon(cross(ll1,hh1),ll,10);
drawtext(cross(hh1,ll1),(close * 1.03),'平多开空'),colorffffff;
drawtext(cross(ll1,hh1),(close * 0.98),'平空开多'),colorffffff;
drawtext(filter(((hh1 < ref(hh1,1)) and (hh1 < ll1)),加仓),low,'△加多'),colorff00ff;
drawtext(filter(((ll1 < ref(ll1,1)) and (hh1 > ll1)),加仓),high,'▽加空'),colorff00;
主线:=(ma(close,6)+ma(close,12)+ma(close,24)+ma(close,36))/4,linethick2,colorff00ff;
股价重心:=dma(amount/vol/100,vol/capital),colorgreen,linethick2;
ma14:=ema(close,14);
ma34:=ema(close,26);
ma54:=ema(close,54);
ma90:=ema(close,90);
ma120:ema(close,120),linedashdot,color669900;
年线:ema(c,250),coloryellow,linethick2;
{中短波}
hz:=ema(close,13);
短波:ema(hz,1),color00dd00,linethick1;
中波:ema(hz,26),colorred,linethick1;
均线148天:=ema(c,148),pointdot,linethick1,colorgreen;
成本:=sum(amount,0)/sum(vol,0)/100,coloryellow ,linethick2 ;
hz2:ema(hz,8),colorgreen,linethick2;
hz4:ema(hz,39),colorff00ff,linethick2;
a1:stickline(hz2<hz4,短波,hz4,0.1,0),colorgray;
a2:stickline(短波>hz2,短波,hz2,0.1,0),colorgreen;
a3:stickline(中波>hz4,中波,hz4,0.1,0),colorff00ff;
{慢速kdj}
rsv:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
fastk:=sma(rsv,12,1);
k:=sma(fastk,9,1),coloryellow;
d:=sma(k,3,1),linethick2,colorblue;
j:=3*k-2*d,linethick1,colorgreen;
{中波}
var11:=3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)-2*sma(sma((close-llv(low,75))
/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
var22:=100-var11;
中势线:=(-1)*(ema(var22,1)-50)+42,coloryellow,linethick2;
tz:=(close-llv(low,331))/(hhv(high,331)-llv(low,331))*100;
强势线:=sma(tz,5,1),linethick2,colorred;
大盘线:=70*(hhv(high,39)-close)/(hhv(high,39)-llv(low,39)),linethick1,color009900;
{量选}
aa:=vol/sum(vol,13);
bb:=dma(c,aa);
cc:=vol/sum(vol,34);
dd:=dma(c,cc);
{背离}
var00:=winner(close);
var1:=forcast(var00,10);
var2:=ma(var1,3);
var3:=ma(var2,12);
var4:=ma(var3,16);
var5:=ma(var4,31);
var6:=ma(var5,55);
var7:=var5;
var8:=var4>var2*1.11 and var3>var2*1.095;
a:=var4/var2;
b:=var3/var2;
var9:=var2>var1*0.95;
td:=var2/var1;
var1h:=indexc;
var2h:=ma(var1h,6);
var3h:=ma(var1h,24);
var4h:=ma(var1h,32);
var5h:=ma(var1h,62);
var6h:=ma(var1h,105);
var7h:=var5h;
var8h:=var4h>var2h*1.11 and var3h>var2h*1.095;
var9h:=var2h>var1h*0.95;
pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)
and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;
g:=(var7h and var8h and var9h and close/cost(8)<=0.7985
and (count(c=l,4)<3 or c>ref(c,1)))and pt or
var7 and var8 and var9 and close/cost(5)<=0.8 and
((var1>open or var1>ref(open,1) or
ref(var1,1)));
背离:=var2<ref(var2,1) and a>ref(a,1);
买入信号1:=var1>a and var2>b;
买入信号2:=b>a and 1>b and a<1 and h=hhv(h,21);
buy:=count(背离,20)>1 and 买入信号2=1 and c>o or cross(bb,dd);
{drawicon(cross(短波,hz2),中波,1);
drawtext(cross(主线,ma90) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 or
cross(主线,ma120) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 or
cross(ma120,均线148天) and 大盘线<36 and j>k and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 or
cross(中势线,33) and 短波>hz2 and o>ref(o,1) and c>ref(c,1) and j>d and j<65 and 大盘线<36 and 强势线>36 and 主线>ref(主线,1)
and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 中势线<70 and c>o and ma34>ref(ma34,1) and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 or
cross(短波,hz2) and 大盘线<36 and 短波>中波 and 中波>hz4 and 短波-ref(短波,1)>0.088 and hz4-ref(hz4,1)>0.028 or
j>k and 大盘线<36 and 短波>hz2 and cross(强势线,36) or cross(短波,hz2) and cross(强势线,36) or cross(j,k) and cross(强势线,33)
or cross(短波,hz2) and cross(强势线,54)
or cross(j,k) and 大盘线<36 and j<65 and c>o and 短波-ref(短波,1)>0.088 or
cross(j,k) and 短波>hz2 and j<68 and 短波>ref(短波,1) and hz2>ref(hz2,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 or
cross(j,k) and 大盘线<36 and j<68 and 短波-ref(短波,1)>0.088 or cross(j,k) and cross(短波,hz2) and 大盘线<36 or
cross(短波,hz2) and 大盘线<36 and j>k and j<68 and 强势线>ref(强势线,1) and 中势线>ref(中势线,1) and 短波-ref(短波,1)>0.088 or
cross(短波,hz2) and 中波>ma120 and 中波>均线148天 and hz2>ma120 and ma120>均线148天 and 短波-ref(短波,1)>0.088 or
cross(j,k) and 强势线>54 and 强势线>ref(强势线,1) and j<68
or count(背离,20)>1 and 短波>hz2 and o>ref(o,1) and c>ref(c,1) and j>d and j<65 and 买入信号2=1 and 主线>ref(主线,1)
and 中势线>ref(中势线,1) and 中势线<70 and c>o or
cross(bb,dd) and j<74 and ma34>ref(ma34,1) and 短波-ref(短波,1)>0.088 or
大盘线<36 and j>d and j<65 and c>o and 短波>ref(短波,1) and cross(hz2,中波) and 短波-ref(短波,1)>0.088 and o>ref(c,1) or
c>o and 短波>ref(短波,1) and j>d and j<65 and 大盘线<36 and cross(中势线,33) and 中势线-ref(中势线,1)>0.23 and 短波-ref(短波,1)>0.088
and o>ref(c,1) and 强势线>12 or
短波>hz2 and 中波>hz4 and 大盘线<36 and cross(j,k) and j<65 and 短波-ref(短波,1)>0.088 or
短波>hz2 and 大盘线<36 and cross(j,k) and j<65 and 短波-ref(短波,1)>0.088 or cross(j,k) and cross(短波,hz2) and 大盘线<36 and j<56 or
短波>hz2 and 中波>hz4 and 大盘线<36 and j>d and j<65 and cross(hz4,年线) and 短波-ref(短波,1)>0.088 or
短波>hz2 and hz2>hz4 and 大盘线<36 and j>d and j<65 and j<65 and cross(强势线,46) and 短波-ref(短波,1)>0.088 or
短波>hz2 and 大盘线<36 and j>d and j<65 and cross(中势线,36) and 短波-ref(短波,1)>0.088
,hz2-0.18,'!追'),colorwhite;{好}
drawtext(cross(短波,hz2) and c>o and j>k and j>d and 大盘线<36 and c>hz4,l*1.09,'●'),coloryellow;
drawtext(cross(短波,hz2) and c>o and j>k and j>d and 大盘线<36 and c>hz4,l*1.12,'做趋势'), coloryellow;
drawtext(cross(短波,hz2),c,'♂');
drawtext(cross ( 中波,hz4),c,'♂');
drawtext(cross ( 中波,ma120),c,'♂');
drawtext(cross (hz4,ma120),c,'♂');}
多空:=open;
stickline(close>多空,high,low,0.5,0),colorff;
stickline(close>多空 and close>open,open,close,8,0),color102088;
stickline(close>多空 and close>open,open,close,7,0),color102099;
stickline(close>多空 and close>open,open,close,6,0),color1020aa;
stickline(close>多空 and close>open,open,close,5,0),color1020bb;
stickline(close>多空 and close>open,open,close,4,0),color1020cc;
stickline(close>多空 and close>open,open,close,3,0),color1020dd;
stickline(close>多空 and close>open,open,close,2,0),color1020ee;
stickline(close>多空 and close>open,open,close,1,0),color1020ff;
stickline(close>多空 and close<open,open,open,8,0),color102088;
stickline(close>多空 and close<open,open,open,7,0),color102099;
stickline(close>多空 and close<open,open,open,6,0),color1020aa;
stickline(close>多空 and close<open,open,open,5,0),color1020bb;
stickline(close>多空 and close<open,open,open,4,0),color1020cc;
stickline(close>多空 and close<open,open,open,3,0),color1020dd;
stickline(close>多空 and close<open,open,open,2,0),color1020ee;
stickline(close>多空 and close<open,open,open,1,0),color1020ff;
stickline(close<多空,high,low,0.5,0),colorff8800;
stickline(close<多空 and close<open,open,close,8,0),colorff7700;
stickline(close<多空 and close<open,open,close,7,0),colorff8800;
stickline(close<多空 and close<open,open,close,6,0),colorff9900;
stickline(close<多空 and close<open,open,close,5,0),colorffaa00;
stickline(close<多空 and close<open,open,close,4,0),colorffbb00;
stickline(close<多空 and close<open,open,close,3,0),colorffcc00;
stickline(close<多空 and close<open,open,close,2,0),colorffdd00;
stickline(close<多空 and close<open,open,close,1,0),colorffee00;
stickline(close<多空 and close>open,open,open,8,0),colorff7700;
stickline(close<多空 and close>open,open,open,7,0),colorff8800;
stickline(close<多空 and close>open,open,open,6,0),colorff9900;
stickline(close<多空 and close>open,open,open,5,0),colorffaa00;
stickline(close<多空 and close>open,open,open,4,0),colorffbb00;
stickline(close<多空 and close>open,open,open,3,0),colorffcc00;
stickline(close<多空 and close>open,open,open,2,0),colorffdd00;
stickline(close<多空 and close>open,open,open,1,0),colorffee00;
stickline(close=多空,open,close,8,0),colorffff00;
stickline(close=多空,high,low,0.5,0),colorffff00;


横空出世源码

  >>>使用本站搜索工具可以找到更多横空出世公式下载 飞狐横空出世指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文横空出世公式下载 飞狐横空出世指标 源码仅供学习研究。

猜你喜欢

学了又学