n1:=5;n2:=10;
lc:=ref(close,1);
a0:=(2*c+h+l)/4;
均线:=ma(a0,3)>ref(ma(a0,3),1);
安全线:2,colorligray,pointdot,linethick4;
a1:=(close-llv(low,7))/(hhv(high,7)-llv(low,7))*10;
k:ma(3*sma(a1,6,1)-2*sma(sma(a1,5,1),5,1),3),linethick1,colorf00ff0;
d:ma(k,3),colorff0000,linethick1;
j:3*k-2*d,linethick1,colorf00ff0;
drawband(k,rgb(155,50,50),d,rgb(0,100,50));
var1:=c-ref(c,1);
var2:=100*ema(ema(var1,6),6)/ema(ema(abs(var1),6),6);
ma5:=ema(c,5);
ma13:=ema(c,13);
up:=drawline(l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barslast(cross
(ma13,ma5))+1),h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross
(ma5,ma13))+1),0),color0000ff;
down:=drawline(h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross
(ma5,ma13))+1),l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barslast(cross
(ma13,ma5))+1),0),color00ff00;
bt:=(llv(var2,2)=llv(var2,7) and count(var2<0,2) and cross(var2,ma(var2,2))) and
ref(down,1)<ref(down,2) and up>ref(down,1);
底线:0,colorff00ff;
顶线:10,colorff0000;
stickline(up,0,0.2,3,0),color0000ff;
stickline(down,0,0.2,3,0),color00ff00;
stickline(bt,0,3,2,0),color000088;
stickline(bt,0,3,1,0),color0000cc;
stickline(bt,0,3,0.22,0),color0000ff;
drawtext(bt,3,'短牛'),color0000ff;
tj1:=ref(down,1)<ref(down,2) and up>ref(down,1) and c<hhv(h,21)*0.82;
stickline(tj1,0,2,3,0),color880088;
stickline(tj1,0,2,1.5,0),coloraa00aa;
stickline(tj1,0,2,0.8,0),colorcc00cc;
stickline(tj1,0,2,0.2,0),colorff00ff;
drawtext(tj1,2,'中牛'),colorff00ff;
hr:=hhv(high,55);
hry:=llv(low,55);
hry11:=hr*hry;
hry33:=sqrt(hry11);
tj2:=ref(down,1)<ref(down,2) and up>ref(down,1) and c<hry33;
stickline(tj2,0,1,5,0),color008888;
stickline(tj2,0,1,2,0),color00aaaa;
stickline(tj2,0,1,1,0),color00cccc;
stickline(tj2,0,1,0.2,0),color00ffff;
drawtext(tj2,1,'大牛'),color00ffff;
st:=ref(up,1)>ref(up,2) and down<ref(up,1);
stickline(st,10,9,5,0),color008800;
stickline(st,10,9,2,0),color00aa00;
stickline(st,10,9,1,0),color00cc00;
stickline(st,10,9,0.2,0),color00ff00;
drawtext(st,9,'卖'),color00ff00;
diff:ema(dclose,12)-ema(dclose,26);
dea:ema(diff,9),colorffff00;
a11:=barslast(ref(cross(diff,dea),1));
底背离:=ref(close,a11+1)>close and diff>ref(diff,a11+1) and cross(diff,dea);
drawtext(底背离,-0.6,'底背离'),colorwhite;
a22:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a22+1)<close and ref(diff,a22+1)>diff and cross(dea,diff);
drawtext(顶背离,9,'顶背离'),colorwhite;
rsv2:=(close-llv(low,45))/(hhv(high,45)-llv(low,45))*10;
k周:=sma(rsv2,15,1),colorwhite;
d周:=sma(k周,3,1),coloryellow;
j周:=3*k周-2*d周,colorred;
drawband(j周,rgb(200,0,0),d周,rgb(0,150,150));
drawicon(cross(k周, d周), d周-1,13);
drawicon(cross(d周, k周), k周+1,14);
上一指标公式:真实资金流主力机构动作无处可逃 通达信无处主力
下一指标公式:精选:跟踪了七年的盘中预警选股 通达信选股预警
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文双底大牛熊市抓大牛利器 通达信利器熊市仅供学习研究。