{终极超级macd==集合几位高人指标拼的终极超级macd}
dif:(ema(close,12) - ema(close,26)),colorred,nodraw;
dea:ema(dif,9),color00ffff,nodraw;
macd:2*(dif-dea),nodraw;
difk:=ema(dif,3);
difd:=ema(difk,3);
dkk:4*dif-3*dea,colorff00ff,nodraw;
ddd:ema(dkk,5),color2588ff,nodraw;
drawicon(cross(ddd,dkk),dkk,2);
drawicon(cross(dkk,ddd),ddd,1);
trlsx1:= max(max((hhv(dif,13)-llv(dif,13)),abs(ref(dif,1)-hhv(dif,13))),abs(ref(dif,1)-llv(dif,13)));
trlsx2:=ema(trlsx1,13);
trlsx3:=ref(dif,1)-ref(trlsx2,1);
支撑:hhv(trlsx3,13),colorffffff,nodraw;
rsv14:=(close - llv(low,14))/(hhv(high,14) - llv(low,14))-0.5;
k14:=ema(rsv14,3),colorff00ff,nodraw;
d14:=ema(k14,3),colorgreen,nodraw;
j14:=3*k14-2*d14;
drawband(dif,rgb(200,50,55),dea,rgb(50,100,10));
macdxg2:=ref(count(dif>0 and macd<0 and macd<ref(macd,1),4)=4,1) and macd>ref(macd,1);
stickline(macdxg2,macd*1.2,0,2.8,0),colorred;
stickline(macd>ref(macd,1) and macd>0,0,macd,1.8,0),color000055;
stickline(macd>ref(macd,1) and macd>0,0,macd,1.1,0),color000099;
stickline(macd>ref(macd,1) and macd>0,0,macd,0.6,0),color0000bb;
stickline(macd<=ref(macd,1) and macd>0,0,macd,1.8,0),color888888;
stickline(macd<=ref(macd,1) and macd>0,0,macd,1.1,0),colorbbbbbb;
stickline(macd<=ref(macd,1) and macd>0,0,macd,0.6,0),colordddddd;
stickline(macd>ref(macd,1) and macd<0,0,macd,1.8,0),color3377aa;
stickline(macd>ref(macd,1) and macd<0,0,macd,1.1,0),color3388bb;
stickline(macd>ref(macd,1) and macd<0,0,macd,0.6,0),color4499cc;
stickline(macd<=ref(macd,1) and macd<0,0,macd,1.8,0),colorff3300;
stickline(macd<=ref(macd,1) and macd<0,0,macd,1.1,0),colorff5500;
stickline(macd<=ref(macd,1) and macd<0,0,macd,0.6,0),colorff7700;
stickline(j14<-0.5,0,0.15,1.8,0),colorff00ff;
支撑,colorffffff;
if(c>0,dif,drawnull),colorred,linethick1;
if(c>0,dea,drawnull),color00ffff,linethick1;
if(dea<ref(dea,1),dea,drawnull),colorbe7f6f,linethick1;
if(dif<=ref(dif,1),dif,drawnull),colorblue,linethick1;
if(c,dkk,drawnull),colorff00ff,linethick1;
if(dkk<=ref(dkk,1),dkk,drawnull),colorcyan,linethick1;
if(c,ddd,drawnull),color2255ff,linethick1;
if(ddd<=ref(ddd,1),ddd,drawnull),color33ff33,linethick1;
kdjxg:=ref(count(j14<ref(j14,1),5)>=3,1) and ref(j14,1)<-0.4 and j14>ref(j14,1);
drawicon(filter(kdjxg,3),macd*1.2,11),colorff00ee;
准备介入点:=ref(cross(0,macd),3) and count(dif>0 and macd<ref(macd,1),4)=4 ;
drawicon(准备介入点,0.05,9);
ts:=barslast(macd>=0 and ref(macd,1)<0);
红柱面积:0.091*if(macd<0 and ref(macd,1)>=0,sum(ref(macd,1),ts),0),colormagenta,linethick0;
stickline(macd<0 and ref(macd,1)>=0,0,红柱面积,4,0),colorwhite;
ts1:=barslast(macd<=0 and ref(macd,1)>0);
绿柱面积:0.1*if(macd>0 and ref(macd,1)<=0,sum(ref(macd,1),ts1),0),colorgreen,linethick0;
stickline(macd>0 and ref(macd,1)<=0,0,绿柱面积,4,0),colorgreen;
a1:=cross(dif,dea) and dif<-0.1;
底背离:=ref(close,a1+1)>close and dif>ref(dif,a1+1) and cross(dif,dea);
stickline(底背离,0,0.03,6,0),color00ff00;
底背:drawline(a1=0,dea,底背离,dea,0),colorred,linethick2;
drawtext(底背离,0.12,' 底背离'),colorff00ff;
a2:=barslast(ref(cross(dea,dif),1));
顶背离:=ref(close,a2+1)<close and ref(dif,a2+1)>dif and cross(dea,dif);
顶背:drawline(a2=0,dea,顶背离,dea,0),colorgreen,linethick2;
aa:=count(cross(dif,dea),barslast(dea>=0));
二次金叉:=cross(dif,dea) and dea<0 and count(aa=2,21)=1;
drawtext(二次金叉,0.2,' 二次金叉'),coloryellow;
低金:=barslast(ref(cross(dif,dea),1));
stickline(低金,0,0.01,6,0),coloryellow;
drawtext(低金,0.10,' 低金'),colorwhite;
drawtext(低金 and 二次金叉 and 底背离,0.5,'三全项'),color0000ff;
drawtext(低金 and 底背离,0.4,'二全项'),color0000ff;
drawtext(二次金叉 and 低金,0.3,'一全项'),color0000ff;
drawtext(二次金叉 and 底背离,0.2,'无全项'),color0000ff;
上一指标公式:实战操盘之{超级波段主图}有图指标详解 通达信操盘实战
下一指标公式:抓启动初期股票指标详解 通达信源码启动
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文集合几位高人拼的终极超级MACD指标详解 通达信高人终极仅供学习研究。