长短kd
本指标提示:在长周期kdj呈现红色多头时,此时介入,胜算概率较大。
rsv:=(close-llv(low,7))/(hhv(high,7)-llv(low,7))*100;
短k:sma(rsv,3,1),colorwhite;
短d:sma(短k,3,1),coloryellow;
rsv1:=(close-llv(low,38))/(hhv(high,38)-llv(low,38))*100;
长k:sma(rsv1,5,1),colorred;
长d:sma(长k,10,1),color66cc33;
18,colorwhite;
85,colorblue;
stickline(短k>短d,短k,短d,6,0),coloryellow;
stickline(短k<=短d,短k,短d,6,0),colorgreen;
stickline(长k>长d,长k,长d,6,0),colorred;
stickline(长k<=长d,长k,长d,6,0),color669933;
var1d:=ema(close,2)-ema(close,89);
var1e:=ema(var1d,30);
var1f:=2*(var1d-var1e)*10;
var20:=pow(var1f,3)*0.1+pow(var1f,2);
var25:=if(year<2008 and var1f>0.015,var20,0)/45;
var26:=ema(close,2)-ema(close,150);
var27:=ema(var26,100);
var28:=2*(var26-var27);
var29:=pow(var28,3)*0.1+pow(var28,1);
aa:=if( var28>0.1,var29,0)*5, colorred;
ma9:=ma(aa,9);
stickline(aa>ma9,0.6,0.8,3,0),colorred;
n:=10;
cg:=ma((low+high+close*2)/4,n);
辅助:=hhv(cg,9);
乾坤:=hhv(high,60)*0.98;
aa1:=(乾坤-辅助)/辅助<=0.035;
stickline(aa1,0.8,1,3,0),coloryellow;
aa2:=aa>ref(aa,1) and ref(aa,1)<ref(aa,2);
stickline(aa2,1,1.2,3,0),colormagenta;
三色:aa>ma9 and aa1 and aa2,coloryellow;
var1:=amount/vol;
a:=sma(var1,5,1)-sma(var1,13,1);
b:=sma((a-sma(a,5,1)),5,1);
stickline(c,h,l,0,1),colorgreen;
stickline(c>=o,o,c,8,1),colorgreen;
stickline(c<o,o,c,8,0),colorgreen;
stickline(close>ma(close,5) and a>ref(a,1) and b>ref(b,1),h,l,0,1),colorred;
stickline(close>ma(close,5) and a>ref(a,1) and b>ref(b,1) and c>=o,o,c,8,1),colorred;
stickline(close>ma(close,5) and a>ref(a,1) and b>ref(b,1) and c<o,o,c,8,0),colorred;
stickline(close<ma(close,5) and a>ref(a,1) and b>ref(b,1),h,l,0,1),colorwhite;//白色1
stickline(close<ma(close,5) and a>ref(a,1) and b>ref(b,1) and c>=o,o,c,8,1),colorwhite;
stickline(close<ma(close,5) and a>ref(a,1) and b>ref(b,1) and c<o,o,c,8,0),colorwhite;
stickline(a<ref(a,3) and b<ref(b,3),h,l,0,1),colorgreen;
stickline(a<ref(a,3) and b<ref(b,3) and c>=o,o,c,8,1),colorgreen;
stickline(a<ref(a,3) and b<ref(b,3) and c<o,o,c,8,0),colorgreen;
stickline(a>ref(a,1) and b<ref(b,1),h,l,0,1),color99ccff;//白色2 也可以自己改为白色,我只是为了区别一下三种不同的白色,用了一个不同的颜色
stickline(a>ref(a,1) and b<ref(b,1) and c>=o,o,c,8,1),color99ccff;
stickline(a>ref(a,1) and b<ref(b,1) and c<o,o,c,8,0),color99ccff;
stickline((a<ref(a,1) and b>ref(b,1)),h,l,0,1),colordddddd;//白色3
stickline((a<ref(a,1) and b>ref(b,1)) and c>=o,o,c,8,1),colordddddd;
stickline((a<ref(a,1) and b>ref(b,1)) and c<o,o,c,8,0),colorddddd;
tt:=(2*close+open+high+low);
主导动能:tt/ema(tt,4)-1,colorstick;
ff:=主导动能;
stickline(ff>0,0,ff,3,0),color33cfdd;
stickline(ff>0 and ff>ref(ff,1),0,ff,3,0),color0000cc;
stickline(ff<=0,0,ff,3,0),color00cc00;
stickline(ff<=0 and ff>ref(ff,1),0,ff,3,0),colorff9900;
做多主导:iff(ff>0 and ff>ref(ff,1),ff,0),nodraw,color0000cc;
获利回吐:iff(ff>0 and ff<=ref(ff,1),ff,0),nodraw,color33cfdd;
做空主导:iff(ff<=0 and ff<=ref(ff,1),ff,0),nodraw,color00cc00;
空头回补:iff(ff<=0 and ff>ref(ff,1),ff,0),nodraw,colorff9900;
你:=ma(close,1);
老:=(low+high+close)/3;
板:= ma(老,5);
好:= hhv(板,10);
急卖:if(hhv((你<好),5),100,50),colorcyan;
短卖:if(hhv((你<好),10),100,50),colorcyan;
老板:= ma(老,5);
买卖:=llv(老板,10);
短买:if(llv((你<买卖),10),50,0),colorred;
买点:if(llv((你<买卖),10),1,0);
卖点:if(hhv((你<好),10),1,0);
td:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),5);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=(sum(if(((hd > 0) and (hd > ld)),hd,0),5) );
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),5);
神偷线:=(((dmp ) * 100) / td);
辅助线:=((dmm * 100) / td);
动向趋势线:=(ma(((abs((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));
adxr:=((动向趋势线 + ref(动向趋势线,3)) / 2);
var1:=ma(low,1);
var2:=ma(high,2);
var3:=ma(close,2);
var7:=ref(var3,1);
【强弱】:=((sma(max((var3 - var7),0),5,1) / sma(abs((var3 - var7)),5,1)) * 100);
支撑位:if((ema(close,15)-ref(ema(close,15),1))/ref(ema(close,15),1)*100>=0,ref(ema(close,15),barslast(cross((ema(close,15)-ref(ema(close,15),1))/ref(ema(close,15),1)*100,0))+1),drawnull),colorred,linethick1;
阻力位:if((ema(close,15)-ref(ema(close,15),1))/ref(ema(close,15),1)*100<0,ref(ema(close,15),barslast(cross(0,(ema(close,15)-ref(ema(close,15),1))/ref(ema(close,15),1)*100))+1),drawnull),colorgreen,linethick1;
var2:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
var3:=sma(sma(var2,3,1),3,1)/30;
var4:=ema(var3,5);
var5:=3*var3-2*var4;
aa:=cross(var5,var3) and var3<2.1 and c>o;
var6:=(2*close+high+low)/4;
var7:=llv(low,13);
var8:=hhv(high,13);
var9:=ema((var6-var7)/(var8-var7)*100,13);
vara:=ema(0.667*ref(var9,1)+0.333*var9,2);
stickline(var9>vara,var9,vara,3,0), colormagenta;
stickline(var9<=vara,var9,vara,3,0), coloryellow;
stickline(aa,0,10,3,0),colorblue;
var2:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
var3:=sma(sma(var2,3,1),3,1)/30;
var4:=ema(var3,5);
var5:=3*var3-2*var4;
aa:=cross(var5,var3) and var3<2.1 and c>o;
var6:=(2*close+high+low)/4;
var7:=llv(low,13);
var8:=hhv(high,13);
var9:=ema((var6-var7)/(var8-var7)*100,13);
vara:=ema(0.667*ref(var9,1)+0.333*var9,2);
stickline(var9>vara,var9,vara,8,0), colormagenta;
stickline(var9<=vara,var9,vara,8,0), colorgreen;
stickline(aa,0,10,10,0),colorblue;
m1 := ema( close, 9 );
m2 := ema( close, 18 );
md : m1 - m2, colorwhite, linethick3;
mm := ema( md, 3 );
吸 : if( md >= mm and md < 0, md, drawnull ), colorlired, linethick3;
拉 : if( md >= mm and md >= 0, md, drawnull ), colorred, linethick3;
派 : if( md < mm and md >= 0, md, drawnull ), colorgreen, linethick3;
落 : if( md < mm and md < 0, md, drawnull ), colorwhite, linethick3;
中轴线:50,coloryellow,linethick1;
上一指标公式:量能饱和指标公式详解 同花顺饱和指标
下一指标公式:逍遥主力资金指标公式详解 同花顺逍遥资金
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文长短KD副图指标公式详解 同花顺长短仅供学习研究。