好公式网用指标公式为投资注入科技力量!
您的位置:好公式网飞狐公式波浪买卖点公式 飞狐波浪指标 源码

波浪买卖点公式 飞狐波浪指标 源码

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

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:波浪买卖点公式 飞狐波浪指标 源码

{波浪买卖点}
{n:=6;}

v1:=ma(high,30)*1.15;
v2:=ma(high,3)*1.03;
v3:=ma(low,3)*0.97;
v4:=ma(low,30)*0.85;
{}
get:zig(3,n),coloryellow;
pl5:=zig(3,5);
en1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)<=ref(zig(3,5),2) and ref(zig(3,5),2)<=ref(zig(3,5),3);
ex1:=zig(3,5)<ref(zig(3,5),1) and ref(zig(3,5),1)>=ref(zig(3,5),2) and ref(zig(3,5),2)>=ref(zig(3,5),3);
pl10:=zig(3,10);
en2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<=ref(zig(3,10),2) and ref(zig(3,10),2)<=ref(zig(3,10),3);
ex2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>=ref(zig(3,10),2) and ref(zig(3,10),2)>=ref(zig(3,10),3);
pl20:=zig(3,20);
en3:=zig(3,20)>ref(zig(3,20),1) and ref(zig(3,20),1)<=ref(zig(3,20),2) and ref(zig(3,20),2)<=ref(zig(3,20),3);
ex3:=zig(3,20)<ref(zig(3,20),1) and ref(zig(3,20),1)>=ref(zig(3,20),2) and ref(zig(3,20),2)>=ref(zig(3,20),3);
pl40:=zig(3,40);
走强1:=barslast(pl5<ref(pl5,1));
走弱1:=barslast(pl5>ref(pl5,1));
走强2:=barslast(pl10<ref(pl10,1));
走弱2:=barslast(pl10>ref(pl10,1));
走强3:=barslast(pl20<ref(pl20,1));
走弱3:=barslast(pl20>ref(pl20,1));
ztjz5:=if(pl10>ref(pl10,1),count(en1,走强2),0);
ztjd5:=if(pl10>ref(pl10,1),count(ex1,走强2),0);
dtjz5:=if(pl10<ref(pl10,1),count(en1,走弱2),0);
dtjd5:=if(pl10<ref(pl10,1),count(ex1,走弱2),0);
ztjz10:=if(pl20>ref(pl20,1),count(en2,走强3),0);
ztjd10:=if(pl20>ref(pl20,1),count(ex2,走强3),0);
dtjz10:=if(pl20<ref(pl20,1),count(en2,走弱3),0);
dtjd10:=if(pl20<ref(pl20,1),count(ex2,走弱3),0);
drawtext(en1 and dtjz5=1,l*0.98,'㈠'),colorffff00;
drawtext(ex1 and dtjd5=2,h*1.02,'㈡'),colorffff00;
drawtext(en2 and ztjz5=1,l*0.98,'㈢买'),colorffff00;
drawtext(ex1 and pl10>ref(pl10,1) and ztjd5=1,h*1.02,'⑴'),color0000ff;
drawtext(en1 and pl10>ref(pl10,1) and ztjz5=2,l*0.98,'⑵'),color0000ff;
drawtext(ex1 and pl10>ref(pl10,1) and ztjz5=2,h*1.02,'⑶'),color0000ff;
drawtext(en1 and pl10>ref(pl10,1) and ztjz5=3,l*0.98,'⑷'),color0000ff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.02,'⑸'),color0000ff;
drawtext(en2 and dtjz10=1,l*0.94,'ⅰ'),colorff6000;
drawtext(ex2 and dtjd10=2,h*1.06,'ⅱ'),colorff6000;
drawtext(en3 and ztjz10=1,l*0.91,'ⅲ大买'),color0000ff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=1,h*1.06,'①'),linethick3,color00ffff;
drawtext(en2 and pl20>ref(pl20,1) and ztjz10=2,l*0.91,'②'),linethick3,color00ffff;
drawtext(ex2 and pl20>ref(pl20,1) and ztjd10=2 or (ztjd10=0 or ztjd10=2) and ex2,h*1.06,'③卖'),linethick3,color00ffff;
drawtext(en2 and pl20>ref(pl20,1) and ztjz10=3,l*0.94,'④'),linethick3,color00ff00;

{预测量}
预测额:=if(date<>currentdate or openminutes(currenttime)=1,amount,(amount/openminutes(currenttime))*240), linethick;
an:=20;
sat:=if((预测额/close)/(hhv(预测额,an)/hhv(close,an))*100>100,100,(预测额/close)/(hhv(预测额,an)/hhv(close,an))*100);
预测量:=if(date<>currentdate or openminutes(currenttime)=1,vol,(vol/openminutes(currenttime))*240), linethick;
量:=vol;
drawtextex(close,1,120,140,'预测额:'+numtostr(预测额,2)),colorffff66;
drawtextex(close,1,120,100,'预测量:'+numtostr(预测量,2)),colorffff66;
drawtextex(close,1,120,60,'量:'+numtostr(量,2)),colorffff66;
{支撑阻力}
gj:=if(close=indexc,(indexc+indexh+indexl+indexo)/4,amount/(vol+0.01)/100);
明日阻力:=low+(gj-low)+(close-low);
明日支撑:=low+(close-gj);
今日阻力:=ref(明日阻力 , 1);
今日支撑:=ref(明日支撑 , 1);
mc:=ref(close,1);
{止损位}
vaa:=hhv(high,2);
vab:=vaa*0.95;

