好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式优化牛熊均线图很漂亮噢公式 飞狐均线优化指标 源码

优化牛熊均线图很漂亮噢公式 飞狐均线优化指标 源码

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:优化牛熊均线图很漂亮噢公式 飞狐均线优化指标 源码

优化牛熊均线

{优化牛熊均线}
ylzc:=if(close=indexc,(indexc+indexh+indexl+indexo)/4,amount/(vol+0.01)/100);
阻价:=if(close=indexc,ylzc+indexc-indexl,ylzc+(close-low));
支价:=if(close=indexc,indexl+indexc-ylzc,low+(close-ylzc));
今压:ref(阻价,1),nodraw,coloraa11bb;
今撑:ref(支价,1),nodraw,color009900;
明压:阻价,nodraw;
明撑:支价,nodraw;
ma5:ma(close,5),colorwhite;
ma10:ma(close,10)coloref76ff;
ma30:ma(close,30)color9055ff;
ma55:ma(close,55)colorblue,linethick2;
ma89:ma(close,89)coloraa99ff,linethick2;
ma120:ma(close,120)linethick2;
ma250:ma(close,250)colorligreen,linethick2;
aa05:ma(c,5),linethick0;
五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:=ema((速度5-ref(速度5,1)),2),linethick2;
aa10:ma(c,10),coloref76ff;
aa22:=ma(c,22);
bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
aa43:ma(c,43);
三拾日乖离率:=(c-aa43)/aa43*100;
var1:=(aa22-aa43)>ref((aa22-aa43),1) and aa22>ref(aa22,1) and aa43>ref(aa43,1);
var2:=(aa43-aa22)<ref((aa43-aa22),1) and aa22<ref(aa22,1) and aa43<ref(aa43,1);
bb43:=atan((aa43/ref(aa43,1)-1)*100)*180/3.1416;
stickline(bb43>15 and aa43>ref(aa43,1), aa43,ref(aa43,1),2,1),colorlimagenta;
强:=filter(bb43>30 and bb10>45 and cross(bb05,60),10);
播种:=filter(count(cross(bb05,30),5)>=1 and
aa05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and
aa10>ref(aa10,1) and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10)colorlired;
收获:=filter(count(cross(30,bb05),5)>=1 and (c>aa43 or o>aa43) and
aa05<ref(aa05,1) and 三拾日乖离率<ref(三拾日乖离率,1) and aa10<ref(aa10,1),10);
drawtext(播种 ,low*0.95,'←拉升'),coloryellow;
jc:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) and aa10>ref(aa10,1) ;
险:=filter(jc,30);
mr:=count(cross(五日乖离率,0),3)>=1
and 三拾日乖离率>ref(三拾日乖离率,1) and aa05>ref(aa05,1) and (c/ref(c,1)-1)*100>5
and ref(c,1)<aa43;
加仓:=filter(count(cross(bb05,30),5)>=1 and aa05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and ma10>ref(ma10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>aa43 or o>aa43) and aa05<ref(aa05,1) and 三拾日乖离率<ref(三拾日乖离率,1) and ma10<ref(ma10,1),10);
drawtext(加仓 ,low-0.02,'←加仓'),colorred;
买:=filter(mr,10);
drawtext(险,high*1.02,'←险'),colorcyan;
drawtext(买,low*0.98,'←买!'),colormagenta;
drawtext(强,low*0.98,'←强'),colorlired;
var21:=max(abs(high-amount/vol/100),abs(amount/vol/100-low));
var3:=abs((open+close)/2-amount/vol/100);mv:=(var21+var3)/amount*vol*100*50;
ma6:=ma(c,6);
ma18:=ma(c,18);
fa:=barslast(cross(ma18,ma6)) and cross(ma6,ma18);
stickline(fa,ma6,ma6-0.05,3,0),coloryellow;
drawtext(fa,ma6-0.13,'握手♂'),colorred;
ema13:ema(c,13)pointdot;
ema34:ema(c,34)pointdot;
ema55:ema(c,55)pointdot;
ema120:ema(c,120)pointdot;
ar1:=ema55>ema34 and ema34>ema13;
ar2:=barslast((c-ema13)/ema13*100<-6);
ar3:=ema13>=ref(ema13,2);
ar4:=count(cross(c,ema13),ar2)=1;
ar5:=ar1 and ar2 and ar3 and ar4;
ar6:=ar5 and filter(ar5,10);
drawtext(ar6,l-0.09,'低金'),coloryellow;
{stickline(ar6,h,l,0.5,1),coloryellow;}
{stickline(ar6,o,c,6,1),linethick2,coloryellow;}
br1:=count(between((c-ref(c,1))/ref(c,1)*100,0,5) ,5)=5;
br2:=abs((ema13-ema34)+(ema34-ema55))/c<0.2;
br3:=c>ema55 and (ref(c,1)<ref(ema55,1) or ref(c,2)<ref(ema55,2) or ref(c,3)<ref(ema55,3) or ref(c,4)<ref(ema55,4) or ref
(c,5)<ref(ema55,5));
br4:=br1 and br2 and br3;
drawtext(br4 and filter(br4,10),l-0.09,'上升'),color00c5ff;
stickline(br4 and filter(br4,10),h,l,0.5,1),color00c5ff;
{stickline(br4 and filter(br4,10),o,c,6,1),linethick2,color00c5ff;}
cr1:=(c-ref(c,1))/ref(c,1)*100>0.5;
cr2:=v>ma(v,5)*0.6;
cr3:=count(cross(ema13,ema55),3)=1;
cr4:=abs(ema34-ema55)/ema55<0.03;
cr5:=ema55<=ema120 and ema55>=ref(ema55,1);
cr6:=filter(cr1 and cr2 and cr3 and cr4 and cr5,2);
{stickline(cr6,h,l,0.5,1),colorf00ff0;}
{stickline(cr6,o,c,6,1),linethick2,colorf00ff0;}
drawtext(cr6,l-0.09,'半金'),colorf00ff0;
dr1:=ema13>ema34 and ema34<ema55;
dr2:=barslast(cross(c,ema55) );
dr3:=h=hhv(h,dr2);
dr4:=barslast(dr3);
dr5:=count(o>c and c<ref(c,1) and c>ema55 and between((c-ema55)/ema55,0,0.02),dr4)=1;
dr6:=c>ref(c,1) ;
dr7:= dr1 and dr5 and dr6 ;
dr8:=dr7 and filter(dr7 ,10);
drawtext(dr8,l-0.09,'黑客'),colord6ba63;
{stickline(dr8,h,l,0.5,1),colord6ba63;}
stickline(dr8,o,c,2,1),linethick2,colord6ba63;
er:=barslast(ref(cross(ema55,ema34),1)) and cross(ema34,ema55);
fr:=barslast(ref(cross(ema34,ema13),1)) and cross(ema13,ema34);
drawtext(fr,l-0.09,'二金'),colormagenta;
stickline(fr,h,l,0.5,1),color0099ff;
{stickline(fr,o,c,6,1),linethick2,colorwhite;}
gr1:=barslast(between("bias.bias2"(6,13,24),0,5) );
gr2:=ema13>ema34 and ema34>ema55 and ema13>ref(ema13,1);
gr3:=count("bias.bias2"(6,13,24)>10 and h=hhv(h,gr1),gr1);
gr4:=h=hhv(h,gr1);
gr5:="macd.macd"(12,26,9)<ref("macd.macd"(12,26,9),1);
gr6:=gr2 and gr3 and gr4;
gr7:=gr2 and gr3 and gr4 and gr5;
stickline(gr6 and gr7,h,h+0.09,3,0),color00ff00;
hr2:=ema13>=ref(ema13,3) and ema34>=ref(ema34,1) and ema55>=ref(ema55,1) and cross(c,ema13) and cross(c,ema34) and cross
(c,ema55){ and cross(c,ema120)};
drawtext(hr2 and filter(hr2,10),l-0.09,'推进'),colorffc8ff;
{stickline(hr2 and filter(hr2,10),h,l,0.5,1),colorffc8ff;
stickline(hr2 and filter(hr2,10),o,c,6,1),linethick2,colorffc8ff;};
ry1:=c/open>1.04;{阳线4%}
ry2:=ref(open,1)/ref(close,1)>1.04;{阴线4%}
ry3:=abs(open-ref(c,1))<c*0.02 and abs(c-ref(open,1))<c*0.02;{两线相等}
drawtext(ry1 and ry2 and ry3 ,low,'日月合璧'),colorlired;
上升三部曲:=ref(close,4)/ref(open,4)>1.03 and ref(close,3)<ref(open,3) and ref(close,2)<ref(open,2) and ref(close,1)<ref(open,1) and
ref(low,4)<ref(low,3) and ref(low,4)<ref(low,2) and ref(low,4)<ref(low,1) and ref(high,4)>ref(high,3) and ref(high,4)>ref(high,2) and
ref(high,4)>ref(high,1) and close/open>1.03 and close>ref(close,4);
曙光初现:=ref(close,1)/ref(open,1)<0.97 and close/open>1.03 and open<ref(close,1) and close>ref(close,1);
drawtext(上升三部曲,h,'←上升')colorlired;
drawtext(曙光初现,l,'←曙光')color0099ff;

x1:=xma(c,3);
x2:=xma(x1,5);
x3:=ema(x2,1);
x22:=xma(x2,2);
x33:=ma(x3,5);
stickline(x22>=x33,x22,x33,4,1),colorred;
stickline(x22<x33,x22,x33,6,1), colorcyan;
drawicon(longcross(x22,x33,0.001),l*0.98,5);
drawicon(longcross(x33,x22,0.001),h*1.01,6);
stickline(x2>=x33,x22,x33,1,1),colormagenta;
stickline(x2<x33,x22,x33,3,2), colorgreen;
drawicon(longcross(x2,x3,0.001),x2*0.96,11);
drawicon(longcross(x3,x2,0.001),x3*1.015,12);
m2:=ema(open,3);
hh5:=xma(close,7);
drawicon(cross(hh5,m2),l*0.995,7);
drawicon(cross(m2,hh5),h*1.01,8);


优化牛熊均线(图很漂亮噢)

  >>>使用本站搜索工具可以找到更多优化牛熊均线图很漂亮噢公式 飞狐均线优化指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文优化牛熊均线图很漂亮噢公式 飞狐均线优化指标 源码仅供学习研究。

猜你喜欢

学了又学