大智慧l2的源码
diff:(ema(close,5)-ema(close,20))*100;
dea:ema(diff,5);
zz:=cross(dea,diff);
drawicon(zz,dea,2);
zz1:=cross(diff,dea);
drawicon(zz1,diff,1);
diff0:=(ema(close,12)-ema(close,26))*100;
dea0:=ema(diff0,9);
macd:2*(diff0-dea0);
stickline(macd>0,0,macd,0.00001,0),colorred;
diff2:=(ema(close,12)-ema(close,26))*100;
dea2:=ema(diff2,9);
macd1:2*(diff2-dea2);
stickline(macd1<0,0,macd1,0.00001,0),colorblue;
sqx:=(c-ma(close,13))*100;
diff7:=ema(ma(sqx,7),1);
dea1:=ema(diff7,7);
macd0:(diff7-dea1)*2,colorstick;
低位金叉:if(cross(diff7,dea1) and diff7<-0.1,0.3,0),coloryellow,pointdot;
stickline(低位金叉,0,15,4,0),coloryellow;
drawicon(低位金叉,0.3,1);
jccount:=count(cross(diff7,dea1),barslast(dea1>=0));
二次金叉:if(cross(diff7,dea1) and dea1<0 and count(jccount=2,21)=1,0.2,0),colorff00ff,pointdot;
stickline(二次金叉,30,15,4,0),colorff00ff;
a1:=barslast(ref(cross(diff7,dea1),1));
底背离:if(ref(close,a1+1)>close and diff7>ref(diff7,a1+1) and cross(diff7,dea1),0.1,0),colorred,pointdot;
stickline(底背离,45,30,4,0),colorred;
{drawline(a1=0,dea1,底背离,dea1,0),colorred;}
a2:=barslast(ref(cross(dea1,diff7),1));
顶背离:ref(close,a2+1)<close and ref(diff7,a2+1)>diff7 and cross(dea1,diff7),colorgreen;
drawline(a2=0,dea1,顶背离,dea1,0),colorgreen;
a3:=cross(diff7,dea1) and dea1<0;
零下二次金叉:if(filter(count(a3,21)=2,10),0.05,0),colorwhite,pointdot;
stickline(零下二次金叉,45,60,4,0),colorwhite;
飞狐源码
短线极品:自改的macd
本人对macd情有独钟,现对其加以修改,使其长短皆宜,其中奥妙各位慢慢体会,觉得好的话顶起来!
diff:(ema(dclose,5)-ema(dclose,20))*100;
dea:ema(diff,5);
zz:=cross(dea,diff);
drawicon(zz,dea,2);
zz1:=cross(diff,dea);
drawicon(zz1,diff,1);
diff0:=(ema(dclose,12)-ema(dclose,26))*100;
dea0:=ema(diff0,9);
macd:2*(diff0-dea0),nodraw;
stickline(macd>0,0,macd,0.00001,0),colorred;
diff2:=(ema(close,12)-ema(close,26))*100;
dea2:=ema(diff2,9);
macd1:2*(diff2-dea2),nodraw;
stickline(macd1<0,0,macd1,0.00001,0),colorliblue;
sqx:=(c-ma(close,13))*100;
diff7:=ema(ma(sqx,7),1);
dea1:=ema(diff7,7);
macd0:=(diff7-dea1)*2,colorstick;
低位金叉:=if(cross(diff7,dea1) and diff7<-0.1,0.3,0),coloryellow,pointdot;
stickline(低位金叉,0,15,4,0),coloryellow;
drawicon(低位金叉,0.3,1);
jccount:=count(cross(diff7,dea1),barslast(dea1>=0));
二次金叉:=if(cross(diff7,dea1) and dea1<0 and count(jccount=2,21)=1,0.2,0),colorff00ff,pointdot;
stickline(二次金叉,30,15,4,0),colorff00ff;
a1:=barslast(ref(cross(diff7,dea1),1));
底背离:=if(ref(close,a1+1)>close and diff7>ref(diff7,a1+1) and cross(diff7,dea1),0.1,0),colorred,pointdot;
stickline(底背离,45,30,4,0),colorred;
{drawline(a1=0,dea1,底背离,dea1,0),colorred;}
a2:=barslast(ref(cross(dea1,diff7),1));
顶背离:=ref(close,a2+1)<close and ref(diff7,a2+1)>diff7 and cross(dea1,diff7),colorgreen;
drawline(a2=0,dea1,顶背离,dea1,0),colorgreen;
a3:=cross(diff7,dea1) and dea1<0;
零下二次金叉:=if(filter(count(a3,21)=2,10),0.05,0),colorwhite,pointdot;
stickline(零下二次金叉,45,60,4,0),colorwhite;
上一指标公式:彩虹量价指标公式详解 大智慧彩虹
下一指标公式:搏杀线+指标公式详解 大智慧搏杀
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文短线极品自改macd指标公式详解 大智慧极品仅供学习研究。