五里8号-----一个让我扭亏为盈的指标!(副图 选股 源码 贴图)
五里8号源码:
n:=55;
wl:(close-ma(close,6))/ma(close,6)*100,linethick2,color0000ff;
wlt:ma(wl,89),color00ffff,linethick2;
wlt1:=cross(wl,wlt);
wlt11:=cross(wl,-10);
wlt2:=filter(wlt1,8);
sky:10,pointdot,colorff0000,linethick1;
sea:-10,pointdot,colorff00ff,linethick1;
drawicon(wlt2,wlt,23);
drawicon(wlt11,sea,15);
wlt3:=count(wl>10,5)>=3;
wlt33:=cross(10,wl);
sel:=wlt3 and wlt33;
drawicon(sel,10,19);
stickline(wl>10,wl,10,0.001,0),color00ff00;
stickline(wl<-10,wl,-10,0.001,0),colorff00ff;
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd:=(dif-dea)*2,colorstick;
dif底:=llv(dif,120);
最底价:=l=llv(l,120);
距今:=barslast(最底价);
偏离:=if((距今=0 and dif>dif底),1,0);
ddd:=exist(偏离,20) and slope(dea,2)>=0;
hry:=filter(ddd,10);
stickline(hry,-5,-10,3,0),color00ffff;
drawtext(hry,-5,'m背'),color00ffff;
{yyy:count(偏离,5);}
dif顶:=hhv(dif,120);
最高价:=h=hhv(h,120);
距今高:=barslast(最高价);
偏离高:=if((距今高=0 and dif<dif顶),1,0);
ggg:=exist(偏离高,20) and slope(dea,2)<0;
hry1:=filter(ggg,10);
stickline(hry1,10,5,3,0),colorff0000;
drawtext(hry1,5,'m背'),colorff0000;
a2:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));
b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
c2:=barslast(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));
d2:=ref(c,c2+1)<c and ref("kdj.k"(9,3,3),c2+1)>"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3));
c3:=barslast(ref(cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24)),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1"(6,12,24),c3+1)>"rsi.rsi1"(6,12,24) and cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24));
kdj底背:filter(if(b2>0,-1,0),13),nodraw;
stickline(kdj底背,-10,-5,3,0),colorff00ff;
drawtext(kdj底背,-5,'k背'),colorff00ff;
rsi底背:filter(if(b3>0,-1,0),13),nodraw;
stickline(rsi底背,-10,-5,3,0),color0000ff;
drawtext(rsi底背,-5,'r背'),color0000ff;
kdj顶背:filter(if(d2>0,1,0),13),nodraw;
stickline(kdj顶背,10,5,3,0),colorffff00;
drawtext(kdj顶背,5,'k背'),colorffff00;
rsi顶背:filter(if(d3>0,1,0),13),nodraw;
stickline(rsi顶背,10,5,3,0),color00ff00;
drawtext(rsi顶背,5,'r背'),color00ff00;
drawtext(ref("kdj.j",1)<0 and "kdj.j">0,-4,'短'),colorred ;
stickline(ref("kdj.j",1)<0 and "kdj.j">0,-10,-5,3,0),color00ffff;
aa1:=hhv(h,55);
bb1:=ref(h,13);
tj1:=aa1=bb1;
xx:=llv(l,55);
yy:=ref(l,13);
yy1:=ref(l,21);
tj2:=xx=yy;
tj3:=xx=yy1;
xg:=tj1 or tj2;
drawtext(tj2,-6,'离底13'),color00ff00;
stickline(tj2 ,-10,-6,2,0),color00ff00;
drawtext(tj3,-4,'离底21'),color00ffff;
stickline(tj3 ,-10,-4,2,0),color00ffff;
drawtext(tj1,-6,'离高13'),color0000ff;
stickline(tj1 ,-10,-6,2,0),color0000ff;
lv:=ma(c,24);
hr0:=hhv(high,n);
hry0:=llv(low,n);
hry110:=hr0*hry0;
hry330:=sqrt(hry110);
ns1:=c>hry330 and hry330 >=ref(hry330,1) and c>lv;
stickline(c>0,-10,-11.5,3,0),colorff0000;
stickline(wlt2 or wl>wlt,-10,-11.5,3,0),color00ffff;
stickline(ns1,-10,-11.5,3,0),color0000ff;
drawtext(filter(ns1,21),-11,'持股'),colorffffff;
drawtext(filter(wlt2 or wl>wlt,13),-11,'买入'),color0000ff;
五里8号选股公式原码:
n:=55;
wl:=(close-ma(close,6))/ma(close,6)*100;
wlt:=ma(wl,89);
wlt1:=cross(wl,wlt);
wlt11:=cross(wl,-10);
wlt2:=filter(wlt1,8);
t1:=wlt11 or wlt2;
t2:=ref("kdj.j",1)<0 and "kdj.j">0;
lv:=ma(c,24);
hr0:=hhv(high,n);
hry0:=llv(low,n);
hry110:=hr0*hry0;
hry330:=sqrt(hry110);
ns1:=c>hry330 and hry330 >=ref(hry330,1) and c>lv;
t3:=wlt2 or wl>wlt;
xg1:=t1 and ns1;
xg2:=t1 and t3;
w18:xg1 or xg2 or t2;
提供副图和选股刚是下载
上一指标公式:绝品MACD副图有有图指标详解 通达信有图源码
下一指标公式:资金K线L2指标详解 通达信源码指标
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文五里8号副图及选股一个让我扭亏为盈的副图选股指标详解 通达信让我扭亏为盈仅供学习研究。