精准背离副图源码下载:
drawgbk(c>0, rgb(1,1,1),rgb(1,1,1),0,'0',0);
stickline(c>0,120,120,28,-1)colorblack;
stickline(c>0,100,100,28,-1)color000080;
stickline(c>0,80,80,28,-1)color000080;
stickline(c>0,50,50,28,-1)color000080;
stickline(c>0,20,20,28,-1)color000080;
stickline(c>0,0,0,28,-1)color000080;
stickline(c>0,-20,-20,28,-1)colorblack;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:sma(rsv,3,1)colorcyan;
d:sma(k,3,1)coloryellow;
j:3*k-2*d,colormagenta;
{k值,d值,j值的背离}
{------------------------------------------------------------------------------}
n:=5;
j底背:ref(c,barslast(ref(filter(backset(ref(kdj.j,n)=llv(kdj.j,2*n+1),n+1),n) and kdj.j=llv(kdj.j,n+1),1))+1)>c and
ref(kdj.j,barslast(ref(filter(backset(ref(kdj.j,n)=llv(kdj.j,2*n+1),n+1),n) and kdj.j=llv(kdj.j,n+1),1))+1)<kdj.j and
filter(backset(ref(kdj.j,n)=llv(kdj.j,2*n+1),n+1),n) and kdj.j=llv(kdj.j,n+1),colorwhite,nodraw;
drawline(filter(backset(ref(kdj.j,n)=llv(kdj.j,2*n+1),n+1),n) and kdj.j=llv(kdj.j,n+1),kdj.j,filter(j底背>0,5),kdj.j,0),
colorwhite,dotline;
drawtext(j底背,kdj.j,'j底背'),colorlimagenta;
j顶背:ref(c,barslast(ref(filter(backset(ref(kdj.j,n)=hhv(kdj.j,2*n+1),n+1),n) and kdj.j=hhv(kdj.j,n+1),1))+1)<c and
ref(kdj.j,barslast(ref(filter(backset(ref(kdj.j,n)=hhv(kdj.j,2*n+1),n+1),n) and kdj.j=hhv(kdj.j,n+1),1))+1)>kdj.j and
filter(backset(ref(kdj.j,n)=hhv(kdj.j,2*n+1),n+1),n) and kdj.j=hhv(kdj.j,n+1),colorgreen,nodraw;
drawline(filter(backset(ref(kdj.j,n)=hhv(kdj.j,2*n+1),n+1),n) and kdj.j=hhv(kdj.j,n+1),kdj.j,filter(j顶背>0,5),kdj.j,0),
colorgreen,dotline;
drawtext(j顶背,kdj.j,'j顶背'),colormagenta;
{------------------------------------------------------------------------------}
k底背:ref(c,barslast(ref(filter(backset(ref(kdj.k,n)=llv(kdj.k,2*n+1),n+1),n) and kdj.k=llv(kdj.k,n+1),1))+1)>c and
ref(kdj.k,barslast(ref(filter(backset(ref(kdj.k,n)=llv(kdj.k,2*n+1),n+1),n) and kdj.k=llv(kdj.k,n+1),1))+1)<kdj.k and
filter(backset(ref(kdj.k,n)=llv(kdj.k,2*n+1),n+1),n) and kdj.k=llv(kdj.k,n+1),colorwhite,nodraw;
drawline(filter(backset(ref(kdj.k,n)=llv(kdj.k,2*n+1),n+1),n) and kdj.k=llv(kdj.k,n+1),kdj.k,filter(k底背>0,5),kdj.k,0),
colorwhite,dotline;
drawtext(k底背,kdj.k,'k底背'),colorwhite;
k顶背:ref(c,barslast(ref(filter(backset(ref(kdj.k,n)=hhv(kdj.k,2*n+1),n+1),n) and kdj.k=hhv(kdj.k,n+1),1))+1)<c and
ref(kdj.k,barslast(ref(filter(backset(ref(kdj.k,n)=hhv(kdj.k,2*n+1),n+1),n) and kdj.k=hhv(kdj.k,n+1),1))+1)>kdj.k and
filter(backset(ref(kdj.k,n)=hhv(kdj.k,2*n+1),n+1),n) and kdj.k=hhv(kdj.k,n+1),colorgreen,nodraw;
drawline(filter(backset(ref(kdj.k,n)=hhv(kdj.k,2*n+1),n+1),n) and kdj.k=hhv(kdj.k,n+1),kdj.k,filter(k顶背>0,5),kdj.k,0),
colorgreen,dotline;
drawtext(k顶背,kdj.k,'k顶背'),colorliblue;
{------------------------------------------------------------------------------}
d底背:ref(c,barslast(ref(filter(backset(ref(kdj.d,n)=llv(kdj.d,2*n+1),n+1),n) and kdj.d=llv(kdj.d,n+1),1))+1)>c and
ref(kdj.d,barslast(ref(filter(backset(ref(kdj.d,n)=llv(kdj.d,2*n+1),n+1),n) and kdj.d=llv(kdj.d,n+1),1))+1)<kdj.d and
filter(backset(ref(kdj.d,n)=llv(kdj.d,2*n+1),n+1),n) and kdj.d=llv(kdj.d,n+1),colorwhite,nodraw;
drawline(filter(backset(ref(kdj.d,n)=llv(kdj.d,2*n+1),n+1),n) and kdj.d=llv(kdj.d,n+1),kdj.d,filter(d底背>0,5),kdj.d,0),
colorwhite,dotline;
drawtext(d底背,kdj.d,'d底背'),coloryellow;
d顶背:ref(c,barslast(ref(filter(backset(ref(kdj.d,n)=hhv(kdj.d,2*n+1),n+1),n) and kdj.d=hhv(kdj.d,n+1),1))+1)<c and
ref(kdj.d,barslast(ref(filter(backset(ref(kdj.d,n)=hhv(kdj.d,2*n+1),n+1),n) and kdj.d=hhv(kdj.d,n+1),1))+1)>kdj.d and
filter(backset(ref(kdj.d,n)=hhv(kdj.d,2*n+1),n+1),n) and kdj.d=hhv(kdj.d,n+1),colorgreen,nodraw;
drawline(filter(backset(ref(kdj.d,n)=hhv(kdj.d,2*n+1),n+1),n) and kdj.d=hhv(kdj.d,n+1),kdj.d,filter(d顶背>0,5),kdj.d,0),
colorgreen,dotline;
drawtext(d顶背,kdj.d,'d顶背'),color4080ff;
a2:=barslast(ref(cross(k,d),1));
{好公式网www.goodgongshi.com}
b2:=ref(c,a2+1)>c and ref(k,a2+1)<k and cross(k,d);
drawtext((b2>0),-10,'_金叉底背'),colorlired;
stickline((b2>0),-10,50,0,-1)colorlired;
c2:=barslast(ref(cross(d,k),1));
d2:=ref(c,c2+1)<c and ref(k,c2+1)>k and cross(d,k);
drawtext((d2>0),110,'_死叉顶背'),colorlicyan;
stickline((d2>0),110,50,0,-1)colorlicyan;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文精准背离副图下载仅供学习研究。