d1:=5;d2:=10;
dif1:=ema(c,12) - ema(c,26),linethick2;
dea1:=ema(dif1,9),linethick2;
macd1:=2*(dif1-dea1),stick;
macd2:=ema(macd1,3);
stickline(macd1>macd2 and macd1>0,0,macd1,3.2,0),color000055;
stickline(macd1>macd2 and macd1>0,0,macd1,2.7,0),color000077;
stickline(macd1>macd2 and macd1>0,0,macd1,2.1,0),color000099;
stickline(macd1>macd2 and macd1>0,0,macd1,1.5,0),color0000bb;
stickline(macd1>macd2 and macd1>0,0,macd1,0.9,0),color0000dd;
stickline(macd1>macd2 and macd1>0,0,macd1,0.3,0),color0000ff;
stickline(macd1>macd2 and macd1<0,0,macd1,3.2,0),color555555;
stickline(macd1>macd2 and macd1<0,0,macd1,2.7,0),color777777;
stickline(macd1>macd2 and macd1<0,0,macd1,2.1,0),color999999;
stickline(macd1>macd2 and macd1<0,0,macd1,1.5,0),colorbbbbbb;
stickline(macd1>macd2 and macd1<0,0,macd1,0.9,0),colordddddd;
stickline(macd1>macd2 and macd1<0,0,macd1,0.3,0),colorffffff;
stickline(macd1<macd2,0,macd1,3.2,0),colorb20000;
stickline(macd1<macd2,0,macd1,2.7,0),colorec0000;
stickline(macd1<macd2,0,macd1,2.1,0),colorff4600;
stickline(macd1<macd2,0,macd1,1.5,0),colorff6300;
stickline(macd1<macd2,0,macd1,0.9,0),colorff8b00;
stickline(macd1<macd2,0,macd1,0.3,0),colorffab00;
stickline(macd1>=0 or macd1<=0,0,0,50,1),colorwhite;
{}
dif:dif1,color33ff33;
dea:dea1,coloryellow;
macd:macd1,nodraw,colormagenta;
低位金叉:cross(dif1,dea1) and dif1<-0.1;
jccount:=count(cross(dif1,dea1),barslast(dea1>=0));
二次金叉:=cross(dif1,dea1) and dea1<0 and count(jccount=2,21)=1;
stickline(二次金叉,0,0.06,6,0),colorff00ff;
drawicon(二次金叉,dea1*0.9,1) ;
drawtext(二次金叉,0.4,' 二次金叉'),coloryellow;
强度:if(dif1>=dea1,dif1,drawnull),colorred,linethick2;
a1:=barslast(ref(cross(dif1,dea1),1));
底背离:=ref(close,a1+1)>close and dif1>ref(dif1,a1+1) and cross(dif1,dea1);
stickline(底背离,0,0.03,6,0),color00ff00;
底背:drawline(a1=0,dea1,底背离,dea1,0),colorred,linethick4;
drawtext(底背离,0.1,' 底背离'),coloryellow;
a2:=barslast(ref(cross(dea1,dif1),1));
顶背离:=ref(close,a2+1)<close and ref(dif1,a2+1)>dif1 and cross(dea1,dif1);
顶背:drawline(a2=0,dea1,顶背离,dea1,0),colorgreen,linethick4;
drawtext(顶背离,0.1,'顶背离'),colorgreen;
{}
{金叉共振及三全项}
drawicon(d1,1,1);
drawicon(d2,1,2);
b4:cross(dif,dea) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
drawtext(b4,0.1,'★金叉共振'),coloryellow;
drawtext(低位金叉 and 二次金叉 and 底背离,0.25,'三全项'),coloryellow,linethick2;
{买入信号}
short:=6;
long:=9;
mid:=3;
dif11:=ema(close,short)-ema(close,long),linethick1,color0000ff;
dea11:=ema(dif11,mid);
向下:=if(dif11<ref(dif,1),dif11,drawnull),colorgreen,linethick2;
强势区:=if((every(向下>=ref(向下,1),1)),-0.2,0)color0000ff,linethick3;
买入信号:if(((cross(-0.01,强势区)) and dif<0),0.3,0),stick,colorgreen,linethick3;
上一指标公式:此好准无未来函数指标下载 通达信指标未来
下一指标公式:送个主图的吧。叫跟庄到顶指标下载 通达信指标送个主图
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文金叉共振及三全项指标下载 通达信共振仅供学习研究。