百鸟归巢指标源码下载:
rsv1:=(c-llv(l,9))/(hhv(h,9)-llv(l,9));
rsv2:=(rsv1-0.5)/5*ema(c,20);
rsvk:=sma(rsv2,3,1);
rsvd:=sma(rsvk,3,1);
rsvj:=rsvk*3-rsvd*2;
kq:rsvk+ema(c,20),colorwhite;
dq:rsvd+ema(c,20),coloryellow;
jq:rsvj+ema(c,20),colorred,linethick2;
压力a:ma(ref(hhv(c,30),1),2),color00ff00,linethick3;
支撑a:ma(ref(llv(c,30),1),2),color0000ff,linethick3;
var1:=backset(ref(high,2)=hhv(high,5),3);
var2:=cross(var1,0.9);
var3:=backset(ref(low,2)=llv(low,5),3);
var4:=cross(var3,0.9);
var5:=if(var2,high,if(var4,low,0));
polyline:=(var5,var5),colorff00ff;
var6:=backset(ref(high,2)=hhv(high,5) and low<ref(low,1) and high<ref(high,1),3);
var7:=backset(ref(high,2)=hhv(high,5) and low>ref(low,1) and high>ref(high,1),3);
var8:=backset(ref(high,2)=hhv(high,5) and high<ref(high,1) and low>ref(low,1)
and ref(low,1)>ref(low,2) and ref(high,1)<ref(high,2),3);
var9:=backset(ref(low,2)=llv(low,5) and low>ref(low,1) and high>ref(high,1),3);
vara:=backset(ref(low,2)=llv(low,5) and low<ref(low,1) and high<ref(high,1),3);
varb:=backset(ref(low,2)=llv(low,5) and high<ref(high,1) and low>ref(low,1)
and ref(low,1)>ref(low,2) and ref(high,1)<ref(high,2),3);
压力: ref(high,barslast(var2)),pointdot,colorffffcc;
stickline(close,ref(high,barslast(var2)),ref(high,barslast(var2)),5,0),pointdot,colorffffcc;
支撑: ref(low,barslast(var4)),pointdot,colorffffcc;
stickline(close,ref(low,barslast(var4)),ref(low,barslast(var4)),5,0),pointdot,colorffffcc;
maxadd1:=peakbars(1,bl,1);
maxadd2:=peakbars(1,bl,2);
maxadd3:=peakbars(1,bl,3);
maxadd4:=peakbars(1,bl,4);
minadd1:=troughbars(2,bl,1);
minadd2:=troughbars(2,bl,2);
minadd3:=troughbars(2,bl,3);
minadd4:=troughbars(2,bl,4);
max1:=peak(1,bl,1);
min1:=trough(2,bl,1);
max2:=if(maxadd2>minadd1,peak(1,bl,2),if(maxadd3>minadd1,peak(1,bl,3),peak(1,bl,4)));
min2:=if(minadd2>maxadd1,trough(2,bl,2),if(minadd3>maxadd1,trough(2,bl,3),trough(2,bl,4)));
maxadd22:=if(maxadd2>minadd1,maxadd2,if(maxadd3>minadd1,maxadd3,maxadd4));
minadd22:=if(minadd2>maxadd1,minadd2,if(minadd3>maxadd1,minadd3,minadd4));
highzig:=zig(1,bl);
lowzig:=zig(2,bl);
drawtext(min1=lowzig ,low,'▲'),coloryellow;
drawtext(max1=highzig,high,'▼'),colorgreen;
zzdz:=if(min1=lowzig,low,if(max1=highzig,high,if(islastbar,c,0)))colorblue,linethick;
ployline(min1=lowzig or max1=highzig or islastbar,zzdz)colorblue,linethick2;
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
drawtext(cross(ff,ma15),(low * 0.99),'底背离'),colora6e500;
drawtext(cross(88,rsi),(high * 1.009),'顶背离'),color1880ff;
var2q:=llv(low,27);
var3q:=hhv(high,34);
var4q:=ema((close-var2q)/(var3q-var2q)*4,4)*25;
注意买:=if((var4q<10),80,100);
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
超跌:=if(j<0,10,0);
bddd:=llv(j,2)=llv(j,8);{好公式网www.goodgongshi.com}
买入:=if(cross(j,ref(j+0.01,1)) and bddd and j<20,30,0);
drawtext(买入 and 注意买=100 and 超跌=0,low,'短线'),color8000ff;
mtm:=c-ref(c,1);
dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=if(llv(dx,2)=llv(dx,7) and count(dx<0,2) and cross(dx,ma(dx,2)),1,0);
drawtext(filter(买=1,5),low-0.1,'拉升'),colorffde00;
var9q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2);
{时间窗}
a:=barscount(c);
ah:=hhv(h,72);
al:=llv(l,72);
a0:=(ah-al)/21;
b1:=l-a0;
stickline((a+0)/13=floor((a+0)/13),b1,b1-3*a0,1,0);
drawtext((a+0)/13=floor((a+0)/13),b1-5.5*a0,'转向'),colorwhite;
drawkline(high,open,low,close);
向下跳空:=high<ref(low,1);
stickline(向下跳空,high,ref(low,1),8,0),colorgreen;
向上跳空:=low>ref(high,1);
stickline(向上跳空,low,ref(high,1),8,0),coloryellow;
stickline(close> ref(close,1) ,high,low,0,1 ),colorred;
stickline(close> ref(close,1) ,open,close,3.1,0 ),color000033;
stickline(close> ref(close,1) ,open,close,2.7,0 ),color000066;
stickline(close> ref(close,1) ,open,close,2.1,0 ),color000099;
stickline(close> ref(close,1) ,open,close,1.5,0 ),color0000cc;
stickline(close> ref(close,1) ,open,close,0.9,0 ),color0000ff;
stickline(close> ref(close,1) ,open,close,0.3,0 ),colorcc66ff;
stickline(close< ref(close,1) ,high,low,0,1 ),colorcyan;
stickline(close< ref(close,1) ,open,close,3.1,0 ),color990000;
stickline(close< ref(close,1) ,open,close,2.7,0 ),colorcc0000;
stickline(close< ref(close,1) ,open,close,2.1,0 ),colorff4400;
stickline(close< ref(close,1) ,open,close,1.5,0 ),colorff8800;
stickline(close< ref(close,1) ,open,close,0.9,0 ),colorffcc00;
stickline(close< ref(close,1) ,open,close,0.3,0 ),colorcyan;
stickline(close= ref(close,1) ,high,low,0,1 ),colorwhite;
stickline(close= ref(close,1) ,open,close,3.1,0 ),color555555;
stickline(close= ref(close,1) ,open,close,2.7,0 ),color777777;
stickline(close= ref(close,1) ,open,close,2.1,0 ),color999999;
stickline(close= ref(close,1) ,open,close,1.5,0 ),colorbbbbbb;
stickline(close= ref(close,1) ,open,close,0.9,0 ),colordddddd;
stickline(close= ref(close,1) ,open,close,0.3,0 ),colorffffff;
{macd}
rc:=dynainfo(3)*1.1;
dk:="macd.macd"(10,30,10)*2;
控盘:=dk;
stickline(控盘<0 and 控盘<ref(控盘,1),控盘+rc,rc,1,0),colorwhite;
stickline(控盘<0 and 控盘>ref(控盘,1),控盘+rc,rc,1,0),colorbrown;
stickline(控盘>ref(控盘,1) and 控盘>0,控盘+rc,rc,1,0),colorred;
var2e:=100*winner(close*0.95);
stickline(var2e>50 and cost(85)<close and 控盘>0,控盘+rc,rc,1,0),colorff00ff;
stickline(控盘<ref(控盘,1) and 控盘>0,控盘+rc,rc,1,0),color00ff00;
上一指标公式:凡人买卖量价趋势副图下载
下一指标公式:准确介入副图下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文百鸟归巢指标下载仅供学习研究。