{kdj同时金叉}
drawgbklast(close>0,strip(rgb(5,5,5),rgb(90,90,90),0));
月k:"kdj.k"(89,3,3),colorgreen,linethick0;
月d:"kdj.d"(89,3,3),colorgreen,linethick0;
fillrgn(月k,月d,月k>月d),color00dd00;
fillrgn(月k,月d,月k<月d),color009700;
周k:"kdj.k"(27,3,3),color00e4f1,linethick0;
周d:"kdj.d"(27,3,3),coloryellow,linethick0;
fillrgn(周k,周d,周k>周d),color03f7fa;
fillrgn(周k,周d,周k<周d),color009cc3;
日k:"kd.k"(5,3,3),color0538f2,linethick0;
日d:"kd.d"(5,3,3),color052b99,linethick0;
fillrgn(日k,日d,日k<日d),color052b99;
fillrgn(日k,日d,日k>日d),color0538f2;
月金叉:if(cross(月k,月d),16,0),stick,linethick1,colorgreen;
drawtext(月金叉,16,'■'),color09db00;
周金叉:if(cross(周k,周d),12,0),stick,linethick1,coloryellow;
drawtext(周金叉,12,'■'),coloryellow;
日金叉:if(cross(日k,日d),8,0),stick,linethick1,colorred;
drawtext(日金叉,8,'■'),colorred;
vertline(日金叉 and 周金叉 and 月金叉,4),color5b5b5b;
{kd在30以下多次金叉}
jm:=cross("kdj.k"(5,3,3),"kdj.d"(5,3,3));
jmcount:=count(jm,barslast("kdj.d"(5,3,3)>=30));
jmtj:=28*("kdj.d"(5,3,3)<30 and count(jmcount=1,21)=1);
drawicon(jmtj,70,13);
jmtj2:=28*("kdj.d"(5,3,3)<30 and count(jmcount=2,21)=1);
drawicon (jmtj2,70,13);
drawicon (jmtj2,72,13);
jmtj3:=28*("kdj.d"(5,3,3)<30 and count(jmcount=3,21)=1);
drawicon (jmtj3,70,13);
drawicon (jmtj3,72,13);
drawicon (jmtj3,74,13);
jmtj4:=28*("kdj.d"(5,3,3)<30 and count(jmcount=4,21)=1);
drawicon (jmtj4,70,13);
drawicon (jmtj4,72,13);
drawicon (jmtj4,74,13);
drawicon (jmtj4,76,13);
jmtj5:=28*("kdj.d"(5,3,3)<30 and count(jmcount=5,21)=1);
drawicon (jmtj5,70,13);
drawicon (jmtj5,72,13);
drawicon (jmtj5,74,13);
drawicon (jmtj5,76,13);
drawicon (jmtj5,78,13);
0,coloryellow;
diff:=ema(close,12)-ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
macd底背离:stickline(filter(b1>0,5),0,0.75,3,0),colorgreen;
drawtext(filter(b1>0,5),0.57,'macd底背离'),colorgreen;
rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
a2:=barslast(ref(cross(k,d),1));
b2:=ref(c,a2+1)>c and ref(k,a2+1)<k and cross(k,d);
kdj底背离:stickline(filter(b2>0,5),0,1,3,0),coloryellow;
drawtext(filter(b2>0,5),0.80,'kdj底背离'),coloryellow;
lc :=ref(close,1);
rsi1:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
rsi2:=sma(max(close-lc,0),12,1)/sma(abs(close-lc),12,1)*100;
a3:=barslast(ref(cross(rsi1,rsi2),1));
b3:=ref(c,a3+1)>c and ref(rsi1,a3+1)<rsi1 and cross(rsi1,rsi2);
rsi底背离:stickline(filter(b3>0,5),0,0.5,3,0),colorwhite;
drawtext(filter(b3>0,5),0.25,'rsi底背离'),colorwhite;
2,colorcyan;
c1:=barslast(ref(cross(dea,diff),1));
d1:=ref(c,c1+1)<c and ref(diff,c1+1)>diff and cross(dea,diff);
macd顶背离:stickline(filter(d1>0,5),2,1.25,3,0),color0066ff;
drawtext(filter(d1>0,5),1.47,'macd顶背离'),color0066ff;
c2:=barslast(ref(cross(d,k),1));
d2:=ref(c,c2+1)<c and ref(k,c2+1)>k and cross(d,k);
kdj顶背离:stickline(filter(d2>0,5),2,1,3,0),colorred;
drawtext(filter(d2>0,5),1.2,'kdj顶背离'),colorred;
c3:=barslast(ref(cross(rsi2,rsi1),1));
d3:=ref(c,c3+1)<c and ref(rsi1,c3+1)>rsi1 and cross(rsi2,rsi1);
rsi顶背离:stickline(filter(d3>0,5),2,1.5,3,0),colorff00ff;
drawtext(filter(d3>0,5),-4.75,'rsi顶背离'),colorff00ff;
partline(0,c>0),colorffa2af;
partline(20,c>0),colorffa2af,pointdot;
partline(50,c>0),colorffa2af,pointdot;
partline(80,c>0),colorffa2af,pointdot;
partline(100,c>0),colorffa2af;
上一指标公式:眼镜蛇综合判断副图 大智慧指标判断
下一指标公式:特大成交公式下载 大智慧成交
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文RSIKDJMACD日周月底背离金叉 大智慧RSIKDJ仅供学习研究。