极品macd
极品macd源码奉上:
dif1:=ema(close,12) - ema(close,27),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; {obv判势} obv:=dif; p:=5; aa1:=ref(obv,p)=hhv(obv,2*p+1); b1:=filter(aa1,p); c1:=backset(b1,p+1); d1:=filter(c1,p);{高点} aa2:=ref(obv,p)=llv(obv,2*p+1); b2:=filter(aa2,p); c2:=backset(b2,p+1); d2:=filter(c2,p);{低点} 上:ref(obv,barslast(d1)),colorff00ff,nodraw; 下:ref(obv,barslast(d2)),color00ff00,nodraw; 向上:cross(obv,上*1.01),nodraw; 相对能量:(obv-下)/(上-下)*100,coloryellow,nodraw; r11:=backset(islastbar,barslast(d1)+1); s11:=r11>ref(r11,1); drawline(d1,obv,s11,obv,1),coloryellow; t11:=backset(islastbar,barslast(d2)+1); u11:=t11>ref(t11,1); drawline(d2,obv,u11,obv,1),color00ff00; stickline(c>0,下,下,1,0),color00ff00; stickline(c>0,上,上,1,0),colorff00ff; drawtext(cross(obv,上*1.01),上,'上'),coloryellow; drawtext(cross(下*0.99,obv),下,'下'),coloryellow; {金叉共振及三全项} drawicon(d1,obv,1); drawicon(d2,obv,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格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文极品macd(通达信指标+源码+贴图)下载 通达信公式仅供学习研究。