ma2:=(ref(c,2)+ref(c,1)+c)/3,nodraw;
partline(ma2,ma2<ref(ma2,1),rgb(255,255,0),ma2>=ref(ma2,1),rgb(255,0,0),1,rgb(255,255,0));
stickline(ma2>=ref(ma2,1) ,c,o,9,1) ,colorred;
stickline(ma2>=ref(ma2,1) ,h,max(c,o),1,1) ,colorred;
stickline(ma2>=ref(ma2,1) ,l,min(c,o),1,1) ,colorred;
stickline(ma2<ref(ma2,1) ,c,o,9,1) ,colorwhite;
stickline(ma2<ref(ma2,1) ,h,max(c,o),1,1) ,colorwhite;
stickline(ma2<ref(ma2,1) ,l,min(c,o),1,1) ,colorwhite;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
买1:=var10;//www.goodgongshi.com
买2:=(var11+var13+var15+var17);
卖1:=(var12+var14+var16+var18);
b:if(买1>0 or 买2>0,low*0.99,drawnull),crossdot,linethick3,coloryellow;
drawtext(买1>0 or 买2>0,low*0.99,'买'),colorred;
s:if(卖1>0,high*1.01,drawnull),crossdot,linethick3,colorgreen;
drawtext(卖1>0,high*1.02,'卖'),colorgreen;
drawtext(var11 and count(var11,30)=1,low*0.95,'机构进场'),linethick1,colorff00ff;
e:zig(3,5);
partline(e,e>ref(e,1),rgb(255,85,5),e),colorblue,linethick2;
g:=zig(1,3);//www.goodgongshi.com
partline(g,g>ref(g,1),rgb(255,85,5),g),colorblue,linethick2;
买点1:=(var11+var13+var15+var17);买点2:=(var13+var15+var17);卖点1:=(var12+var14+var16+var18);
卖点2:=(var14+var16+var18);
stickline( 买点1>0 ,h,l, 10,1),colormagenta,linethick1;stickline( 买点1>0,o,c,6,0),colormagenta,linethick1;
stickline( 买点2>0 ,h,l, 10,1),colormagenta,linethick1;stickline( 买点2>0,o,c,6,0),colormagenta,linethick1;
stickline( 卖点1>0,h,l, 11,5),coloryellow,linethick1;stickline( 卖点1>0,o,c,6,0),coloryellow,linethick1;
stickline( 卖点2>0,h,l, 11,5),coloryellow,linethick1;stickline( 卖点2>0,o,c,6,0),coloryellow,linethick1;
drawtext(卖点2>0, h,'顶'),coloryellow,linethick3;
drawtext(买点2>0, l,'底'),colormagenta,linethick3;
红轨道:=ma(ma(close,3),1),linethick1,coloryellow;
绿轨道:=ma(ma(close,3),3);
上升:if(红轨道>=绿轨道,绿轨道,drawnull),coloryellow,linethick5;
红轨道:=ma(ma(close,3),1),linethick1,coloryellow;
绿轨道:=ma(ma(close,3),3);
下升:if(绿轨道>=红轨道,红轨道,drawnull),colorblue,linethick5;
买线:=zig(1,3);
卖线:=ma(买线,3);
stickline(买线<卖线,h,l,0,0),colorgreen;
stickline(买线<卖线,c,o,10,0),color007700;
stickline(买线<卖线,c,o,9,0),color008e00;
stickline(买线<卖线,c,o,8,0),color009900;
stickline(买线<卖线,c,o,7,0),color00a600;
stickline(买线<卖线,c,o,6,0),color00b500;
stickline(买线<卖线,c,o,5,0),color00c600;
stickline(买线<卖线,c,o,4,0),color00d500;
stickline(买线<卖线,c,o,3,0),color00e600;
stickline(买线>=卖线,h,l,1,0),color0000ff;
stickline(买线>=卖线,c,o,10,0),color0000a3;
stickline(买线>=卖线,c,o,9,0),color0000b7;
stickline(买线>=卖线,c,o,7,0),color0000c8;
stickline(买线>=卖线,c,o,6,0),color0000d9;
stickline(买线>=卖线,c,o,5,0),color0000cd;
stickline(买线>=卖线,c,o,4,0),color0000e9;
stickline(买线>=卖线,c,o,3,0),color0000ea;
stickline(买线>=卖线,c,o,2,0),color0000ff;
var1:=zig(3,2.88)<ref(zig(3,2.88),1) and ref(zig(3,2.88),1)>ref(zig(3,2.88),2);
var2:=zig(3,2.88)>ref(zig(3,2.88),1) and ref(zig(3,2.88),1)<ref(zig(3,2.88),2);
stickline(var1,c,o,8,0),color00ff00;
stickline(var1,c,o,5,0),color00ff00;
stickline(var1,h,l,2,0),color00ff00;
drawtext(var1,h*1.007,' 上阻力'),color80ffff;
stickline(var2,c,o,7,0),color0000ff;
stickline(var2,c,o,5,0),color0000ff;
stickline(var2,h,l,2,0),color0000ff;
drawtext(var2,l*0.993,' 下阻力'),color43d0fa;
var3:=zig(3,4.88)<ref(zig(3,4.88),1) and ref(zig(3,4.88),1)>ref(zig(3,4.88),2);
var4:=zig(3,4.88)>ref(zig(3,4.88),1) and ref(zig(3,4.88),1)<ref(zig(3,4.88),2);
stickline(var3,c,o,8,0),color00ff00;
stickline(var3,c,o,5,0),color00ff00;
stickline(var3,h,l,2,0),color00ff00;
var9:=zig(3,8.88)<ref(zig(3,8.88),1) and ref(zig(3,8.88),1)>ref(zig(3,8.88),2);
var10:=zig(3,8.88)>ref(zig(3,8.88),1) and ref(zig(3,8.88),1)<ref(zig(3,8.88),2);
drawtext(var9,h*1.007,'强上阻力■'),color00ff00;
drawtext(var10,l*0.993,'强下阻力■■'),color00ffff;
var13:=zig(3,15.88)<ref(zig(3,15.88),1) and ref(zig(3,15.88),1)>ref(zig(3,15.88),2);
var14:=zig(3,15.88)>ref(zig(3,15.88),1) and ref(zig(3,15.88),1)<ref(zig(3,15.88),2);
drawtext(var13,h*1.02,'★★★大逆转 趋势'),color00ff00;
drawtext(var14,l*0.975,'★★★大逆转 趋势'),color00ffff;
上一指标公式:黄金分割指标公式详解 同花顺黄金分割
下一指标公式:七日线战法指标公式详解 同花顺战法
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文杨氏波浪主图指标公式详解 同花顺波浪仅供学习研究。