var1:=close>ref(close,1) and close>ref(close,2);
var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2);
var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2);
var4:=ref(var3,1) and close<=ref(close,1) and close>=ref(close,2);
var5:=ref(var4,1) and close>=ref(close,1) and close<=ref(close,2);
var6:=ref(var5,1) and close<=ref(close,1) and close>=ref(close,2);
var7:=ref(var6,1) and close>=ref(close,1) and close<=ref(close,2);
var8:=ref(var7,1) and close<=ref(close,1) and close>=ref(close,2);
var9:=ref(var8,1) and close>=ref(close,1) and close<=ref(close,2);
vara:=ref(var9,1) and close<=ref(close,1) and close>=ref(close,2);
varb:=ref(vara,1) and close>=ref(close,1) and close<=ref(close,2);
varc:=ref(varb,1) and close<=ref(close,1) and close>=ref(close,2);
stickline(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,close,ref(close,1),3.1,0),color000055;
stickline(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,close,ref(close,1),2.7,0),color000077;
stickline(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,close,ref(close,1),2.1,0),color000099;
stickline(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,close,ref(close,1),1.5,0),color0000bb;
stickline(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,close,ref(close,1),0.9,0),color0000dd;
stickline(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,close,ref(close,1),0.3,0),color0000ff;
vard:=close<ref(close,1) and close<ref(close,2);
vare:=ref(vard,1) and close>=ref(close,1) and close<=ref(close,2);
varf:=ref(vare,1) and close<=ref(close,1) and close>=ref(close,2);
var10:=ref(varf,1) and close>=ref(close,1) and close<=ref(close,2);
var11:=ref(var10,1) and close<=ref(close,1) and close>=ref(close,2);
var12:=ref(var11,1) and close>=ref(close,1) and close<=ref(close,2);
var13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2);
var14:=ref(var13,1) and close>=ref(close,1) and close<=ref(close,2);
var15:=ref(var14,1) and close<=ref(close,1) and close>=ref(close,2);
var16:=ref(var15,1) and close>=ref(close,1) and close<=ref(close,2);
var17:=ref(var16,1) and close<=ref(close,1) and close>=ref(close,2);
var18:=ref(var17,1) and close>=ref(close,1) and close<=ref(close,2);
stickline(vard or vare or varf or var10 or var11 or var12 or var13 or var14
or var15 or var16 or var17 or var18,close,ref(close,1),3.1,0),color00aaff;
stickline(vard or vare or varf or var10 or var11 or var12 or var13 or var14
or var15 or var16 or var17 or var18,close,ref(close,1),2.7,0),color00ddff;
stickline(vard or vare or varf or var10 or var11 or var12 or var13 or var14
or var15 or var16 or var17 or var18,close,ref(close,1),2.1,0),color00eeff;
stickline(vard or vare or varf or var10 or var11 or var12 or var13 or var14
or var15 or var16 or var17 or var18,close,ref(close,1),1.5,0),color22ffff;
stickline(vard or vare or varf or var10 or var11 or var12 or var13 or var14
or var15 or var16 or var17 or var18,close,ref(close,1),0.9,0),color99ffff;
stickline(vard or vare or varf or var10 or var11 or var12 or var13 or var14
or var15 or var16 or var17 or var18,close,ref(close,1),0.3,0),colorffffff;
var19:=ref(vard or vare or varf or var10 or var11 or var12 or var13 or var14 or var15 or var16 or var17 or var18,1) and var1;
stickline(var19,ref(close,1),ref(close,2),3,0),colormagenta;
var1a:=ref(var1 or var2 or var3 or var4 or var5 or var6 or var7 or var8 or var9 or vara or varb or varc,1) and vard;
stickline(var1a,ref(close,1),ref(close,2),3,0),color008800;
rsv:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
rsv24:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;
k24:=sma(rsv24,3,1);
d24:=sma(k24,3,1);
j24:=3*k24-2*d24;
压力位:if(cross(j24,j),h,ref(h,barslast(cross(j24,j)))),color00ff33,linethick1;
支撑位:if(cross(j,j24),l,ref(l,barslast(cross(j,j24)))),colorcc33cc,linethick1;
支撑价:llv(low,23) ,color7fff00,linethick2;
阻力价:hhv(high,23),colorff9900, linethick2;
a1:=barslast(ref(cross("macd.dif","macd.dea"),1));
drawtext(ref(c,a1+1)>c and ref("macd.dif",a1+1)<"macd.dif" and cross("macd.dif","macd.dea")>0,l-0.02,'★m'),color00ffff;{macd底背离}
a2:=barslast(ref(cross("kdj.k","kdj.d"),1));
drawtext(ref(c,a2+1)>c and ref("kdj.k",a2+1)<"kdj.k" and cross("kdj.k","kdj.d"),l-0.10,'◎k'),colorff00ff;{kdj底背离}
a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
drawtext(ref(c,a3+1)>c and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2")>0,l-0.18,'◆r'),color0000ff;{rsi底背离};
c1:=barslast(ref(cross("macd.dea","macd.dif"),1));
drawtext(ref(c,c1+1)<c and ref("macd.dif",c1+1)>"macd.dif" and cross("macd.dea","macd.dif")>0,h+0.16,'★m'),color00ff00;{macd顶背离};
c2:=barslast(ref(cross("kdj.d","kdj.k"),1));
drawtext(ref(c,c2+1)<c and ref("kdj.k",c2+1)>"kdj.k" and cross("kdj.d","kdj.k")>0,h+0.08,'◎k'),colorffffcc;{kdj顶背离}
c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1));
drawtext(ref(c,c3+1)<c and ref("rsi.rsi1",c3+1)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1")>0,h+0.04,'◆r'),colorff9900;{rsi顶背离};
drawtext(cross(zig(3,8),ref(zig(3,8),1)),low*0.978,'★买') ,linethick2,colorred;
drawtext(cross(ref(zig(3,10),1),zig(3,10)),high*1.02,'★卖'),linethick2,colorgreen;
cv:=close;
重心:=(c+0.618*ref(c,1)+0.382*ref(c,1)+0.236*ref(c,3)+0.146*ref(c,4))/2.382;
【操盘线】:ema(((slope(c,22)*20)+c),55),coloryellow,linethick4;
【黄金线】:if(重心>=【操盘线】,【操盘线】,drawnull),colorred,linethick2;
【空仓线】:if(重心<【操盘线】,【操盘线】,drawnull),colorcyan,linethick2;
drawtext(islastbar,【操盘线】,'【操盘线】'),colorred;
{引:ema(close,2),linethick1,colormagenta;
探:ma(close,5),linethick1;};
变:ema(close,5),linethick1,coloryellow;
金:if(变>ref(变,1),变,drawnull),colorred,linethick1;
空:if(变<ref(变,1),变,drawnull),colorgreen,linethick1;
drawtext(islastbar,变,'【雷达线】'),colorred;
上一指标公式:精准选股指标下载 通达信选股公式
下一指标公式:红箭头买入涨公布指标下载 通达信源码买入
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文小鸡线指标下载 通达信小鸡仅供学习研究。