好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式[飞狐解密]MACD精确 通达信解密公式

[飞狐解密]MACD精确 通达信解密公式

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-04-11 15:10:18
  • 指标公式标签:解密
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:[飞狐解密]MACD精确 通达信解密公式

macd精确,通达信源码

difif1:=(ema(close,12) - ema(close,26))*100/ema(close,26);
deaea1:=ema(difif1,9);
macd1:=2*(difif1-deaea1),stick;
macd2:=ema(macd1,3);
stickline(macd1>macd2 and macd1>0,0,macd1,3,0),colorred;
stickline(macd1>macd2 and macd1<0,0,macd1,3,0),colorgreen;
stickline(macd1<macd2,0,macd1,3,0),colorcbcbc0;
stickline(macd1>=0 or macd1<=0,0,0,50,1),colorwhite;
difif1,color33ff33,linethick2;
deaea1,coloryellow,linethick2;
macd:macd1,nodraw,colormagenta;
强:if(difif1>=deaea1,difif1,drawnull),colorred,linethick2;
弱:=if(deaea1>=difif1,deaea1,drawnull),colorff9900,linethick2;
drawicon(cross(difif1,deaea1),difif1+0.1,1);
drawicon(cross(deaea1,difif1),0.4,2);
a1:=barslast(ref(cross("macd.dif","macd.dea"),1));
b1:=ref(c,a1+1)>c and ref("macd.dif",a1+1)<"macd.dif" and cross("macd.dif","macd.dea");
drawtext(b1>0,-0.8,'macd底背'),colorff00ff;
a2:=barslast(ref(cross("kdj.k","kdj.d"),1));
b2:=ref(c,a2+1)>c and ref("kdj.k",a2+1)<"kdj.k" and cross("kdj.k","kdj.d");
drawtext(b2,-0.6,'kdj底离'),coloryellow;{kdj底背离};
a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2");
drawtext(b3>0,-0.3,'rsi底离'),colorcyan;{rsi底背离};
c1:=barslast(ref(cross("macd.dea","macd.dif"),1));
d1:=ref(c,c1+1)<c and ref("macd.dif",c1+1)>"macd.dif" and cross("macd.dea","macd.dif");
drawtext(d1>0,0.4,'macd顶离'),colorblue;{macd顶背离}
c2:=barslast(ref(cross("kdj.d","kdj.k"),1));
d2:=ref(c,c2+1)<c and ref("kdj.k",c2+1)>"kdj.k" and cross("kdj.d","kdj.k");
drawtext(d2>0,0.6,'kdj顶离'),colorligray;{kdj顶背离}
c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1",c3+1)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1");
drawtext(d3>0,0.8,'rsi顶离'),colorgreen;{rsi顶背离};

dd:=c=hhv(c,180);
ee:=deaea1< ref(deaea1,1) and ref(deaea1< ref(deaea1,1),1)=1;
cc:=c> ref(c,1) and ref(c> ref(c,1),1)=1;
上升背离:(cc and ee)*deaea1,color00ffff;
顶背离:(dd and ee and deaea1< hhv(deaea1,180))*deaea1,stick,linethick3,colorgreen;
ff:=c=llv(c,180);
gg:= deaea1> ref(deaea1,1) and ref(deaea1> ref(deaea1,1),1)=1;
ll:=c< ref(c,1) and ref(c< ref(c,1),1)=1;
下降背离:(ll and gg)*deaea1,colormagenta;
底背离:(ff and gg and deaea1> llv(deaea1,180))*deaea1,stick,linethick3,colorred;

飞狐源码:

difif1:=(ema(close,12) - ema(close,26))*100/ema(close,26);
deaea1:=ema(difif1,9);
macd1:=2*(difif1-deaea1),stick;
macd2:=ema(macd1,3);
stickline(macd1>macd2 and macd1>0,0,macd1,3,0),colorred;
stickline(macd1>macd2 and macd1<0,0,macd1,3,0),colorgreen;
stickline(macd1<macd2,0,macd1,3,0),colorcbcbc0;
stickline(macd1>=0 or macd1<=0,0,0,50,1),colorwhite;
difif1,color33ff33,linethick2;
deaea1,coloryellow,linethick2;
macd:macd1,linethick0,colormagenta;
强:partline(difif1>=deaea1,difif1),colorred,linethick2;
弱:=partline(deaea1>=difif1,deaea1),colorff9900,linethick2;
drawicon(cross(difif1,deaea1),difif1+0.1,1);
drawicon(cross(deaea1,difif1),0.4,2);
a1:=barslast(ref(cross("macd.dif","macd.dea"),1));
b1:=ref(c,a1+1)>c and ref("macd.dif",a1+1)<"macd.dif" and cross("macd.dif","macd.dea");
drawtext(b1>0,-0.8,'macd底背'),colorff00ff;
a2:=barslast(ref(cross("kdj.k","kdj.d"),1));
b2:=ref(c,a2+1)>c and ref("kdj.k",a2+1)<"kdj.k" and cross("kdj.k","kdj.d");
drawtext(b2,-0.6,'kdj底离'),coloryellow;{kdj底背离};
a3:=barslast(ref(cross("rsi.rsi1","rsi.rsi2"),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1",a3+1)<"rsi.rsi1" and cross("rsi.rsi1","rsi.rsi2");
drawtext(b3>0,-0.3,'rsi底离'),colorcyan;{rsi底背离};
c1:=barslast(ref(cross("macd.dea","macd.dif"),1));
d1:=ref(c,c1+1)<c and ref("macd.dif",c1+1)>"macd.dif" and cross("macd.dea","macd.dif");
drawtext(d1>0,0.4,'macd顶离'),colorblue;{macd顶背离}
c2:=barslast(ref(cross("kdj.d","kdj.k"),1));
d2:=ref(c,c2+1)<c and ref("kdj.k",c2+1)>"kdj.k" and cross("kdj.d","kdj.k");
drawtext(d2>0,0.6,'kdj顶离'),colorligray;{kdj顶背离}
c3:=barslast(ref(cross("rsi.rsi2","rsi.rsi1"),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1",c3+1)>"rsi.rsi1" and cross("rsi.rsi2","rsi.rsi1");
drawtext(d3>0,0.8,'rsi顶离'),colorgreen;{rsi顶背离};

dd:=c=hhv(c,180);
ee:=deaea1< ref(deaea1,1) and ref(deaea1< ref(deaea1,1),1)=1;
cc:=c> ref(c,1) and ref(c> ref(c,1),1)=1;
上升背离:(cc and ee)*deaea1,color00ffff;
顶背离:(dd and ee and deaea1< hhv(deaea1,180))*deaea1,stick,linethick3,colorgreen;
ff:=c=llv(c,180);
gg:= deaea1> ref(deaea1,1) and ref(deaea1> ref(deaea1,1),1)=1;
ll:=c< ref(c,1) and ref(c< ref(c,1),1)=1;
下降背离:(ll and gg)*deaea1,colormagenta;
底背离:(ff and gg and deaea1> llv(deaea1,180))*deaea1,stick,linethick3,colorred;


[飞狐通达信公式解密]macd精确

  >>>使用本站搜索工具可以找到更多[飞狐解密]MACD精确 通达信解密公式

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文[飞狐解密]MACD精确 通达信解密公式仅供学习研究。

猜你喜欢

学了又学