好公式网用指标公式为投资注入科技力量!
您的位置:好公式网大智慧公式macd收集公式下载 大智慧指标收集

macd收集公式下载 大智慧指标收集

  • 指标公式类型:大智慧公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-07-17 21:34:53
  • 指标公式标签:
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:macd收集公式下载 大智慧指标收集

macd收集

公式源码都是macd指标的变形优化,收集起来,仅仅是源码,公式请看下面的录像自编一下。

感觉还是把所有同类指标归类的好,方便大家比较查阅
----------不全请大家补充----------
1.
dif:ema(close,12)-ema(close,26),colorlired,linethick0;
dea:ema(dif,9),colorred,linethick0;
drawtext(cross(dif,dea),dif-0,'建仓'),coloryellow;
drawtext(cross(dea,dif),dif+0,'空仓'),colorgreen;
macd彩柱:(
dif-dea)*2,colorstick;
stickline(macd彩柱<ref(macd彩柱,1) and macd彩柱>0,0,macd彩柱,1,0),colorliblue,linethick2;
stickline(macd彩柱>ref(macd彩柱,1) and macd彩柱<0,0,macd彩柱,1,0),colorff00ff,linethick2;
_抄底:abs((cross("macd.dif","macd.dea")&&"macd.dea"<=-0.07)*"macd.dif")*1.50,colorlimagenta;
_dif:"macd.dif",colorgreen;
_dea:"macd.dea";
__强度:if(_dif>_dea,_dif,drawnull),colorred,linethick1;
_强度:if(_dea<_dif,_dea,drawnull);
drawtext(abs(_抄底)>0,_抄底*1.20,' 抄底'),coloryellow;
drawicon(abs(_抄底)>0,_抄底*1.10,4);
drawicon(cross(_dif,_dea),_dea,1);
drawicon(cross(_dea,_dif),_dea,2);


2.
a:ema(close,9)-ema(close,18);
b:ema(a,7),linethick1;
macd:=2*(a-b);
stickline(macd>=0,macd,0,0,0),colorf00ff0;
stickline(macd<0,macd,0,1,0),colorf00ff0;
stickline(macd<ref(macd,1)and macd>0,0,macd,0,0 ),colorffff00;
stickline(macd<=ref(macd,1)and macd<0,0,macd,1,0 ),colorffff00;
if(a<0,a,0),colorred,linethick1;
if(a<0,0,a),colorred,linethick1;
if(a<b,a,b),color00ff00,linethick1;
if(a>b,b,b),colorwhite,linethick1;

机会来临:ref(if((ma(c,5)-c)/c>0.04 and (ma(c,10)-ma(c,5))/ma(c,5)>0.04,0.5,0),1),colorgreen;
lc:=ref(close,1);
rsi:=sma(max(close-lc,0),6,1)/sma(abs(close-lc),6,1)*100;
e:=cross(83,rsi);
stickline( e,e,0.5,1,0),color00ffff;
drawtext(e,0.85,' 逃顶'),colorgreen;
低位金叉:cross(a,b) and a<-0.1,colorred;
stickline(低位金叉,0,0.5,2,0),colorred;
jccount:=count(cross(a,b),barslast(b>=0));
二次金叉:cross(a,b) and b<0 and count(jccount=2,21)=1,coloryellow;
stickline(二次金叉,0,0.2,2,0),coloryellow;
drawicon(二次金叉,b*0.9,25) ;
drawicon(llv(macd,4)>0 and macd<ref(macd,1) and ref(macd,1)>ref(macd,2) and ref(macd,2)>ref(macd,3),macd,2);
drawicon(hhv(macd,4)<0 and macd>ref(macd,1) and ref(macd,1)<ref(macd,2) and ref(macd,2)<ref(macd,3),macd,1);


3.
diff:ema(dclose,12)-ema(dclose,26);
dea:ema(diff,9),colorffff00;
macd:(diff-dea)*2;
stickline(macd>=0 and macd>=ref(macd,1),0,macd,1,0),colorred;
stickline(macd>=0 and macd<=ref(macd,1),0,macd,1,0),colorgreen;
stickline(macd<=0 and macd>=ref(macd,1),0,macd,1,0),colorff00ff;
stickline(macd<=0 and macd<=ref(macd,1),0,macd,1,0),color00ffff;
多转空:=((((llv(macd,4)>0) and (macd<ref(macd,1))) and (ref(macd,1)>ref(macd,2))) and (ref(macd,2)>ref(macd,3)));
空转多:=((((hhv(macd,4)<0) and (macd>ref(macd,1))) and (ref(macd,1)<ref(macd,2))) and (ref(macd,2)<ref(macd,3)));
drawicon(多转空,macd,2);
drawicon(空转多,macd,1);
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:=cross(diff,dea) and dea<0 and count(jccount=2,21)=1;
stickline(二次金叉,0,0.2,2,0),colorff00ff;
drawtext(二次金叉,dea*1.06,'二次金叉'),colorred;
a1:=barslast(ref(cross(diff,dea),1));
底背离:=ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea);
{stickline(底背离,0.5,0.8,2,0),colorred};
drawline(a1=0,dea,底背离,dea,0),colorred,linethick3;
a2:=barslast(ref(cross(dea,diff),1));
顶背离:=ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff);
drawline(a2=0,dea,顶背离,dea,0),colorblue,linethick3;


