a1:=ref(h,8)=hhv(h,2*8+1);
b1:=filter(a1,8);
c1:=backset(b1,8+1);
d1:=filter(c1,8);{高点}
r11:=backset(islastbar,barslast(d1)+1); s11:=r11>ref(r11,1);
drawline(d1,h,s11,h,1),colorblue;
a2:=ref(l,8)=llv(l,2*8+1);
b2:=filter(a2,8);
c2:=backset(b2,8+1);
d2:=filter(c2,8);{低点}
t11:=backset(islastbar,barslast(d2)+1); u11:=t11>ref(t11,1);
drawline(d2,l,u11,l,1),colorblue;
m:=intpart(3*8/5);
a12:=ref(h,m)=hhv(h,2*m+1);
b12:=filter(a12,m);
c12:=backset(b12,m+1);
d12:=filter(c12,m);{高点}
r112:=backset(islastbar,barslast(d12)+1); s112:=r112>ref(r112,1);
drawline(d12,h,s112,h,1),colorred;
a22:=ref(l,m)=llv(l,2*m+1);
b22:=filter(a22,m);
c22:=backset(b22,m+1);
d22:=filter(c22,m);{低点}
t112:=backset(islastbar,barslast(d22)+1); u112:=t112>ref(t112,1);
drawline(d22,l,u112,l,1),colorred;
typ := (high + low + close)/3;
cci1:=(typ-ma(typ,6))/(0.015*avedev(typ,6));
差值1:=abs(ref(cci1,1)-cci1),linethick0;
cci2:=(typ-ma(typ,10))/(0.015*avedev(typ,10));
差值2:=abs(ref(cci2,1)-cci2),linethick0;
cci3:=(typ-ma(typ,20))/(0.015*avedev(typ,20));
差值3:=abs(ref(cci3,1)-cci3),linethick0;
cci4:=(typ-ma(typ,30))/(0.015*avedev(typ,30));
差值4:=abs(ref(cci4,1)-cci4),linethick0;
cci5:=(typ-ma(typ,60))/(0.015*avedev(typ,60));
差值5:=abs(ref(cci5,1)-cci5),linethick0;
cci:=cci1+cci2+cci3+cci4+cci5;
tr1:=max(max((high-low),abs(ref(close,1)-high)),abs(ref(close,1)-low));
atr9:=ma(tr1,22);
止损线: hhv(h-3*atr9,22),colorff00ff;
drawtext(islastbar,止损线,'止损线'),colorff00ff;
aa05:=ma(c,5),color0099cc;
五日乖离率:=(c-aa05)/aa05*100;
bb05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;
速度5:=sma(ema((aa05-ref(aa05,1))/ref(aa05,1),3)*100,3,1);
加速度5:ema((速度5-ref(速度5,1)),3),nodraw;
aa10:=ma(c,10);
aa20:=ma(c,20);bb10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;
aa30:=ma(c,30);
三拾日乖离率:=(c-aa30)/aa30*100;
var11:=(aa20-aa30)>ref((aa20-aa30),1)
and aa20>ref(aa20,1) and aa30>ref(aa30,1);
var22:=(aa30-aa20)<ref((aa30-aa20),1) and aa20<ref(aa20,1) and
aa30<ref(aa30,1);
bb30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;
强势狙击:=filter(bb30>30 and bb10>45 and
cross(bb05,60),10);
加仓:=filter(count(cross(bb05,30),5)>=1 and
aa05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and
aa10>ref(aa10,1)
and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;
清仓:=filter(count(cross(30,bb05),5)>=1 and (c>aa30 or o>aa30) and
aa05<ref(aa05,1) and 三拾日乖离率<ref(三拾日乖离率,1) and
aa10<ref(aa10,1),10);
drawicon(加仓 ,low*0.99,23);
drawicon(清仓 ,high*1.01,15);
drawicon(强势狙击 ,low*0.99,13);
ak:=abs((2*dclose+dhigh+dlow)/4-ma(dclose,30))/ma(dclose,30);
济安线:=dma((2*dclose+dlow+dhigh)/4,ak),linethick2,colormagenta;
cc:=(dclose/济安线);
ma1:=ma(cc*(2*dclose+dhigh+dlow)/4,3);
maaa:=((ma1-济安线)/济安线)/3;
tmp:=ma1-maaa*ma1;
j:=if(tmp<=济安线,济安线,drawnull),linethick2,colorcyan;
aq:tmp,linethick2,colorred;
x:if(tmp<=济安线,tmp,drawnull),linethick2,colorgreen;
aaa:=(3*c+h+l+o)/6;
var1:=(8*aaa+7*ref(aaa,1)+6*ref(aaa,2)+5*ref(aaa,3)+4*ref(aaa,4)+3*ref(aaa,5)+2*ref(aaa,6)+ref(aaa,8))/36;
var2:=(hhv(var1,5)+hhv(var1,10)+hhv(var1,20))/3;
var3:=(llv(var1,5)+llv(var1,10)+llv(var1,20))/3;
var4:=(hhv(var2,5)+hhv(var2,10)+hhv(var2,20))/3;
var5:=(llv(var3,5)+llv(var3,10)+llv(var3,20))/3;
var6:=(llv(var1,2)+llv(var1,4)+llv(var1,6))/3;
短线:=var1,colorwhite;
中线:=var6,coloryellow;
下跌:=if(var1=var6,var6, drawnull),colorgreen;
tj1:= cci1>差值4;
立桩量:=filter(tj1,0);
tj2:=if(barslast(立桩量)=1 ,1,if(barslast(立桩量)=2 ,1,
if(barslast(立桩量)=3 ,1,0)));
成立1:=tj2;
条件成立1:=filter(成立1,5);
tj11:= cci1<-差值4 ;
立桩量2:=filter(tj11,0);
tj22:=if(barslast(立桩量2)=1 and close>ref(high,1),1,
if(barslast(立桩量2)=2 and close>ref(high,2),1,
if(barslast(立桩量2)=3 and close>ref(high,3),1,0)));
成立2:=tj22;
条件成立2:=filter(成立2,5);
tj111:=(abs(cci1)>cci and abs( 差值1)> abs(差值5))
or (vol=hhv(vol,10) and vol>2*ref(vol,1) and close>var1);
立桩量3:=filter(tj111,5);
tj222:=if(barslast(立桩量3)=1 and close>ref(high,1),1,if(barslast(立桩量3)=2 and close>ref(high,2),1,if(barslast(立桩量3)=3 and close>ref(high,3),1,0)));
突破3:=tj222=1;
stickline(close and 下跌!= var6,ref(high,barslast(立桩量3)),
ref(high,barslast(立桩量3)),10,1),colorcyan;
stickline(close and 下跌!= var6,ref(low,barslast(立桩量3)),
ref(low,barslast(立桩量3)),10,1),coloryellow;
tj3:=if(barslast(立桩量3)=1 and close>ref(low,1),1,if(barslast(立桩量3)=2 and close>ref(low,2),1,if(barslast(立桩量3)=3 and close>ref(low,3),1,0)));
stickline(c>=o,l,h,0,0),colorred;
stickline(c<o,l,h,0,0),colorffff00;
stickline(c>o,c,o,3.2,0),colorred;
stickline(1,c,o,2.8,0),color454500;
stickline(1,c,o,2,0),color555500;
stickline(1,c,o,1.5,0),color656500;
stickline(1,c,o,1,0),color757500;
stickline(1,c,o,0.5,0),color858500;
stickline(立桩量,c,o,2.8,0),color000045;
stickline(立桩量,c,o,2.8,0),color000065;
stickline(立桩量,c,o,2,0),color000085;
stickline(立桩量,c,o,1.5,0),color0000a5;
stickline(立桩量,c,o,1,0),color0000c5;
stickline(立桩量,c,o,0.5,0),color0000e5;
drawicon(条件成立1,ref(high,barslast(立桩量3)),12);
drawicon(条件成立2,ref(low,barslast(立桩量3)),11);
跌幅:=-(c-ref(c,1))/ref(c,1)*100;
ab:=between(跌幅,3,10),linethick0;
stickline(ab,c,o,2.7,0),color00ff00;
stickline(ab,l,h,0,0),color00ff00;
xu:peak(c,if(period<5,5,10),1)*0.999,colorgray;
xd:trough(c,if(period<5,5,10),1)*0.998,colorbrown;
xh:(xu-xd)/xd*100,nodraw,coloryellow;
xdu:=if(ema(ema(ema(c,2),2),2)>ref(ema(ema(ema(c,2),2),2),1),xd,xu);
xr:(c-xdu)/xdu*100,colorred,nodraw;
xtb:=xd!=ref(xd,2) && xd=ref(xd,1);
xts:=xu!=ref(xu,2) && xu=ref(xu,1);
drawicon(xtb,min(xd,l)*0.99,1);
drawicon(xts,max(xu,h)*1.01,2);
xtbl:=drawline(xtb,min(llv(l,1),xd),xts,max(hhv(h,1),xu),0);
xtsl:=drawline(xts,max(hhv(h,1),xu),xtb,min(llv(l,1),xd),0);
drawband(xtbl,rgb(150,30,25),xtbl,rgb(150,30,25));
drawband(xtsl,rgb(0,150,0),xtsl,rgb(0,150,0));
短趋:=(8*aaa+7*ref(aaa,1)+6*ref(aaa,2)+5*ref(aaa,3)+4*ref(aaa,4)+3*ref(aaa,5)+2*ref(aaa,6)+ref(aaa,8))/36;
tj91:=vol=hhv(vol,10) and vol>2*ref(vol,1) and close>短趋;
立桩量9:=filter(tj91,5);
tj92:=if(barslast(立桩量9)=1 and close>ref(high,1),1,if(barslast(立桩量9)=2 and close>ref(high,2),1,if(barslast(立桩量9)=3 and close>ref(high,3),1,0)));
突破1:=tj92=1;
tj93:=if(barslast(立桩量9)=1 and close>ref(low,1),1,if(barslast(立桩量9)=2 and close>ref(low,2),1,if(barslast(立桩量9)=3 and close>ref(low,3),1,0)));
三天法则:=tj93=1;
成立:=三天法则 and 突破1;
条件成立:=filter(成立,3);
drawicon(条件成立,l*0.91,1);
drawtext(条件成立,l*0.91,'立桩成立');
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文理想画线TDX主图指标下载 通达信画线理想仅供学习研究。