好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式MACD二启通用版指标附用法说明下载 通达信大智慧源码

MACD二启通用版指标附用法说明下载 通达信大智慧源码

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2019-01-15 06:52:49
  • 指标公式标签:MACD 二启 通用版
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:MACD二启通用版指标附用法说明下载 通达信大智慧源码

这种二启信号见仁见智,我把macd连续3天小于0再翻红算一次新的开始,跟原思路会有所不同!
预警条件中少了量比条件,需自己盘中观察!

这种信号只有在大盘回调或盘整后才能出现,若大盘没有再次走强,又因为是追涨买入,亏损程度会很大!!!

信号量可能会较多也可能会有其他一些问题,都等以后有空再优化,测试几天再说

{macd二启 通达信版预警 去st}
dif:=(ema(c,5)-ema(c,21))/ema(c,21)*100;
dea:=ema(dif,8);
macd:=2*(dif-dea);
er:=vol/capital*100;
zd:=c/ref(c,1)*100-100;
a0:=barslast(cross(0.5,count(macd<0,3)>=3) and (macd>=1 or dif>=2));
a1:=cross(0.5,count(macd>ref(macd,1),a0+1)=a0+1);
a2:=ref(hhv(er,a0+1),1)>=3 and ref(hhv(zd,a0+3),1)>=5;
b0:=barslast(a1 and a2);
b1:=count(macd<ref(macd,1),b0+1)=b0+1;
b2:=count(macd<0,b0+1)<=2 and (count(c<o and zd<0,2)=2 or b0>=1);
st:=(namelike('s') or namelike('*s'))=0;{剔除st}
xz:=fromopen>=1 and fromopen<=230 and dynainfo(8)>=100;
b3:=b1 and b2 and st;{备选}
ref(b3,1) and macd>ref(macd,1) and c>o and zd>0 and xz;

{macd二启 通达信低版本预警,不去st}
dif:=(ema(c,5)-ema(c,21))/ema(c,21)*100;
dea:=ema(dif,8);
macd:=2*(dif-dea);
er:=vol/capital*100;
zd:=c/ref(c,1)*100-100;
a0:=barslast(cross(0.5,count(macd<0,3)>=3) and (macd>=1 or dif>=2));
a1:=cross(0.5,count(macd>ref(macd,1),a0+1)=a0+1);
a2:=ref(hhv(er,a0+1),1)>=3 and ref(hhv(zd,a0+3),1)>=5;
b0:=barslast(a1 and a2);
b1:=count(macd<ref(macd,1),b0+1)=b0+1;
b2:=count(macd<0,b0+1)<=2 and (count(c<o and zd<0,2)=2 or b0>=1);
xz:=fromopen>=1 and fromopen<=230 and dynainfo(8)>=100;
b3:=b1 and b2;{备选}
ref(b3,1) and macd>ref(macd,1) and c>o and zd>0 and xz;

{macd二启 大智慧飞狐版预警}
dif:=(ema(c,5)-ema(c,21))/ema(c,21)*100;
dea:=ema(dif,8);
macd:=2*(dif-dea);
er:=vol/capital*100;
zd:=c/ref(c,1)*100-100;
a0:=barslast(cross(0.5,count(macd<0,3)>=3) and (macd>=1 or dif>=2));
a1:=cross(0.5,count(macd>ref(macd,1),a0+1)=a0+1);
a2:=ref(hhv(er,a0+1),1)>=3 and ref(hhv(zd,a0+3),1)>=5;
b0:=barslast(a1 and a2);
b1:=count(macd<ref(macd,1),b0+1)=b0+1;
b2:=count(macd<0,b0+1)<=2 and (count(c<o and zd<0,2)=2 or b0>=1);
st:=strfind(stkname,'s',1)=0;{剔除st}
xz:=currenttime>=93000 and currenttime<145000 and dynainfo(8)>=100;
b3:=b1 and b2 and st;{备选}
ref(b3,1) and macd>ref(macd,1) and c>o and zd>0 and xz;

{macd优,通达信版副图}
dif:(ema(c,5)-ema(c,21))/ema(c,21)*100,colorf0f0f0;
dea:ema(dif,8),color00dcdc;
macd:2*(dif-dea),colorstick,color0000dc;
stickline(macd>0,macd,0,2,1),color0000dc;
stickline(macd>0 and macd<ref(macd,1),macd,0,2,1),color00b400;
stickline(macd<=0,macd,0,2,1),colorgray;
stickline(macd<=0 and macd>ref(macd,1),macd,0,2,1),colorc800c8;
x0:=barslast((cross(macd,ref(macd,1)) and macd>0) or cross(macd,0));
x1:=barslast(cross(0.5,count(macd>ref(macd,1),x0+1)=x0+1));{回}
x2:=count(macd<ref(macd,1),x1+1)=x1+1 and count(macd<0,x1+1)<=2;
x3:=ref(x2,1) and macd>ref(macd,1) and c>o and c>ref(c,1);
stickline(x1=0 and macd>0,macd,0,2,0),colordcdc00;
stickline(x3,macd,0,2,0),color0854ff;
notextdif:dif,colorwhite;
notextdea:dea,coloryellow;
notext:if(dif>=ref(dif,1),dif,drawnull),colorred;
er:=vol/capital*100;
zd:=c/ref(c,1)*100-100;
a0:=barslast(cross(0.5,count(macd<0,3)>=3) and (macd>=1 or dif>=2));
a1:=cross(0.5,count(macd>ref(macd,1),a0+1)=a0+1);
a2:=ref(hhv(er,a0+1),1)>=3 and ref(hhv(zd,a0+3),1)>=5;
b0:=barslast(a1 and a2);
b1:=count(macd<ref(macd,1),b0+1)=b0+1;
b2:=count(macd<0,b0+1)<=2 and (count(c<o and zd<0,2)=2 or b0>=1);
b3:=b1 and b2;
b4:=ref(b3,1) and macd>ref(macd,1) and c>o and zd>0;
drawicon(b4,abs(macd)+1,1);