4.
var1:=(ma(close,80)-ma(close,13)/3);
var2:=( ma((close-var1)/var1,1));
买点: if(cross(var2,0) and low/ref(high,1)<1.012,20,0);
买点1:if(count(var2>ref(var2,1),3)=3 and
count(var2<0,10)=10 and ref(var2,3)=llv(var2,10),60,0);
买点2: if(ref(var2,2)=llv(var2,20) and
ref(var2,2)<0.071 and ref(var2,2)<ref(var2,1) and
not(ref(low,1)>ref(high,2) and low>ref(high,1)) and
close>ref(close,1),20,0);
mma:=ema(var2,12)*0.7;
mmb:=ema(var2,3);
diff:( ema(close,12) - ema(close,26))*100,colorred;
dea: ema(diff,9),colorffffff,linethick1;
macd:= 2*(diff-dea);
stickline(macd<ref(macd,1)and macd>0,0,macd,2,0),colorgreen;
stickline(macd<ref(macd,1)and macd<0,0,macd,2,0),colorffcc33;
stickline(macd>ref(macd,1)and macd,0,macd,2,0),coloryellow;
stickline(macd>ref(macd,1)and macd>0,0,macd,3,0),colormagenta;

5.
sqx:=(c-ma(close,13))*100;
diff:ema(ma(sqx,7),1),color00ffff;
dea:ema(diff,7),colorff33ff;
macd:(diff-dea)*2,colorstick;
低位金叉:if(cross(diff,dea) and diff<-0.1,0.3,0),coloryellow,pointdot;
stickline(低位金叉,0,15,8,0),coloryellow;drawicon(低位金叉,0.3,1);
jccount:=count(cross(diff,dea),barslast(dea>=0));
二次金叉:if(cross(diff,dea) and dea<0 and count(jccount=2,21)=1,0.2,0),colorff00ff,pointdot;
stickline(二次金叉,30,15,8,0),colorff00ff;
a1:=barslast(ref(cross(diff,dea),1));
底背离:if(ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea),0.1,0),colorred,pointdot;
stickline(底背离,45,30,8,0),colorred;drawline(a1=0,dea,底背离,dea,0),colorred;
a2:=barslast(ref(cross(dea,diff),1));
顶背离:ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff),colorgreen;
drawline(a2=0,dea,顶背离,dea,0),colorgreen;
a3:=cross(diff,dea) and dea<0;
零下二次金叉:if(filter(count(a3,21)=2,10),0.05,0),colorwhite,pointdot;
stickline(零下二次金叉,45,60,8,0),colorwhite;


6.
difif1:=ema(close,12) - ema(close,26);
deaea1:=ema(difif1,9);
macd1:=2*(difif1-deaea1),stick;
macd2:=ema(macd1,3);
stickline(macd1>macd2 and macd1>0,0,macd1,1,0),colorred;
stickline(macd1>macd2 and macd1<0,0,macd1,1,0),colorgreen;
stickline(macd1<macd2,0,macd1,1,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.5,2);
drawtext(cross(difif1,deaea1),difif1,'○'),linethick2, coloryellow;


7.
diff:ema(close,12)-ema(close,26);
dea:ema(diff,9);
macd:2*(diff-dea), colorstick,linethick2;
低金叉:cross(diff,dea) and diff<-0.1;
stickline(低金叉,0,0.50,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;
stickline(二金叉,0,0.36,6,0),colorff00ff;
drawicon(二金叉,dea*0.9,1) ;
drawtext(二金叉,0.2,' 二金叉'),coloryellow;
a1:=barslast(ref(cross(diff,dea),1));
底背离:ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea);
stickline(底背离,0,0.18,6,0),color00ff00;
底背:drawline(a1=0,dea,底背离,dea,0),colorred,linethick1;
drawtext(底背离,0.12,' 底背离'),colorff00ff;
a2:=barslast(ref(cross(dea,diff),1));
顶背离:ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff);
顶背:drawline(a2=0,dea,顶背离,dea,0),coloryellow,linethick1;
drawtext(低金叉 and 二金叉 and 底背离,0.25,'三全项'),color0000ff,linethick2;
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
c1:=barslast(ref(cross(dea,diff),1));
d1:=ref(c,c1+1)<c and ref(diff,c1+1)>diff and cross(dea,diff);
c2:=barslast(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));
d2:=ref(c,c2+1)<c and ref("kdj.k"(9,3,3),c2+1)>"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3));
c3:=barslast(ref(cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24)),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1"(6,12,24),c3+1)>"rsi.rsi1"(6,12,24) and cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24));
stickline(b1>0,-0.2,1,2,0),colorred;
stickline(b2>0,-0.2,1,2,0),colorff00ff;
stickline(b3>0,-0.2,1,2,0),coloryellow;
stickline(d1>0,0.2,0,2,0),color00ff00;
stickline(d2>0,0.2,0,2,0),colorffcc66;
stickline(d3>0,0.2,0,2,0),colorwhite;

下面的一个是通达信的:
我觉得这个比较实用。
dif:ema(close,8)-ema(close,14);
dea:ema(dif,7);
macd:(dif-dea)*2,colorstick;
周dif:ma("macd.dif#week",5)nodraw;
周dea:ma("macd.dea#week",5),nodraw;
月dif:ma("macd.dif#month",21),nodraw;
月dea:ma("macd.dea#month",21),nodraw;


  >>>使用本站搜索工具可以找到更多macd收集公式下载 大智慧指标收集

指标公式下载地址

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

指标公式下载注意

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

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

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

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

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

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

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

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

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

    ☉ 本文macd收集公式下载 大智慧指标收集仅供学习研究。

猜你喜欢

学了又学