upd:count(c>=o or c>=ref(c,1),8) nodraw;
cm60:barslast(longcross(c,ma(c,60),8))+1 nodraw colorred;
diff:=ema(close,12)-ema(close,24);
dea:=ema(diff,9);
adif:atan((diff/ref(diff,1)-1)*100)*180/3.1416 nodraw;
radif:ref(adif,1) nodraw;
c2:=if(v>ma(v,150)*0.98,0.1,-0.1);
c1:=if(v<ma(v,150)*0.98,-0.1,0.1);
b2:=ema(close,55)-ma(close,60) dotline colorgreen;
b3:=ema(b2,9) dotline colorcyan;
drawband(b2,rgb(120,50,50),b3,rgb(50,120,50));
macd:=2*(diff-dea), stick,linethick1 colorcyan;
n:=20;
mid:=ma(c,20);
vart1:=pow((c-mid),2);
vart2:=ma(vart1,n);
vart3:=sqrt(vart2);
upper:=mid+2*vart3;
lower:=mid-2*vart3;
boll:=ref(mid,1),colorgreen;
ub:=ref(upper,1),color00ffff;
lb:=ref(lower,1),color00ffff nodraw;
bltj:=ref(l,1)<ref(lb,1) and l>lb;
blldt:barslast(bltj ) nodraw;
jccount:=count(cross(diff,dea),barslast(dea>=0));
a1:=barslast(ref(cross(diff,dea),1)) colorrednodraw;
底背离:ref(close,a1+1)>close and diff>ref(diff,a1+1) and cross(diff,dea) nodraw;
stickline(底背离,0,0.03,1.2,1),color00ff00;
{底背:drawline(a1=0,dea,底背离,dea,0),colorred,linethick2 crossdot;}
drawtext(底背离,0.1,' 底背离'),colorff00ff;
a2:=barslast(ref(cross(dea,diff),1)) ;
顶背离:ref(close,a2+1)<close and ref(diff,a2+1)>diff and cross(dea,diff) crossdot colorred nodraw;
{顶背:drawline(a2=0,dea,顶背离,dea,0),colorblue,linethick2 crossdot;}
底背d:barslast(底背离)+1 nodraw colorred;
顶背d:a2+1 colorgreen nodraw;
{判断天地量}
aa:=sumbars(vol,capital);
地量:=vol<ma(vol,aa)*21/100 and vol>0;
天量:=vol>ma(vol,aa)*34/10 ;
macda:2*(diff-dea), stick,linethick1 colorcyan;
notext3:if(地量 and period>4,macd*1.5,drawnull) stick linethick6 coloryellow;
notext4:if(天量 and period>4,macd*1.5,drawnull) stick linethick6 coloraaaaff;
notext5:if(v<=ma(v,5)*0.22,macd,drawnull) stick linethick4 colorblue;
notext:if(ref(macd,1)<=macd,macd,drawnull) stick colorred;
notext1:0 linethick3 colorgray;
notext8:if(v>ma(v,150)*0.98,0,drawnull) colorred linethick2 circledot ;
deaa:dea coloryellow;
difa:diff colorwhite ;
diff1:ema(close,12)-ema(close,26) dotline colorgreen nodraw;
dea1:ema(diff1,9) dotline colorcyan nodraw;
底背:drawline(a1=0,dea,底背离,dea,0),colorred,linethick2 crossdot;
顶背:drawline(a2=0,dea,顶背离,dea,0),colorblue,linethick2 crossdot;
强:if(diff>ma(diff,2),diff,drawnull),colorred linethick2;
弱:if(dea>ma(dea,2),dea,drawnull),colormagenta linethick2;
必买: drawicon(ref(troughbars(3,15,1),1)=0 and high>low,0,25),colorred ,linethick4;
必卖: drawicon(ref(peakbars(3,15,1),1)=1,0,27),colorred,linethick8;
b1:a1 nodraw;
top:a2nodraw;
bsr:((bidordervol-bidcancelvol)/(offerordervol-offercancelvol)-1)*10 nodraw;
notextbrs:if(bsr>0,dea,drawnull) colorffffff linethick2 circledot;
hsj:=barslast(cross(diff,0) and diff>=0 )+1 nodraw;
lsj:=barslast(cross(0,diff) and diff<0 )+1 nodraw;
t:if(diff>0,hsj,lsj) nodraw;
if(t=1,abs(macd),0) stick linethick2 colormagenta;
if(cross(dea,0),abs(macd),0) stick linethick2 coloryellow;
s:if(hsj>1,sum(abs(macd),t),drawnull) nodraw ;
drawnumber(islastbar ,abs(macd*1.02),s) coloryellow;
drawnumber(t=1 ,abs(macd*1.02),ref(s,1)) ;
t2:ref(t,t)+t nodraw;
q1s:ref(s,t) nodraw;
q2s:=ref(s,t2) nodraw;
bl:=q1s/q2s nodraw;
{e2t:barslast(cross(dif,dea) and filter(cross(dif,dea) ,5) )+1 nodraw;
e6t:barslast(cross(dea,dif) and filter(cross(dea,dif) ,5) )+1 nodraw;
et:if(dif>=dea,e2t,e6t) nodraw;
es:sum(abs(dif-dea),et) nodraw;
bz:=max(abs(dea),abs(dif));
xs:=if(dif<0,-1,1);
if(et=1,dif,drawnull) circledot linethick2;
drawnumber(islastbar ,dif*1.05,es) coloryellow;
drawnumber(et=1 ,bz*xs*1.05,ref(es,1)) coloryellow;};
ttj:=if(barslast(顶背离=1)+1=144 or barslast(顶背离=1)+1=89 or barslast(顶背离=1)+1=13 or barslast(顶背离=1)+1=47 or barslast(顶背离=1)+1=1 or barslast(顶背离=1)+1=8 or barslast(顶背离=1)+1=21 or barslast(顶背离=1)+1=34 or barslast(顶背离=1)+1=55,1,o) ;
ttja:=if( barslast(底背离=1)+1=144 or barslast(底背离=1)+1=89 or barslast(底背离=1)+1=8 or barslast(底背离=1)+1=1 or barslast(底背离=1)+1=47or barslast(底背离=1)+1=13 or barslast(底背离=1)+1=21 or barslast(底背离=1)+1=34 or barslast(底背离=1)+1=55,1,o);
drawnumber((barslast(顶背离=1)+1<144 and ttj=1and currbarscount<233) or islastbar,min(diff,dea)*0.98,barslast(顶背离=1)+1) colorgreen;
drawnumber((barslast(底背离=1)+1<144and ttja=1 and currbarscount<233)or islastbar,0,barslast(底背离=1)+1) coloryellow;
上一指标公式:单阳不破主图的技术交流附上选股指标下载 通达信技术交流选股
下一指标公式:主力洗吸副图附图指标不加密不限时下载 通达信指标不限时
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文随心MACD很敏感的钻石副图附图指标下载 通达信钻石敏感仅供学习研究。