月diff:=ma("macd.diff#month",22),linethick0;
月dea:=ma("macd.dea#month",22);
周diff:=ma("macd.diff#week",5),linethick0;
周dea:=ma("macd.dea#week",5);
月:partline(月diff>=ref(月diff,1),月diff),colorred,linethick2;
partline(月diff<ref(月diff,1),月diff),colorgreen,linethick2;
周:partline(周diff>=ref(周diff,1),周diff),colormagenta,linethick2;
partline(周diff<ref(周diff,1),周diff),colorblue,linethick2;
drawicon(cross(周diff,周dea),周dea,10);
drawicon(cross(周dea,周diff),周dea,12);
diff : ema(close,12) - ema(close,26);
dea: ema(diff,9);
macd : 2*(diff-dea), colorstick;
日diff:=ma("macd.diff#day",1),linethick0;
日:partline(日diff>=ref(日diff,1),日diff),coloryellow,linethick1;
partline(日diff<ref(日diff,1),日diff),linedot,colorbrown,linethick1;
低位金叉:if(cross(diff,dea) and diff<-0.1,1,0),coloryellow,linethick0;
jccount:=count(cross(diff,dea),barslast(dea>=0));
partline(cross(diff,dea) and dea<0 and count(jccount=2,21)=1,0.7),
colorff00ff,linethick0,crossdot;
二次金叉:if(cross(diff,dea) and dea<0 and count(jccount=2,21)=1,1,0),
colorff00ff,linethick0;
a1:=barslast(ref(cross(diff,dea),1));
partline(ref(close,a1+1)>close and diff>ref(diff,a1+1)
and cross(diff,dea),0.65),colorred,linethick2,crossdot;
底背:if(ref(close,a1+1)>close and diff>ref(diff,a1+1)
and cross(diff,dea),1,0),colorred,linethick0;
势: drawline(a1=0,dea,底背,dea,0),colorwhite;{,colorred;}
a2:=barslast(ref(cross(dea,diff),1));
顶背:=ref(close,a2+1)<close and ref(diff,a2+1)>diff and
cross(dea,diff);
partline(ref(close,a2+1)<close and ref(diff,a2+1)>diff and
cross(dea,diff),0.6),colorf08000,linethick2,crossdot;
顶背_:if(ref(close,a2+1)<close and ref(diff,a2+1)>diff and
cross(dea,diff),1,0),colorf08000,linethick0;
压: drawline(a2=0,dea,顶背,dea,0),colorffbb99;
a3:=cross(diff,dea) and dea<0;
partline(filter(count(a3,21)=2,10),0.55),colorwhite,linethick2,
crossdot;
零下二次金叉_:if(filter(count(a3,21)=2,10),1,0),colorwhite,
linethick0;
drawicon(cross(diff,dea) ,diff,4),align1;
drawicon(cross(dea,diff) , dea,5),align1;
金叉:if(cross(diff,dea),diff,0),color00ff00,stick,linethick1;
{死叉:if(cross(dea,diff),diff,0),colorff0099,stick,linethick1;}
选股:二次金叉>0 or 低位金叉>0 or 底背>0;
0,colorgray;
drawicon(二次金叉>0 or 低位金叉>0 or 底背>0,1,10);
不会贴图望哪位补一张!
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文月周日macd趋势副图公式 飞狐周日趋势指标 源码仅供学习研究。