n:=16;
m:=2;
lowv:=llv(low,n);
highv:=hhv(high,n);
rsv:=ema((close-lowv)/(highv-lowv)*100,m);
k:ema(rsv,m);
d:ma(k,m);
顶线:90,colorgreen,linethick2;
中线: 50,colorred;
底线:10,colorwhite;
rsv:= (c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
fastk:=sma(rsv,3,1);
y1a:=((sma(fastk,3,1))/2+40)*1.1;
线上牛:sma(y1a,3,1),colorwhite;
rsv1:= (hhv(h,9)-c)/(hhv(h,9)-llv(l,9))*100;
y2a:=(sma(rsv1,3,1)/2)*1.1;
线下熊:sma(y2a,3,1),colorgreen;
v9:=troughbars(3,15,1)<10; v11:=if(v9=1,50,0);
底部:= if(v11=50,50,0);
v10:=peakbars(3,15,1)<10; v12:=if(v10=1,50,0);
头部:= if(v12=50,100,0);
v6:=close/ref(close,2)>=1.1;
v7:=backset(v6,2);
买:if((v7 and count(v7,3)=1),50,0),colormagenta,linethick2;
头部:= if(v12=50,100,0);
卖:if(头部>ref(头部,1),50,0),colorgreen,linethick2;drawtext(卖,50,'★高顶出货 '),colorgreen;
底部:= if(v11=50,50,0);
买:if( 底部>ref(底部,1),25,0),coloryellow,linethick3; drawtext(买,30,'★主力抄底 '),coloryellow;
n:=5;
c0:=(h+l+c)/3;
a1:=hhv(c0,n);
a2:=llv(c0,n);
a3:=a1-a2;
a4:=ema((c0-a2)/a3,2)*100;
b1:=hhv(c0,4*n);
b2:=llv(c0,4*n);
b3:=b1-b2;
b4:=ema((c0-b2)/b3,2)*100;
c1:=hhv(c0,16*n);c2:=llv(c0,16*n);c3:=c1-c2;
c4:=ema((c0-c2)/c3,2)*100;
j:a4,colorred,linethick2;
varc:=(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))and (ref(zig(3,6),3)<=ref(zig(3,6),4));
vard:=(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))and (ref(zig(3,6),3)>=ref(zig(3,6),4));
drawtext((varc=1),(15),'★短买'),color0000ff;
drawtext((vard=1),88,'★短卖'),color00ff00;
varf:=troughbars(3,15,1)<4;
var11:=if(varf=1,50,0);
drawtext(filter(varf=1,3),1,'▲买进'),colorred;
var3:=peakbars(3,15,1)<10;
var5:=if(var3=1,2,0);
顶:= if(var5=2,2,0);
顶a:=if(顶>ref(顶,1),100,0),colorgreen;
drawtext(顶a=100,90,'▼卖出'),color00ff00;
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);
选股买点: var10, coloryellow;
drawtext(var13,9.6,'确定买进'), colorred;
drawicon(选股买点>0,4.2,1);
drawtext(var17,22.3,'发现黑马'), colorff6600;
上一指标公式:分水线指标公式详解 同花顺分水线
下一指标公式:黑牛均线图指标公式详解 同花顺均线
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文辅助趋势线指标公式详解 同花顺辅助仅供学习研究。