n:=7;
a1:=ref(high,n)=hhv(high,2*n+1);
b1:=filter(a1,n);
c1:=backset(b1,n+1);
d1:=filter(c1,n);
a2:=ref(low,n)=llv(low,2*n+1);
b2:=filter(a2,n);
c2:=backset(b2,n+1);
d2:=filter(c2,n);
e1:=(ref(llv(low,2*n),1)+ref(hhv(high,2*n),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);
h2:=d1 and not(d2 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);
l2:=ld or islastbar or barscount(close)=1;
x2:=ref(barslast(l2),1)+1;
f2:=backset(l2 and count(h2,x2)>0,hhvbars(if(h2,high,0),x2));
g2:=f2>ref(f2,1);
i2:=backset(g2,2);
hd:=i2>ref(i2,1);
r1:=backset(islastbar,barslast(hd)+1);
s1:=r1>ref(r1,1);
r2:=backset(s1,ref(barslast(hd),1)+2);
s2:=r2>ref(r2,1);
r3:=backset(s2,ref(barslast(hd),1)+2);
s3:=r3>ref(r3,1);
r4:=backset(s3,ref(barslast(hd),1)+2);
s4:=r4>ref(r4,1);
highn:=30;
lown:=30;
bb:=ref(high,highn)=hhv(high,2*highn+1);
qy:=backset(bb,highn+1);
cc:=filter(qy,highn) and high=hhv(high,highn+1);
dxylxd:=barslast(cc);
gdts:=if(cc,currbarscount,0);
dingbu:=if(dxylxd,ref(high,dxylxd),high);
dingbuts:=if(dxylxd,ref(gdts,dxylxd),gdts);
dingbu1:=ref(dingbu,dxylxd+1);
gdcs1:=const(dingbuts);
dingbuts1:=ref(dingbuts,dxylxd+1);
gdcs2:=const(dingbuts1);
dingbu2:=ref(dingbu1,dxylxd+1);
bbp:=ref(close,highn)=hhv(close,2*highn+1);
qyp:=backset(bbp,highn+1);
ccp:=filter(qyp,highn) and close=hhv(close,highn+1);
dxylxdp:=barslast(ccp);
gdtsp:=if(ccp,currbarscount,0);
dingbup:=if(dxylxdp,ref(close,dxylxdp),close);
dingbutsp:=if(dxylxdp,ref(gdtsp,dxylxdp),gdtsp);
dingbu1p:=ref(dingbup,dxylxdp+1);
gdcs1p:=const(dingbutsp);
dingbuts1p:=ref(dingbutsp,dxylxdp+1);
gdcs2p:=const(dingbuts1p);
dingbu2p:=ref(dingbu1p,dxylxdp+1);
bbc:=ref(low,highn)=hhv(n,2*highn+1);
qyc:=backset(bbc,highn+1);
ccc:=filter(qyc,highn) and close=hhv(close,highn+1);
dxylxdc:=barslast(ccc);
gdtsc:=if(ccc,currbarscount,0);
dingbuc:=if(dxylxdc,ref(close,dxylxdc),close);
dingbutsc:=if(dxylxdc,ref(gdtsc,dxylxdc),gdtsc);
dingbu1c:=ref(dingbuc,dxylxdc+1);
gdcs1c:=const(dingbutsc);
dingbuts1c:=ref(dingbutsc,dxylxdc+1);
gdcs2c:=const(dingbuts1c);
dingbu2c:=ref(dingbu1c,dxylxdc+1);
ss:drawline(currbarscount=gdcs2c,close,currbarscount=gdcs1c,close,1);
ppps:=ref(cross(high,ss),1) or ref(cross(high,ss),2) and close>ss and ss>ref(ss,1);
dxyl:drawline(s2,high,s1,high,1);
zxyl:drawline(s3,high,s2,high,1);
cxyl:drawline(s4,high,s3,high,1);
dxylx:drawline(currbarscount=gdcs2p,close,currbarscount=gdcs1p,close,1);
dxylx1:drawline(currbarscount=gdcs2,high,currbarscount=gdcs1,high,1);
f:=3;
xa1:=ref(high,f)=hhv(high,2*f+1);
xb1:=filter(xa1,f);
xc1:=backset(xb1,f+1);
xd1:=filter(xc1,f);
r11:=backset(islastbar,barslast(xd1)+1);
s11:=r11>ref(r11,1);
ssx:drawline(xd1,high,s11,high,1),colorwhite;
fx:=8;
fxa1:=ref(high,fx)=hhv(high,2*fx+1);
fxb1:=filter(fxa1,fx);
fxc1:=backset(fxb1,fx+1);
fxd1:=filter(fxc1,fx);
fr11:=backset(islastbar,barslast(fxd1)+1);
fs11:=fr11>ref(fr11,1);
st:drawline(fxd1,high,fs11,high,1),colorred;
ppp:=ref(cross(high,dxylx),1) or ref(cross(high,dxylx),2) and close>dxylx and dxylx>ref(dxylx,1);
ppp1:=ref(cross(high,dxylx1),1) or ref(cross(high,dxylx1),2) and close>dxylx1 and dxylx1>ref(dxylx1,1);
ppp2:=ref(cross(high,ssx),1) or ref(cross(high,ssx),2) and close>ssx and ssx>ref(ssx,1);
ppp3:=ref(cross(high,st),1) or ref(cross(high,st),2) and close>st and st>ref(st,1);
压力:=ppp2 or ppp3 or ppp or ppp1 or (ref(cross(high,dxyl),1) or ref(cross(high,dxyl),2) and close>dxyl and dxyl>ref(dxyl,1)) or (ref(cross(high,cxyl),1) or ref(cross(high,cxyl),2) and close>cxyl and cxyl>ref(cxyl,1)) or (ref(cross(high,zxyl),1) or ref(cross(high,zxyl),2) and close>zxyl and zxyl>ref(zxyl,1));
牛态已成:count(close/ref(close,1)>1.052,3)>=1 and 压力 and close/open>1.031,linethick0;
tdxstep100:drawtext(牛态已成,high*0.92,1),coloryellow;
tdxstep101:drawicon(牛态已成,high*0.92,1);
{-----------------------------------}
上一指标公式:量学比例主图详解 通达信比例
下一指标公式:今买明卖主图详解 通达信卖主
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文牛态已成详解 通达信已成仅供学习研究。