分型顶底幅图指标能更直观看出金叉和死叉清晰分界线指标
分型顶底是一个比较典型的“优化macd”指标,但是对比传统的macd更为详细,可以直观的看出金叉与死叉的分界线,同时成交量的高低也更为直观明确。
希望对大家有帮助。自用指标,不喜勿喷。
具体的用法:
黄色笑脸金叉信号,补仓或进场,
绿色钻石是死叉信号,清仓或者离场,
diff:ema(close,7) - ema(close,19);
dea:ema(diff,9);
drawband(diff,rgb(200,50,55),dea,rgb(50,100,10));
macd:2*(diff-dea),colorstick;
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
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));
c1:=barslast(ref(cross(dea,diff),1));
d1:=ref(c,c1+1)<c and ref(diff,c1+1)>diff and cross(dea,diff);
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));
stickline(b1>0,-0.1,0,1,0),colorred;
stickline(b2>0,-0.1,0,1,0),colorff00ff;
stickline(b3>0,-0.1,0,1,0),coloryellow;
stickline(d1>0,0.1,0,1,0),color00ff00;
stickline(d2>0,0.1,0,1,0),colorffcc66;
stickline(d3>0,0.1,0,1,0),colorwhite;
stickline(macd>ref(macd,1) and macd>0,0,macd,0,0),colorred;
stickline(macd<=ref(macd,1) and macd>0,0,macd,0,0),coloryellow;
stickline(macd<ref(macd,1) and macd<0,0,macd,0,0),colorcyan;
stickline(macd>=ref(macd,1) and macd<0,0,macd,0,0),colormagenta;
stickline(c>0,0,0,50,1),colorblue;
macd底背:if(b1>0,-0.1,0),colorred,pointdot;
kdj底背:if(b2>0,-0.1,0),colorff00ff,pointdot;
rsi底背:if(b3>0,-0.1,0),coloryellow,pointdot;
macd顶背:if(d1>0,0.1,0),color00ff00,pointdot;
kdj顶背:if(d2>0,0.1,0),colorffcc66,pointdot;
rsi顶背:if(d3>0,0.1,0),colorwhite,pointdot;
强:if(diff>ma(diff,2),diff,drawnull),colorred,linethick2;
弱:if(dea>ma(dea,2),dea,drawnull),colormagenta,linethick2;
drawicon(cross(diff,dea),dea,5);
drawicon(cross(dea,diff),dea,27);
a:=ref(diff,1)<ref(diff,2) and ref(diff,2)<ref(diff,3) and diff>ref(diff,1);
b:=ref(diff,1)>ref(diff,2) and ref(diff,2)>ref(diff,3) and diff<ref(diff,1);
drawicon(a,diff,1);
drawicon(b,diff,2);
stickline((macd > 0),0,macd,0.1,0),color0000cc;
stickline((macd > 0),0,macd*0.9,0.1,0),color0000ee;
stickline((macd > 0),0,macd*0.8,0.1,0),color0011ff;
stickline((macd > 0),0,macd*0.7,0.1,0),color0033ff;
stickline((macd > 0),0,macd*0.6,0.1,0),color0055ff;
stickline((macd > 0),0,macd*0.5,0.1,0),color0077ff;
stickline((macd > 0),0,macd*0.4,0.1,0),color0099ff;
stickline((macd > 0),0,macd*0.3,0.1,0),color00bbff;
stickline((macd > 0),0,macd*0.2,0.1,0),color00ddff;
stickline((macd > 0),0,macd*0.1,0.1,0),color00ffff;
stickline((macd < 0),0,macd,0.1,0),colorcc0033;
stickline((macd < 0),0,macd*0.9,0.1,0),coloree0033;
stickline((macd < 0),0,macd*0.8,0.1,0),colorff1133;
stickline((macd < 0),0,macd*0.7,0.1,0),colorff3333;
stickline((macd < 0),0,macd*0.6,0.1,0),colorff5533;
stickline((macd < 0),0,macd*0.5,0.1,0),colorff7733;
stickline((macd < 0),0,macd*0.4,0.1,0),colorff9933;
stickline((macd < 0),0,macd*0.3,0.1,0),colorffbb33;
stickline((macd < 0),0,macd*0.2,0.1,0),colorffdd33;
stickline((macd < 0),0,macd*0.1,0.1,0),colorffff33;
上一指标公式:优化版CCI请高手按图里面要求再优化若坛友喜欢可自取拿去用指标下载
下一指标公式:波段点睛王副图咋一看就懂不用再多介绍源码分享指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分型顶底幅图指标能更直观看出金叉和死叉清晰分界线指标下载仅供学习研究。