kdj短线通道指标
sat:=if((amount/c)/(hhv(amount,20)/hhv(c,20))*100>100,100,(amount/c)/(hhv(amount,20)/hhv(c,20))*100);
aa10:=ma(close,8),color0000ff;
aa12:=ma(close,12),color0000ff;
bb10:=((atan((aa10 - ref(aa10,1))) * 3.1416) * 10);
bb12:=((atan((aa12 - ref(aa12,1))) * 3.1416) * 10);
ma13:=ma(close,13);
stickline((((aa12 <= aa10) and (bb12 >= 1)) and (bb10 >= 1)),aa10,aa12,4,0),color0080ff;
stickline((((aa12 >= aa10) and (bb10 <= 1)) and (bb10 <= 1)),aa10,aa12,4,0),color00ff00;
x1:=(c+l+h)/3;bb13:=atan(ema(x1,13)-ref(ema(x1,13),1))*3.1416*10;
ema8:=ema(c,8);drawtext(filter(bb13>1 and ema(x1,13)>ref(ema(x1,8),1),10),
ema8,'∠45上升'),colorwhite;
压力:=ma(ref(hhv(c,30),1),2),color9dffff;
支撑:=ma(ref(llv(c,30),1),2),colorabff46;
aa1:=amount/v;
bb1:=l<aa1*0.9;
cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;
dd1:=l<ma(c,5)*0.921;
ee1:=v<ma(v,5)*1.5;
ff1:=bb1 and cc1 and dd1 and ee1;drawtext(ff1,(low* 0.99),'老鼠仓'),color4080ff;
a51:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1);
黑马线:=ema(a51,5);a54:=((c-llv(l,21))/(hhv(h,21)-llv(l,21)))*100;
趋势线:=(ma(3*sma(a54,6,1)-2*sma(sma(a54,5,1),5,1),2));
drawtext(cross(趋势线,0)and 黑马线<40,(high* 0.97),'▲大黑马'),coloryellow;
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.02),'顶背离'),color1880ff;
var2:=llv(low,27);var3:=hhv(high,34);
var4:=ema((close-var2)/(var3-var2)*4,4)*25;
注意买:=if((var4<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);
买入:=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);
中轴:=ma(close,26),colorred;
上轨:=中轴+2*std(close,26),colormagenta;
下轨:=中轴-2*std(close,26),coloryellow;
w1:=c=hhv(c,20);
w2:=barslast(w1);
w3:=if(w2>0,ref(c,w2),ref(c,w2));
w4:=cross(c,ref(w3,1));
★关注:if(w4 and count(w4,5)=1,20,drawnull),nodraw,colorred;
drawicon(w4 and count(w4,5)=1,l,1);
zt:=(c/ref(c,1)>1.097 or between(c/ref(c,1),1.0495,1.051)) and h=c;
stickline(zt,o,c,2.3,0),colorred;
drawtext(zt=1,low-0.05,'↖'),colorred;
drawtext(zt=1,low-0.05,' 涨停'),color0000dd;
a3x:=v/winner(l);
a4x:=ref(hhv(c,120),1);
a5x:=ref(llv(c,120),1);
a6x:=100*(c-a5x)/(a4x-a5x);
a8x:=a3x/ref(a3x,3)>=3 and a6x<80 ;
a9x:=ref(a8x,1) or ref(a8x,2) or ref(a8x,3) or ref(a8x,4);
a10x:=a8x and a9x;
a12x:=if(filter(a10x,3),10,0);
ccc:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
dd20:=dma(close,ccc);
通道44:=(1-7/100)*dd20;
a20:=c<通道44 and c>o;
typ2:=(high+low+close)/3;
cci2:=(typ2-ma(typ2,14))/(0.015*avedev(typ2,14));
midd:=ma(close,20);
lowerr:=midd-2*std(close,20);
xgg:=a20 and cci2<-100 and o<lowerr;
xin:=a12x and xgg;
xx:=barslast(xin);
〖止盈价〗:if(xx<=10 and ref(count(h<ref(c,xx)*1.1,xx)=xx,1) and ref(count(c>=ref(c,xx)*0.95,xx)=xx,1),ref(c,xx)*1.1,drawnull),nodraw,coloryellow;
〖止损价〗:if(xx<=10 and ref(count(h<ref(c,xx)*1.1,xx)=xx,1) and ref(count(c>=ref(c,xx)*0.95,xx)=xx,1),ref(c,xx)*0.95,drawnull),nodraw,colorwhite;
〖平仓价〗:if(xx=10 and ref(count(h<ref(c,xx)*1.1,xx)=xx,1) and ref(count(c>=ref(c,xx)*0.95,xx)=xx,1),c,drawnull),nodraw;
drawicon(xin,c*0.95,1);
drawicon(count(h<ref(c,xx)*1.1,xx)=xx and xx=10 and count(c>ref(c,xx)*0.95,xx)=xx,ref(c,xx)*1.1,2);
drawicon(h>=ref(c,xx)*1.1 and xx<=10 and ref(count(h<ref(c,xx)*1.1,xx)=xx,1) and ref(count(c>ref(c,xx)*0.95,xx)=xx,1),ref(c,xx)*1.1,2);
drawicon(count(h<ref(c,xx)*1.1,xx)=xx and xx<=10 and ref(count(c>ref(c,xx)*0.95,xx)=xx,1) and c<=ref(c,xx)*0.95,ref(c,xx)*1.1,2);
mtm2:=c-ref(c,1);
dx2:=100*ema(ema(mtm2,6),6)/ema(ema(abs(mtm2),6),6);
买2:=llv(dx2,2)=llv(dx2,7) and count(dx2<0,2) and cross(dx2,ma(dx2,2));
drawicon(filter(买2=1,5),l*0.97,1);
ma20:=ma(c,20),colorred,linethick2;
ma55:=ma(c,55),color00ff00,linethick2;
bb:=ma(ma(close,3),1),linethick3,color00ffff;
tt:=if(islastbar,240/fromopen,1);
nn:=120;
hh:=hhv(v*tt,nn);
ll:=llv(v,nn);
最高:=const(hh);
最低:=const(ll);
最高2:=const(hhv(h,nn));
最低2:=const(llv(l,nn));
pp:=if((最高2*0.9-(最高2-最低2)*0.5)>const(llv(l,20)),0.9,if((最高2*0.9-(最高2-最低2)*0.5)>const(llv(l,50)),0.7,0.6)),nodraw;
rcc1:=最高2*0.9-(最高2-最低2)*pp;
最低3:=min(rcc1,最低2);
aa:=最低3;
周j:=ma("kdj.j#week"(9,3,3) ,5),colorffff00,linethick2;
aa01:=周j<0 and 周j<ref(周j,1) ;
ff01:=周j<0 and 周j>ref(周j,1);
bb01:=周j>=0 and 周j<85 and 周j>ref(周j,1);
dd01:=周j>=ref(周j,1) and 周j>=85 ;
ee01:=周j<ref(周j,1) and 周j>0;
zj1:=ma("kdj.j#week"(9,3,3) ,5);
yk:=ma("kdj.k#month"(9,3,3),20),linethick0;
yd:=ma("kdj.d#month"(9,3,3),20),linethick0;
yj:=ma("kdj.j#month"(9,3,3),20);
zk:=ma("kdj.k#week"(9,3,3) ,5),linethick0;
zd:=ma("kdj.d#week"(9,3,3) ,5),linethick0;
rsv2:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k2:=sma(rsv,3,1),linethick0;
d2:=sma(k2,3,1),linethick0;
j2:=3*k2-2*d2,linethick0;
gg1:=c>0;
rjc:=drawicon(cross(k2,d2),l*0.98,1);
drawtext(rjc,l*0.98,'日金'),color0000ff;
rsc:=drawicon(cross(d2,k2),h*1.03,2),;
zjc:=drawicon (cross(zk,zd), l*0.98,1);
drawtext(zjc,l*0.98,'周金'),colorff00ff;
zsc:=drawicon (cross(zd,zk), h*1.03,2),;
yjc: drawicon (cross(yk,yd), l*0.98,1);
drawtext(yjc,l*0.98,'月金'),colorff0000;
ysc:=drawicon (cross(yd,yk), h*1.03,2),;
stickline(aa01,aa-0.000*aa,aa-0.040*aa,2.5,1),color6600bb;
stickline(ff01,aa-0.000*aa,aa-0.040*aa,2.5,0),color0000ff;
stickline(bb01,aa-0.000*aa,aa-0.040*aa,2.5,0),colorff00ff;
stickline(dd01,aa-0.000*aa,aa-0.040*aa,2.5,0),color00ff00;
stickline(ee01,aa-0.000*aa,aa-0.040*aa,2.5,1),colorffff00;
stickline(gg1,aa-0.050*aa,aa-0.090*aa,2.5,1),colorbb0000;
stickline(rjc,aa-0.050*aa,aa-0.090*aa,2.5,0),color0000ff;
stickline(rsc,aa-0.050*aa,aa-0.090*aa,2.5,0),colorffffff;
stickline(zjc,aa-0.050*aa,aa-0.090*aa,2.5,0),colorff00ff;
stickline(zsc,aa-0.050*aa,aa-0.090*aa,2.5,0),color00ffff;
stickline(yjc,aa-0.050*aa,aa-0.090*aa,2.5,0),colorff0000;
stickline(ysc,aa-0.050*aa,aa-0.090*aa,2.5,0),colorffff00;
上一指标公式:美人肩+老鸭头选股指标(已经优化)下载 通达信源码选股
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文KDJ短线通道指标(主图+源码+有图)下载 通达信源码通道仅供学习研究。