macd量能聚集副图源码下载:
diff :(ema(c,12) - ema(c,26))*1000;
dea :ema(diff,9);
macd :2*(diff-dea),colorstick;
a0:=barslast(ref(cross(dea,0),1));
a1:=barslast(cross(dea,diff));
a2:=ref(barslast(cross(dea,diff)),a1+1);
a3:=ref(barslast(cross(dea,diff)),a2+a1+2);
a4:=ref(barslast(cross(dea,diff)),a3+a2+a1+3);
a5:=ref(barslast(cross(dea,diff)),a4+a3+a2+a1+4);
a11:=llv(c,a1)<ref(llv(c,a1+1),a1+1) and llv(diff,a1)>ref(llv(diff,a1+1),a1+1);
a22:=llv(c,a1)<ref(llv(c,a1+a2+2),a1+a2+2) and
llv(diff,a1)>ref(llv(diff,a1+a2+2),a1+a2+2);
a33:=llv(c,a1)<ref(llv(c,a1+a2+a3+3),a1+a2+a3+3) and
llv(diff,a1)>ref(llv(diff,a1+a2+a3+3),a1+a2+a3+3);
a44:=llv(c,a1)<ref(llv(c,a1+a2+a3+a4+4),a1+a2+a3+a4+4) and
llv(diff,a1)>ref(llv(diff,a1+a2+a3+a4+4),a1+a2+a3+a4+4) and a11 and a22 and a33;
a55:=llv(c,a1)<ref(llv(c,a1+a2+a3+a4+a5+5),a1+a2+a3+a4+a5+5) and
llv(diff,a1)>ref(llv(diff,a1+a2+a3+a4+a5+5),a1+a2+a3+a4+a5+5) and a11 and a22 and a33
and a44;
dibl:=(a11 or a22 or a33 or a44 or a55) and diff<0 and ref(count(macd<0,2)=2,1) and cross(diff,dea);
dibl1:=(a11 or a22 or a33 or a44 or a55) and diff<0 and diff<dea and diff>ref(diff,1)
and diff>ref(diff,2);
底背离:if(dibl,0,dea),colorred;
if(diff<0 and cross(diff,dea) and dibl=0,0,dea),coloryellow;
b0:=barslast(ref(cross(0,dea),1));
b1:=barslast(cross(diff,dea));
b2:=ref(barslast(cross(diff,dea)),b1+1);
b3:=ref(barslast(cross(diff,dea)),b1+b2+2);
b4:=ref(barslast(cross(diff,dea)),b1+b2+b3+3);
b5:=ref(barslast(cross(diff,dea)),b1+b2+b3+b4+4);
b11:=hhv(c,b1)>ref(hhv(c,b1+1),b1+1) and hhv(diff,b1)<ref(hhv(diff,b1+1),b1+1);
b22:=hhv(c,b1)>ref(hhv(c,b1+b2+2),b1+b2+2) and
hhv(diff,b1)<ref(hhv(diff,b1+b2+2),b1+b2+2);
b33:=hhv(c,b1)>ref(hhv(c,b1+b2+b3+3),b1+b2+b3+3) and
hhv(diff,b1)<ref(hhv(diff,b1+b2+b3+3),b1+b2+b3+3);
b44:=hhv(c,b1)>ref(hhv(c,b1+b2+b3+b4+4),b1+b2+b3+b4+4) and
hhv(diff,b1)<ref(hhv(diff,b1+b2+b3+b4+4),b1+b2+b3+b4+4) and b11 and b22 and b33;
b55:=hhv(c,b1)>ref(hhv(c,b1+b2+b3+b4+b5+5),b1+b2+b3+b4+b5+5) and
hhv(diff,b1)<ref(hhv(diff,b1+b2+b3+b4+b5+5),b1+b2+b3+b4+b5+5) and b11 and b22 and b33
and b44;
dingbl:=(b11 or b22 or b33 or b44 or b55) and diff>0 and ref(count(macd>0,2)=2,1) and cross(dea,diff);
dingbl1:=(b11 or b22 or b33 or b44 or b55) and diff>0 and dea<diff and diff<ref(diff,1)
and diff<ref(diff,2);
顶背离:if(dingbl,0,dea),colorgreen;
if(diff>0 and cross(dea,diff) and dingbl=0,0,dea),colorblue;
stickline(dibl1,diff,dea,2,0),colorred;
stickline(dingbl1,diff,dea,2,0),colorgreen;
mb:=ema(diff,20);
ub:=mb+1.9104*std(diff,20),coloryellow,pointdot;
lb:=mb-1.9104*std(diff,20),colorliblue,pointdot;
zjs:=hhv(dea,b0)/2;
zjx:=llv(dea,a0)/2;
if(dea>diff and diff>0 ,zjs,drawnull),colorred;
if(dea<diff and diff<0 ,zjx,drawnull),colorgreen;
上一指标公式:幸福之家下载
下一指标公式:K线实体价位重叠形成盘整形态主图下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文MACD量能聚集副图下载仅供学习研究。