drawtextex(close,1,410,440,'[今日 止损位 :'+numtostr(vab,2)+']'),linethick1,color00ff00;
drawnumber(barstatus=2and vab,vab-0.02,vab,2),colorwhite;{横线位置数字}
stickline(barstatus=2and vab,vab,vab,30,0),linethick2,coloryellow;{2天前的最高价下划横线}
drawtext(barscount(close)=sysparam(1),vab,'←5%止损位线'),shift2,pxup10,color00ff;
drawtextex(close,1,410,80,'---------------'),colorffffff;
drawtextex(close,1,410,160,'---------------'),colorffffff;
drawtextex(close,1,410,240,'---------------'),colorffffff;
drawtextex(close,1,410,320,'---------------'),colorffffff;
drawtextex(close,1,410,400,'---------------'),colorffffff;
drawtextex(close,1,410,120,'今日支撑=:'+numtostr(今日支撑,2)+''),colorffff;
drawtextex(close,1,410,200,'今日阻力=:'+numtostr(今日阻力,2)+''),colorff00;
drawtextex(close,1,410,280,'明日支撑=:'+numtostr(明日支撑,2)),colorff00ff;
drawtextex(close,1,410,360,'明日阻力=:'+numtostr(明日阻力,2)),colorffff00;
{画线}
aa:=ref(high,n)=hhv(high,2*n+1);
aaa:=filter(aa,n);
bb:=backset(aaa,n+1);
cc1:=filter(bb,n);
cc:=cc1 or islastbar;
aa2:=ref(low,n)=llv(low,2*n+1);
aaa2:=filter(aa2,n);
bb2:=backset(aaa2,n+1);
cc22:=filter(bb2,n);
cc2:=cc22 and not(cc1);
ea:=backset(cc,ref(barslast(cc2),1)+1);
eb:=ea>ref(ea,1);
ee:=backset(eb,2);
ff1:=ee>ref(ee,1);
ee2:=backset(ff1 and count(cc,ref(barslast(cc2),1)+2)=0,ref(barslast(cc2),1)+2);
ff2:=ee2>ref(ee2,1);
ee3:=backset(ff2 and count(cc,ref(barslast(cc2),1)+2)=0,ref(barslast(cc2),1)+2);
ff3:=ee3>ref(ee3,1);
js:=if(cc,count(cc2,ref(barslast(cc),1)+1),0);
g1:=if(js=1 and cc,barslast(ff1),0);
ga:=if(cc and ref(low,barslast(ff1))>=ref(low,barslast(ff2)),barslast(ff2),barslast(ff1));
g2:=if(js=2 and cc,ga,0);
g3:=if(js>=3 and cc,if(cc and ref(low,ga)>=ref(low,barslast(ff3)),barslast(ff3),ga),0);
gg:=g1+g2+g3;
ja:=backset(cc,gg);
jb:=ja>ref(ja,1);
jj:=backset(jb,2);
ld:=jj>ref(jj,1);
ld1:=ld or islastbar;
hea:=backset(ld1,ref(barslast(cc),1)+1);
heb:=hea>ref(hea,1);
hee:=backset(heb,2);
hff1:=hee>ref(hee,1);
hee2:=backset(hff1 and count(ld1,ref(barslast(cc),1)+2)=0,ref(barslast(cc),1)+2);
hff2:=hee2>ref(hee2,1);
hee3:=backset(hff2 and count(ld1,ref(barslast(cc),1)+2)=0,ref(barslast(cc),1)+2);
hff3:=hee3>ref(hee3,1);
hjs:=if(ld1,count(cc1,ref(barslast(ld1),1)+1),0);
hg1:=if(hjs=1 and ld1,barslast(hff1),0);
hga:=if(ld1 and ref(high,barslast(hff1))<=ref(high,barslast(hff2)),barslast(hff2),barslast(hff1));
hg2:=if(hjs=2 and ld1,hga,0);
hg3:=if(hjs>=3 and ld1,if(ld1 and ref(high,hga)<=ref(high,barslast(hff3)),barslast(hff3),hga),0);
hgg:=hg1+hg2+hg3;
hja:=backset(ld1,hgg);
hjb:=hja>ref(hja,1);
hjj:=backset(hjb,2);
hd:=hjj>ref(hjj,1);
x1:=backset(islastbar,barslast(ld)+1);
x2:=x1>ref(x1,1);
y1:=backset(islastbar,barslast(hd)+1);
y2:=y1>ref(y1,1);
z1:=if(barslast(x2)<barslast(y2),x2,y2);
z2:=if(barslast(x2)<barslast(y2),low,high);
drawline(z1,z2,islastbar,close,0),pointdot,colorff9900;
uu:=backset(islastbar,barslast(ld)+1);
vv:=uu>ref(uu,1);
ww:=backset(vv,ref(barslast(ld),1)+2);
xx:=ww>ref(ww,1);
drawline(xx,low,vv,low,1),pointdot,colorffff;
uu2:=backset(islastbar,barslast(hd)+1);
vv2:=uu2>ref(uu2,1);
ww2:=backset(vv2,ref(barslast(hd),1)+2);
xx2:=ww2>ref(ww2,1);
drawline(xx2,high,vv2,high,1),pointdot,colorffff;
drawicon(hd and xx2,high*1.002,12);
drawicon(ld and xx,low*1.002,10);
高1:ref(high,barslast(vv2)),pointdot,color99ff66;
高2:ref(high,barslast(xx2)),pointdot,colorff66ff;
低1:ref(low,barslast(vv)),pointdot,color99ff66;
低2:ref(low,barslast(xx)),pointdot,colorff66ff;


波浪买卖点

  >>>使用本站搜索工具可以找到更多波浪买卖点公式 飞狐波浪指标 源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文波浪买卖点公式 飞狐波浪指标 源码仅供学习研究。

猜你喜欢

学了又学