{macd优,飞狐版副图}
dif:(ema(c,5)-ema(c,21))/ema(c,21)*100,colorf0f0f0;
dea:ema(dif,8),color00dcdc;
macd:2*(dif-dea),colorstick,color0000dc;
stickline(macd>0,macd,0,8,1),color0000dc;
stickline(macd>0 and macd<ref(macd,1),macd,0,8,1),color00b400;
stickline(macd<=0,macd,0,8,1),colorgray;
stickline(macd<=0 and macd>ref(macd,1),macd,0,8,1),colorc800c8;
x0:=barslast((cross(macd,ref(macd,1)) and macd>0) or cross(macd,0));
x1:=barslast(cross(0.5,count(macd>ref(macd,1),x0+1)=x0+1));{回}
x2:=count(macd<ref(macd,1),x1+1)=x1+1 and count(macd<0,x1+1)<=2;
x3:=ref(x2,1) and macd>ref(macd,1) and c>o and c>ref(c,1);
stickline(x1=0 and macd>0,macd,0,8,0),colordcdc00;
stickline(x3,macd,0,8,0),color0854ff;
polyline(c>0,dif),colorf0f0f0;
polyline(c>0,dea),color00dcdc;
partline(dif>ref(dif,1),dif),colorred;
er:=vol/capital*100;
zd:=c/ref(c,1)*100-100;
a0:=barslast(cross(0.5,count(macd<0,3)>=3) and (macd>=1 or dif>=2));
a1:=cross(0.5,count(macd>ref(macd,1),a0+1)=a0+1);
a2:=ref(hhv(er,a0+1),1)>=3 and ref(hhv(zd,a0+3),1)>=5;
b0:=barslast(a1 and a2);
b1:=count(macd<ref(macd,1),b0+1)=b0+1;
b2:=count(macd<0,b0+1)<=2 and (count(c<o and zd<0,2)=2 or b0>=1);
b3:=b1 and b2;
b4:=ref(b3,1) and macd>ref(macd,1) and c>o and zd>0;
drawtext(b4,abs(macd)+1.5,'◆'),coloryellow,,align0;

{macd优,大智慧版副图}
dif:(ema(c,5)-ema(c,21))/ema(c,21)*100,colorf0f0f0;
dea:ema(dif,8),color00dcdc;
macd:2*(dif-dea),color0000dc,linethick0;
stickline(macd>0,macd,0,8,1),color0000dc;
stickline(macd>0 and macd<ref(macd,1),macd,0,8,1),color00b400;
stickline(macd<=0,macd,0,8,1),colorgray;
stickline(macd<=0 and macd>ref(macd,1),macd,0,8,1),colorc800c8;
x0:=barslast((cross(macd,ref(macd,1)) and macd>0) or cross(macd,0));
x1:=barslast(cross(0.5,count(macd>ref(macd,1),x0+1)=x0+1));{回}
x2:=count(macd<ref(macd,1),x1+1)=x1+1 and count(macd<0,x1+1)<=2;
x3:=ref(x2,1) and macd>ref(macd,1) and c>o and c>ref(c,1);
stickline(x1=0 and macd>0,macd,0,8,0),colordcdc00;
stickline(x3,macd,0,8,0),color0854ff;
polyline(c>0,dif),colorf0f0f0;
polyline(c>0,dea),color00dcdc;
partline(dif,dif>ref(dif,1)),colorred,layer0;
er:=vol/capital*100;
zd:=c/ref(c,1)*100-100;
a0:=barslast(cross(0.5,count(macd<0,3)>=3) and (macd>=1 or dif>=2));
a1:=cross(0.5,count(macd>ref(macd,1),a0+1)=a0+1);
a2:=ref(hhv(er,a0+1),1)>=3 and ref(hhv(zd,a0+3),1)>=5;
b0:=barslast(a1 and a2);
b1:=count(macd<ref(macd,1),b0+1)=b0+1;
b2:=count(macd<0,b0+1)<=2 and (count(c<o and zd<0,2)=2 or b0>=1);
b3:=b1 and b2;
b4:=ref(b3,1) and macd>ref(macd,1) and c>o and zd>0;
drawtext(b4,abs(macd)+1.5,'◆'),coloryellow,align1;


macd二启通达信大智慧飞狐版(源码+图例+说明)

  >>>使用本站搜索工具可以找到更多MACD二启通用版指标附用法说明下载 通达信大智慧源码

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文MACD二启通用版指标附用法说明下载 通达信大智慧源码仅供学习研究。

猜你喜欢

学了又学