通达信公式杀出重围主图附原码和图指标
n:=89;
hh:=const(hhv(h,n));
ll:=const(llv(l,n));
mm:=const(hh/2+ll/2);
cc:=const(c),crossdot;
yy:=const(if(cc>=mm,ll-(hh-ll)*0.2,hh+(hh-ll)*0.2)),pointdot;
dif:=ema(close,12)-ema(close,26);
dea:=ema(dif,9);
macd:=(dif-dea)*2,colorstick;
mhh:=const(hhv(macd,n));
mll:=const(llv(macd,n));
mmm0:=mhh/2-mll/2; mmm:=if(mmm0<(hh-ll)*0.1,(hh-ll)*0.1,mmm0);
stickline(0=0,yy+mmm,yy-mmm,5,0),color444444;
stickline(macd>=0 and macd>ref(macd,1),yy,yy+macd,0.2,0),colorred;
stickline(macd>=0 and macd<ref(macd,1),yy,yy+macd,0.2,0),colorffff00;
stickline(macd<0 and macd<ref(macd,1), yy,yy+macd,0.2,0),color00ff00;
stickline(macd<0 and macd>ref(macd,1), yy,yy+macd,0.2,0),color00ffff;
rsvz:=((close-llv(low,13))/(hhv(high,13)-llv(low,13))-0.5)/100;
kx:=sma(rsvz,4,1);{好公式网-最好的股票公式网站 www.goodgongshi.com}
dx:=sma(kx,4,1);
jx:=3*kx-2*dx;
jj:=(jx/0.005)*mmm;
stickline(jx>ref(jx,1),yy+ref(jj,1),yy+jj,2.0,0),colormagenta;
stickline(jx<ref(jx,1),yy+ref(jj,1),yy+jj,2.0,0),colorgreen;
sar1:=if(close<sar(2,3,10),sar(2,3,10),0);
sar2:=if(close<sar(4,2,20),sar(4,2,20),0);
sare:=if(close>sar(3,3,20),sar(3,3,20),0);
sara:=if(close>sar(4,2,10),sar(4,2,10),0);
空仓:if(min(sar1,sar2)>0,(sar1+sar2)/2,if(sar1+sar2=0,drawnull,sar1+sar2)){,circledot},colorgreen,linethick5;
持股:if(min(sare,sara)>0,(sare+sara)/2,if(sare+sara=0,drawnull,sare+sara)){,circledot},colormagenta,linethick5;
ma1:c,coloryellow,nodraw;
ma3:ma(((3*c+l+o+h)/6),3),coloryellow,nodraw;
bbi:(ma(c,3)+ma(c,6)+ma(c,12)+ma(c,24))/4,colorwhite;
bb5:(ma(c,15)+ma(c,30)+ma(c,60)+ma(c,120))/4,colorwhite;
if(c>bb5,bb5,drawnull),colorred;
if(c<bb5,bb5,drawnull),colorcyan;
mh:=if(macd<0,-macd,0);
ml:=if(macd>0,-macd,0);
jjh:=if(ref(jj,1)>jj,ref(jj,1),jj);
jjl:=if(ref(jj,1)<jj,ref(jj,1),jj);
z1:=if(jjh>ml and jjh<mh,jjh,if(jjh>=mh,mh,drawnull));
z2:=if(jjl>ml and jjl<mh,jjl,if(jjl<=ml,ml,drawnull));
stickline(0=0,yy+z1,yy+z2,0.1,0),colorblue;
drawtext(currbarscount=16 and backset(c>bb5,currbarscount)=1 and backset(cross(ma1,bbi)=1,currbarscount)=1,if(cc>mm,ll,hh),'收bb5上,上穿bbi'),colorred;
drawicon(cross(dif,dea), yy-mmm,1);
drawicon(cross(dea,dif), yy+mmm,2);
rsv:=(close - llv(low,18))/(hhv(high,18) - llv(low,18))*100;
k:=ema(rsv,3);
d:=ema(k,3);
j:=(3*k-2*d);
kdj1:=ref(count(j<ref(j,1),5)>=3,1) and ref(j,1)<20;
kdj2:=j>ref(j,1);
反转:=if(filter(kdj1 and kdj2,3),50,0),colorred;
var22:=ref(low,1);
var33:=sma(abs(low-var22),3,1)/sma(max(low-var22,0),3,1)*100;
var44:=ema(if(close*1.3,var33*10,var33/10),3);
var55:=llv(low,13);
var66:=hhv(var44,13);
var77:=if(ma(close,34),1,0);
var888:=ema(if(low<=var55,(var44+var66*2)/2,0),3)/618*var77;
var999:=if(var888>100,100,var888);
吸筹:=var999,linethick1,colorcd7f32 ;
hhz:=const(hhv(c,120))*1;
llz:=const(llv(c,120))*1;
hl:=const(if(const((hhz+llz)/2)<const(c),llz-(hhz-llz)*0.4,hhz+(hhz-llz)*0.4));
hh1:=if(const((hhz+llz)/2)>const(c),hhz,hl);
ll1:=if(const((hhz+llz)/2)<const(c),llz,hl);
hlmax:=max(hh1,ll1);
hlmin:=min(hh1,ll1);
hlmn1:=(hlmax+hlmin)/2;
hlmn2:=hlmax-hlmin;
hlmn3:=(100-0)/2;
hlmn4:=100-0;
(50-50)*hlmn2/100+hlmn1,color555555;
(20-50)*hlmn2/100+hlmn1,color555555;
(80-50)*hlmn2/100+hlmn1,color555555;
(100-50)*hlmn2/100+hlmn1,color555555;
stickline(吸筹,(0-50)*hlmn2/100+hlmn1,
(var999-50)*hlmn2/100+hlmn1,2,10),colorff00ff;
stickline(j<=0,(90-50)*hlmn2/100+hlmn1,
(100-50)*hlmn2/100+hlmn1,4,0),coloryellow;
if(反转=50,(50-50)*hlmn2/100+hlmn1,
(0-50)*hlmn2/100+hlmn1),colorred;
kz:(k-50)*hlmn2/100+hlmn1,colorffffff;
dz:(d-50)*hlmn2/100+hlmn1,color00ffff;
jz:(j-50)*hlmn2/100+hlmn1,color00ff00;
vl:=ref(low,1);
var12z:=(sma(abs(low-vl),13,1))/(sma(max(low-vl,0),13,1))*100;
var14z:=ma(var12z,13);
var15z:=llv(low,34);
var18z:=ema(if(low<=var15z,var14z,0),3);
var110:=sma(sma((close-llv(low,54))/(hhv(high,54)-llv(low,54))*100,7,1),5,1);
var111:=sma((close-llv(low,54))/(hhv(high,54)-llv(low,54))*100,7,1)*16.18-var110*10.9;
t:=filter(if(var111<=var110 and var18z>ref(var18z,1),var18z*8,0),20);
drawtext(t,low-0.4,'←洗盘结束'),colorff00ff;
drawtext(t,low-0.2,'★'),colorff00ff;
var21:=(close-llv(low,36))/(hhv(high,36)-llv(low,36))*100;
var22x:=sma(var21,3,1);
var23:=sma(var22x,3,1);
var24:=sma(var23,3,1);
var25:=cross(var23,var24) and var23<20;
drawtext(filter(var25,10)=1,low-0.4,'←抄底'),colorred;
drawtext(filter(var25,10)=1,low-0.2,'★'),colorred;
var29:=cross(var24,var23) and var23>80;
drawtext(filter(var29,5)=1,high+0.4,'←逃顶');
drawtext(filter(var29,5)=1,high+0.2,'★');
difz:=ema(c,12)-ema(c,26);
deaz:=ema(difz,9);
macdz:=8*(difz-deaz);
tynnn:=60;
a1:=ref(high,tynnn)=hhv(high,2*tynnn+1); b1:=filter(a1,tynnn);
c1:=backset(b1,tynnn+1); d1:=filter(c1,tynnn);
a2:=ref(low,tynnn)=llv(low,2*tynnn+1); b2:=filter(a2,tynnn);
c2:=backset(b2,tynnn+1); d2:=filter(c2,tynnn);
e1:=(ref(llv(low,2*tynnn),1)+ref(hhv(high,2*tynnn),1))/2; e2:=(high+low)/2;
h1:=(d1 and not(d2 and e1>=e2)) or islastbar or barscount(close)=1;
l1:=(d2 and not(d1 and e1<e2));
x1:=ref(barslast(h1),1)+1; f1:=backset(h1 and count(l1,x1)>0,llvbars(if(l1,low,10000),x1));
g1:=f1>ref(f1,1); i1:=backset(g1,2); ld:=i1>ref(i1,1);
uu:=backset(islastbar,barslast(ld)+1);
vv:=uu>ref(uu,1);
rcc:=ref(l,barslast(vv));
drawband(difz*4+rcc,rgb(155,50,50),ema(difz*4+rcc,9),rgb(0,50,150));
stickline((rcc+macdz)>rcc and (rcc+macdz)<=ref(rcc+macdz,1),rcc,rcc+macdz,1,0),color400080;
stickline((rcc+macdz)>rcc and (rcc+macdz)>ref(rcc+macdz,1),rcc,rcc+macdz,1,0),color00ffff;
stickline((rcc+macdz)<=rcc and (rcc+macdz)<=ref(rcc+macdz,1),rcc,rcc+macdz,1,0),color008080;
stickline((rcc+macdz)<=rcc and (rcc+macdz)>ref(rcc+macdz,1),rcc,rcc+macdz,1,0),colorc080ff;
if(c,ema(difz*4+rcc,9),drawnull),colorffffff,linethick1;
if(c,difz*4+rcc,drawnull),colorred,linethick1;
if(difz<=ref(difz,1),difz*4+rcc,drawnull),colorfff000;
jjv:=(h+l+c)/3;
qj0:=vol/if(h=l,4,h-l);
qj1:=if(capital=0,qj0*(jjv-min(c,o)),qj0*(min(o,c)-l));
qj2:=if(capital=0,qj0*(min(o,c)-l),qj0*(jjv-min(c,o)));
qj3:=qj0*(h-max(o,c));
qj4:=qj0*(max(c,o)-jjv);
qj5:=qj1+qj2;
qj6:=qj3+qj4;
dd:=(qj5-qj6)/(qj5+qj6)*100;
ddx:=((qj1+qj2)-(qj3+qj4))/sum(vol,10)*100;
ddz:=dd*17;
ddy:=((qj2+qj4)-(qj1+qj3))/sum(vol,10)*100;
bb:=(cross(j,0)and ((ddx>0 and ddy>0) or ddz>400));
drawtext(bb,l*0.98,'★斋主赚点钱玩'),color00ffff;
ma18:=ma(close,18);
mtm:=c-ref(c,1);
dx1:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);
买:=llv(dx1,2)=llv(dx1,7) and count(dx1<0,2) and cross(dx1,ma(dx1,2));
drawtext(filter(买=1,5),low,'★买一'),colorred;
加1:=ma18>=ref(ma18,3) and cross(close,ma18);
drawtext(加1,low*0.99,'★加一'),colorcc66ff;
卖一:=hhv(dx1,2)=hhv(dx1,7) and count(dx1>50,2) and cross(ma(dx1,2),dx1);
drawtext(filter(卖一=1,1),high*1.01,'★卖一'),colorgreen;
aa1:=ma(c,5);
bb1:=ma(c,15);
af:=cross(aa1,bb1);
stickline(af,llv(l,4),llv(l,4),80,1),colorred,linethick3;
drawtext(af,llv(l,4),'止损 启动线'),coloryellow;
var1:=vol*(open+close)/2;
搏杀生命线:sum(var1,88)/sum(vol,88),linethick3,coloryellow;
上一指标公式:通达信主力清仓建仓控盘博弈副图源码指标下载
下一指标公式:通达信公式波浪经典副图附检测图指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文通达信公式杀出重围主图附原码和图指标下载仅供学习研究。