macd的大部分形态都标注出了来,喜欢的就拿去。源码如下:
diff:ema(close,8)-ema(close,26);
dea:ema(diff,9);
macd:2*(diff-dea), colorstick,linethick2;
drawtext(cross(diff,dea),diff,'☆'),colorred;
{drawicon(cross(dif,dea),dif*1.05,1);
drawicon(cross(dea,dif),dea*0.90,2);}
月diff:="macd.dif#month"color0080ff;
月dea:="macd.dea#month",color0080ff,linethick2;
周diff:="macd.dif#week"colorred;
周dea:="macd.dea#week",colorred,linethick2;
日diff:="macd.dif",colorwhite;
日dea:="macd.dea",colorwhite,linethick2;
日金:if(cross(日diff,日dea),0.125,0),coloryellow;
周金:if(cross(周diff,周dea),0.15,0),colorred;
月金:if(cross(月diff,月dea),0.175,0),colorgreen;
drawicon(周金 and 日金,-0.1,7);
drawicon(周金 and 月金,-0.15,11);
drawicon(日金 and 月金,-0.1,1);
日死:if(cross(日dea,日diff),-0.1,0),coloryellow;
周死:if(cross(周dea,周diff),-0.125,0),colorred;
月死:if(cross(月dea,月diff),-0.15,0),colorgreen;
drawicon(周死 and 日死,-0.1,8);
drawicon(周死 and 月死,-0.15,12);
drawicon(日死 and 月死,-0.15,2);
低位金叉:=cross(diff,dea) and diff<-0.1,nodraw;
stickline(低位金叉,0,0.08,6,0),coloryellow;
drawtext(低位金叉,0.16,' 低位金叉'),colorwhite;
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:=cross(diff,dea) and dea<0 and count(jccount=2,21)=1,nodraw;
stickline(二次金叉,0,0.06,6,0),colorff00ff;
drawicon(二次金叉,dea*0.9,1) ;
drawtext(二次金叉,0.225,' 二次金叉'),coloryellow;
a1:=barslast(ref(cross(diff,dea),1));
底背离:=ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea),nodraw;
stickline(底背离,0,0.03,6,0),color00ff00;
底背:drawline(a1=0,dea,底背离,dea,0),colorred,nodraw;
drawtext(底背离,0.10,' 底背离'),colorff00ff;
a2:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff),nodraw;
顶背:drawline(a2=0,dea,顶背离,dea,0),colorgreen,linethick2;
drawtext(低位金叉 and 二次金叉 and 底背离,0.275,'三全项'),color0000ff,linethick2;
drawicon(cross(diff,dea),dea,1);
drawicon(cross(dea,diff),dea,2);
ww:=dea>ref(dea,1);
dd:=cross(diff,ref(diff,1));
反身向上:if((ww and dd),0.25,0),colorwhite;
drawtext(反身向上,0.17,' 反身上'),colorwhite;
ad:=low=llv(low,14) and low<ref(low,1) and low<ref(low,5) and macd>ref(macd,1) and 0>macd and 0>ref(macd,1);
drawicon(ad,macd,9);
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文全能MACD副图显示顶底背离二次金叉反身向上低位金叉指标下载 通达信低位全能仅供学习研究。