趋势波段顶底
n:=90;
方向线:4*sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1)-
3*sma(sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1),3.2,1), color00ffff ,linethick1;
n:=10;
趋势:4*sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1)-
3*sma(sma((close-llv(low,n))/(hhv(high,n)-llv(low,n))*100,5,1),3.2,1),colorred,linethick2;
底线:if(趋势<=8,5,0),colorgreen,linethick2;
上穿必涨:if(趋势<=28,25,20),colorbrown,linethick2;
中线5:if(趋势<=53,50,45),colorwhite,linethick1;
下破必跌:if(趋势<=90,85,80),colorbrown,linethick2;
頂线11:if(趋势<=105,100,95),color00ff00,linethick2;
顶:if(趋势<=118,115,110),colorgreen,linethick2;
var3:=llv(high,240);
var4:=100*(close-var3)/var3;
var5:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;
var6:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;
var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;
var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;
vara:=barscount(close);
varb:=var8<20 and var9<23 and vara>35;
varc:=varb and count(varb,1)=1;
vard:=ema(close,21)-ema(close,8);
vare:=ema(vard,5);
varf:=troughbars(3,6,1)<4 and cross(vard,vare);
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);
var19:=ema(close,2)-ema(close,150);
var1a:=ema(var19,100);
var1b:=2*(var19-var1a);
var1c:=pow(var1b,3)*0.1+pow(var1b,1);
var1d:=sqrt(sqrt(low*high*open*close));
var1e:=ema(var1d*0.97,3);
var1f:=(high+low+close)/3;
var20:=(var1f-ma(var1f,14))/(0.015*avedev(var1f,14));
var21:=cross(var1e,low);
大底: var10*16,coloryellow;
组合买: (var11+var13+var15+var17)*20, colorred;
组合卖: (var12+var14+var16+var18)*17, colorgreen;
黑马线: if(month<2008 and var1b>0.1,var1c,0)*0.000005, color6699cc;
黑马信号介入点: 大底 and varf and varc and var21 and var4<0 and var5<2 and var6=0, colorffff99;
x1: 0;//www.goodgongshi.com
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,20);
var4:=ma(close,30);
var5:=(var1+var2+var3+var4)/4;
var6:=(var5-ref(var5,5))/ref(var5,5)*1500;
var7:=(var5-ref(var5,5))/ref(var5,5)*1500;
var8:=ema(var6,8);
var9:=troughbars(3,15,1)<10;
var10:=peakbars(3,15,1)<10;
var11:=if(var9=1,50,0);
var12:=if(var10=1,50,0);
底部:= if(var11=50,50,0);
头部:= if(var12=50,100,0);
买:if( 底部>ref(底部,1),70,0),colormagenta;
卖:if(头部>ref(头部,1),70,0),colorgray;
drawtext(买=70,74,'买' ),colorred,linethick2;
drawtext(卖=70,74,'卖'),colorffffff,linethick2;
var2:=llv(low,25);//www.goodgongshi.com
var3:=hhv(high,50);
动力线:= ema((close-var2)/(var3-var2)*110,4);
stickline(动力线>ref(动力线,1) ,动力线 ,ref(动力线,1),8 ,1),colorred;
stickline(动力线<=ref(动力线,1) ,动力线 ,ref(动力线,1),8 ,1),colorgreen;
数值:动力线,colorffffff;
上一指标公式:蓉缠论2缠中说禅形态选股指标公式详解 同花顺选股形态
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文趋势波段顶底指标公式详解 同花顺波段仅供学习研究。