牛熊波浪
量比:=v/ema(v,20);
c1:=(c+2*h+l+o)/5;
a1:=ema((ema(c1,2)+ema(c1,4)+ema(c1,6))/3,3);
a2:=ema((ema(c1,6)+ema(c1,8)+ema( c1,10))/3,3);
a3:=ema((ema(c1,10)+ema(c1,12)+ema( c1,14))/3,3);
a4:=ema((ema(c1,14)+ema(c1,16)+ema( c1,18))/3,3);
a5:=ema((ema(c1,18)+ema(c1,20)+ema( c1,22))/3,3);
a6:=ema((ema(c1,22)+ema(c1,24)+ema(c1,26))/3,3);
a:=ema((ema(c1,29)+ema(c1,31)+ema(c1,33))/3,3),colorwhite;
partline(c1>a,a),colormagenta,linethick2;
partline(c1<a,a),colorgreen,linethick2;
partline(a1>ref(a1,1),a1),colormagenta,pointdot;
partline(a2>ref(a2,1),a2),colormagenta,pointdot;
partline(a3>ref(a3,1),a3),colormagenta,pointdot;
partline(a4>ref(a4,1),a4),colormagenta,pointdot;
partline(a5>ref(a5,1),a5),colormagenta,pointdot;
partline(a6>ref(a6,1),a6),colormagenta,pointdot;
partline(a1<ref(a1,1),a1),colorgreen,pointdot;
partline(a2<ref(a2,1),a2),colorgreen,pointdot;
partline(a3<ref(a3,1),a3),colorgreen,pointdot;
partline(a4<ref(a4,1),a4),colorgreen,pointdot;
partline(a5<ref(a5,1),a5),colorgreen,pointdot;
partline(a6<ref(a6,1),a6),colorgreen,pointdot;
tj:=c1>a;
tj2:=c1>open or c1=open and c1>ref(c1,1);
stickline(tj2,high,low,0.5,0),colorred;
stickline(tj,open,close,8,0),color102088;
stickline(tj,open,close,7,0),color102099;
stickline(tj,open,close,6,0),color1020aa;
stickline(tj,open,close,5,0),color1020bb;
stickline(tj,open,close,4,0),color1020cc;
stickline(tj,open,close,3,0),color1020dd;
stickline(tj,open,close,2,0),color1020ee;
stickline(tj,open,close,1,0),color1020ff;
stickline(not(tj),open,close,8,0),colorff7700;
stickline(not(tj),open,close,7,0),colorff8800;
stickline(not(tj),open,close,6,0),colorff9900;
stickline(not(tj),open,close,5,0),colorffaa00;
stickline(not(tj),open,close,4,0),colorffbb00;
stickline(not(tj),open,close,3,0),colorffcc00;
stickline(not(tj),open,close,2,0),colorffdd00;
stickline(not(tj),open,close,1,0),colorffee00;
c11:=ref(c,1);
c2:=hhv(c11,2);
c3:=llv(c11,1);
et:=hhv(c11,2);
et1:=ref(et,1);
xb:=llv(c11,1);
xb1:=ref(xb,1);
m:=barslast(c<xb and c11>=xb1);
m1:=ref(m,1);
n9:=barslast(c>et and c11<=et1);
n1:=ref(n9,1);
m2:=barslast(m-n9>0 and m1<=n1)+1;
n2:=barslast(n9-m>0 and n1<=m1)+1;
et2:=hhv(et,m2);
xb2:=llv(xb,n2);
app:=if(m-n9>0 and m1<=n1,1,if(n9-m>0 and n1<=m1,0,2));
h11:=if(m-n9>0,c,et2);
h2:=if(app=1,c,c2);
h3:=if(m-n9<0,c,xb2);
h4:=if(app=1,c,xb2);
关键位:=if(m-n9>0or app=1 ,c,h3);
p1:=l<a and c>a and 量比>1and a1>ref(a1,1)and 关键位>ref(关键位,1) or cross(c,a) and 量比>1 and 关键位>ref(关键位,1);
drawtext(p1,l*0.99,'买'),colorgreen,align0;
量比:=v/ema(v,20);
c1:=(c+2*h+l+o)/5;
a1:=ema((ema(c1,2)+ema(c1,4)+ema(c1,6))/3,3);
a2:=ema((ema(c1,6)+ema(c1,8)+ema( c1,10))/3,3);
a3:=ema((ema(c1,10)+ema(c1,12)+ema( c1,14))/3,3);
a4:=ema((ema(c1,14)+ema(c1,16)+ema( c1,18))/3,3);
a5:=ema((ema(c1,18)+ema(c1,20)+ema( c1,22))/3,3);
a6:=ema((ema(c1,22)+ema(c1,24)+ema(c1,26))/3,3);
a:=ema((ema(c1,29)+ema(c1,31)+ema(c1,33))/3,3),colorwhite;
partline(c1>a,a),colormagenta,linethick2;
partline(c1<a,a),colorgreen,linethick2;
partline(a1>ref(a1,1),a1),colormagenta,pointdot;
partline(a2>ref(a2,1),a2),colormagenta,pointdot;
partline(a3>ref(a3,1),a3),colormagenta,pointdot;
partline(a4>ref(a4,1),a4),colormagenta,pointdot;
partline(a5>ref(a5,1),a5),colormagenta,pointdot;
partline(a6>ref(a6,1),a6),colormagenta,pointdot;
partline(a1<ref(a1,1),a1),colorgreen,pointdot;
partline(a2<ref(a2,1),a2),colorgreen,pointdot;
partline(a3<ref(a3,1),a3),colorgreen,pointdot;
partline(a4<ref(a4,1),a4),colorgreen,pointdot;
partline(a5<ref(a5,1),a5),colorgreen,pointdot;
partline(a6<ref(a6,1),a6),colorgreen,pointdot;
tj:=c1>a;
tj2:=c1>open or c1=open and c1>ref(c1,1);
stickline(tj2,high,low,0.5,0),colorred;
stickline(tj,open,close,8,0),color102088;
stickline(tj,open,close,7,0),color102099;
stickline(tj,open,close,6,0),color1020aa;
stickline(tj,open,close,5,0),color1020bb;
stickline(tj,open,close,4,0),color1020cc;
stickline(tj,open,close,3,0),color1020dd;
stickline(tj,open,close,2,0),color1020ee;
stickline(tj,open,close,1,0),color1020ff;
stickline(not(tj),open,close,8,0),colorff7700;
stickline(not(tj),open,close,7,0),colorff8800;
stickline(not(tj),open,close,6,0),colorff9900;
stickline(not(tj),open,close,5,0),colorffaa00;
stickline(not(tj),open,close,4,0),colorffbb00;
stickline(not(tj),open,close,3,0),colorffcc00;
stickline(not(tj),open,close,2,0),colorffdd00;
stickline(not(tj),open,close,1,0),colorffee00;
c11:=ref(c,1);
c2:=hhv(c11,2);
c3:=llv(c11,1);
et:=hhv(c11,2);
et1:=ref(et,1);
xb:=llv(c11,1);
xb1:=ref(xb,1);
m:=barslast(c<xb and c11>=xb1);
m1:=ref(m,1);
n9:=barslast(c>et and c11<=et1);
n1:=ref(n9,1);
m2:=barslast(m-n9>0 and m1<=n1)+1;
n2:=barslast(n9-m>0 and n1<=m1)+1;
et2:=hhv(et,m2);
xb2:=llv(xb,n2);
app:=if(m-n9>0 and m1<=n1,1,if(n9-m>0 and n1<=m1,0,2));
h11:=if(m-n9>0,c,et2);
h2:=if(app=1,c,c2);
h3:=if(m-n9<0,c,xb2);
h4:=if(app=1,c,xb2);
关键位:=if(m-n9>0or app=1 ,c,h3);
p1:=l<a and c>a and 量比>1and a1>ref(a1,1)and 关键位>ref(关键位,1) or cross(c,a) and 量比>1 and 关键位>ref(关键位,1);
drawtext(p1,l*0.99,'买'),colorgreen,align0 ;
上一指标公式:波浪+趋势+智能切线画线公式下载 飞狐波浪公式指标 源码
下一指标公式:等周期画线公式下载 飞狐公式周期指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文牛熊波浪公式下载 飞狐源码指标 源码仅供学习研究。