cc:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);
dd:=dma(close,cc);
上:(1+7/100)*dd,circledot,colorblue;
下:(1-7/100)*dd,circledot,colorblue;
中:(上+下)/2,circledot,colorf0f000;
stickline(c/ref(c,1)>1.095,c,o,2,0),colormagenta;
stickline(c/ref(c,1)<0.95,c,o,2,0),colorgreen;
疯狂:(1+14/100)*dd,dotline,coloryellow;
炒底:(1-14/100)*dd,dotline,color9000f5;
{好底}
d:=ema((c*3+h+l+o)/6,5);
a线:=hhv(d,13)coloryellow,linethick2;
b线:=llv(d,13)coloryellow,linethick2;日平:="macd.macd#day"(12,26,9);
周平:="macd.macd#week"(12,26,9);
jc:=(a线-b线);
壹:=count(jc>ref(jc,1)and a线>ref(a线,1),5)=1 and jc>ref(jc,1)and a线>ref(a线,1)and d>=ref(d,1);
g1:=filter(壹=1,10);
g2:=barslast(g1>0);
g3:=iff(g2>0 and g2<=10,1,0)=1 and ((c-ref(c,g2))/ref(c,g2))*100>=5;
概壹:=(sum(filter(g3,10),0)/sum(g1>0,0))*100;
加1:=count(日平>=0 and 周平>=0,5)=1 and 日平>=0 and 周平>=0;
加2:=filter(d=a线 and ref(d,1)<ref(a线,1)and ref(d,2)<ref(a线,2),10);
①:=filter(加1=1,10);
②:=barslast(①>0);
③:=iff(②>0 and ②<=10,1,0)=1 and ((c-ref(c,②))/ref(c,②))*100>=5;
概加1:=(sum(filter(③,10),0)/sum(①>0,0))*100;
好底:filter(count(d=b线,3)>=2 and d>b线,5),colorred,nodraw;
drawtext(好底,l-0.3,'←好底'),color1880ff;
{金兰三宝}
n:=9;
n1:=6;
m:=14;
typ := (high + low + close)/3;
cc1:=(typ-ma(typ,m))/(0.015*avedev(typ,m)),colorff00ff;
c1:=sma(cc1,3,1);
c2:=sma(c1,3,1);
c3:=3*c1-2*c2;
cb1:=ema(c3,5);
cb2:=ref(cb1,1);
lc := ref(close,1);
rsi1:=sma(max(close-lc,0),n1,1)/sma(abs(close-lc),n1,1)*100;
rsi:=(rsi1-50)*5,linethick2,colorffffff;
r1:=sma(rsi,3,1);
d1:=sma(r1,3,1);
j1:=3*r1-2*d1;
rr1:=ema(j1,5);
rr2:=ref(rr1,1);
rr:=rr1>rr2;
rsv:=(close-llv(low,n))/(hhv(high,n)-llv(low,n))*100;
k:=sma(rsv,3,1);
k1:=(k-50)*5,color00ff00;
k2:=sma(k1,3,1);
d2:=sma(k2,3,1);
j2:=3*k2-2*d2;
bb1:=ema(j2,5);
bb2:=ref(bb1,1);
买入:=rr and not(ref(rr,1)) and (rr1<-100 and bb1<-100) and cb1<-100,linethick0;
drawicon(买入>0,l-0.05,11);
drawtext(买入>0,l-0.1,'←三宝'),color9000f5;
{抄底特准 选股}
vab1:=ref(close,1);
vab2:=sma(max(close-vab1,0),7,1)/sma(abs(close-vab1),7,1)*100;
特准:=filter(ref(vab2,1)<20 and vab2>ref(vab2,1),5);
drawtext(特准,l-0.5,'←特准'),color00ffff;
{极地上涨 选股}
va1:=hhv(high,9)-llv(low,9);
va2:=hhv(high,9)-close;
va3:=close-llv(low,9);
va4:=va2/va1*100-70;
va5:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
va6:=(close+high+low)/3;
va7:=sma(va3/va1*100,3,1);
va8:=llv(low,34);
va9:=sma(va7,3,1)-sma(va4,9,1);
vara:=if(va9>100,va9-100,0);
varb:=hhv(high,34);
varc:=ema((va6-va8)/(varb-va8)*100,13);
vard:=ema(0.667*ref(varc,1)+0.333*varc,2);
vare:=sma(max(close-ref(close,1),0)/close,8,1)/sma(abs(indexc-ref(indexc,1))/indexc,8,1)*100-25;
varf:=ma(vare,3);
var1:=hhv(high,9)-llv(low,9);
var2:=hhv(high,9)-close;
var3:=close-llv(low,9);
var4:=((var2)/(var1))*(100)-70;
var5:=((close-llv(low,60))/(hhv(high,60)-llv(low,60)))*(100);
var6:=((2)*(close)+high+low)/(4);
var7:=sma(((var3)/(var1))*(100),3,1);
var8:=llv(low,34);
var9:=sma(var7,3,1)-sma(var4,9,1);
var10:=if((var9>100),var9-100,0);
var11:=hhv(high,34);
b1:=ema(((var6-var8)/(var11-var8))*(100),8);
领先:=ema(b1,5);
生命线:=ema(vard,1);
v1:=ma(c,5)=hhv(ma(c,5),20);
v2:=ma(c,5)>ma(c,10);
v3:=ma(v,5)>ma(v,40)*1.01;
v4:=count(ma(c,1)>ref(c,1),2)=2;
vv:=v1 and v2 and v3 and v4;
a1:=ema(close,8);
a2:=ema(a1,20);
a3:=cross(a1,a2);
a4:=a1<ema(close,120);
a5:=3*sma((close-llv(low,18))/(hhv(high,18)-llv(low,18))*100,21,1)-2*
sma(sma((close-llv(low,18))/(hhv(high,18)-llv(low,18))*100,20,1),8,1);
安全位:=20;
低位转强:=cross(a5,安全位);
开始拉升:=cross(varc,生命线) and varc>vard and varc<55 and c>o;
a6:=llv(c,500)=llv(c,5) and c/ref(c,1)>(1+9.8/100);
极地上涨:=a6;
极底:开始拉升>0 and 开始拉升<400 or 极地上涨>0 and 极地上涨<400
or (低位转强>0 and 低位转强<400) or (低位转强>0),colorcdffbb,nodraw;
drawtext(极底,l-0.7,'←极底'),colorcdffbb;
{抄底 选股}
mmm:=1;
svol:=intpart(sum(v,0)/capital);
tj0:=svol>ref(svol,1) or barssince(close)=0;
s1:=barslast(tj0)+1;
tjj2:=s1<ref(s1,1);
s2:=if(tjj2,ref(s1,1)+1,s1);
s3:=sum(tjj2,0);
zk1:="kd.k#week"(9,3,3);
zd2:="kd.d#week"(9,3,3);
zf1:="macd.dif#week"(12,26,9);
za2:="macd.dea#week"(12,26,9);
换手:=v/capital*100,linethick0;
jcd:=cross(zk1,zd2) and ref(zd2,1)<30;
抄底:exist(jcd,mmm),colorcyan,nodraw;
drawtext(抄底,l-0.8,'←抄底'),colorcyan;
{只做牛市 选股}
hr:=hhv(high,55);
hry:=llv(low,55);
hry11:=hr*hry;
hry33:=sqrt(hry11);
wlt1:=ema(c,3);
wlt2:=ema(c,5);
wlt3:=ema(wlt2,5);
hp:=(hhv(close,10)-llv(close,10))/close<0.10;
lb:=vol/ma(vol,5);
x1:=(c+l+h)/3;
bb5:=atan(ema(x1,7)-ref(ema(x1,7),1))*3.1416*10;
ema3:=ema(c,3);
tt:=filter(bb5>1 and ema(x1,7)>ref(ema(x1,7),1),10);
mm:=wlt1>ref(wlt1,1) and ref(wlt1,1)<ref(wlt1,2) ;
gg1:=cross(wlt1,wlt2);
tyb:= (high + low + close)/3;
cci1:=(tyb-ma(tyb,6))/(0.015*avedev(tyb,5));
差值1:=abs(ref(cci1,1)-cci1),linethick0;
cci2:=(tyb-ma(tyb,10))/(0.015*avedev(tyb,10));
差值2:=abs(ref(cci2,1)-cci2),linethick0;
cci3:=(tyb-ma(tyb,20))/(0.015*avedev(tyb,20));
差值3:=abs(ref(cci3,1)-cci3),linethick0;
cci4:=(tyb-ma(tyb,30))/(0.015*avedev(tyb,30));
差值4:=abs(ref(cci4,1)-cci4),linethick0;
cci5:=(tyb-ma(tyb,60))/(0.015*avedev(tyb,60));
差值5:=abs(ref(cci5,1)-cci5),linethick0;
cci:=(cci1+cci2+cci3+cci4+cci5)/2,colorred,linethick2;
wlt91:=hhv(cci,13);
wlt92:=llv(cci,13)<-100;
wlt95:=count(wlt92,13)>=3;
wlt93:=cci>wlt91;
wlt96:=cross(cci,100);
tj91:=wlt95and wlt96;
jlp:=filter(tj91,5);
超买:=ma(c,10)*if(capital=0,1.04,1.1);
超卖:=ma(c,10)*if(capital=0,0.95,0.9);
tend:=ema(((slope(close,21) * 20) + close),42);
bb:=tend>ref(tend,1) and ref(tend,1) >ref(tend,2);
gg2:=cross(wlt1,tend);
hry1:=llv(low,55);
hry2:=hhv(high,21);
gg3:=c<hry2*0.8 and c>hry33;
jj1:=c<hry1*1.62;
tj1:=gg1;
tj2:=gg2 and jj1;
tj3:=gg1 and gg3 ;
xg:=tj1or tj3 ;
xg2:=c<hry2*0.86 or lb>1;
xg1:=xg and xg2 and c>hry33 and jlp;
xg3:=xg and c<hhv(high,250)*0.3;
xg11:=xg1 or xg3;
w8:=xg11 or xg1;
get:=zig(3,5),colorffffff;
pl5:=zig(3,5);
en1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)<=ref(zig(3,5),2)
and ref(zig(3,5),2)<=ref(zig(3,5),3);
ex1:=zig(3,5)<ref(zig(3,5),1) and ref(zig(3,5),1)>=ref(zig(3,5),2)
and ref(zig(3,5),2)>=ref(zig(3,5),3);
pl10:=zig(3,10);
en2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<=ref(zig(3,10),2)
and ref(zig(3,10),2)<=ref(zig(3,10),3);
ex2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>=ref(zig(3,10),2)
and ref(zig(3,10),2)>=ref(zig(3,10),3);
pl20:=zig(3,20);
en3:=zig(3,20)>ref(zig(3,20),1) and ref(zig(3,20),1)<=ref(zig(3,20),2)
and ref(zig(3,20),2)<=ref(zig(3,20),3);
ex3:=zig(3,20)<ref(zig(3,20),1) and ref(zig(3,20),1)>=ref(zig(3,20),2)
and ref(zig(3,20),2)>=ref(zig(3,20),3);
pl40:=zig(3,40);
走强1:=barslast(pl5<ref(pl5,1));
走弱1:=barslast(pl5>ref(pl5,1));
走强2:=barslast(pl10<ref(pl10,1));
走弱2:=barslast(pl10>ref(pl10,1));
走强3:=barslast(pl20<ref(pl20,1));
走弱3:=barslast(pl20>ref(pl20,1));
ztjz5:=if(pl10>ref(pl10,1),count(en1,走强2),0);
ztjd5:=if(pl10>ref(pl10,1),count(ex1,走强2),0);
dtjz5:=if(pl10<ref(pl10,1),count(en1,走弱2),0);
dtjd5:=if(pl10<ref(pl10,1),count(ex1,走弱2),0);
ztjz10:=if(pl20>ref(pl20,1),count(en2,走强3),0);
ztjd10:=if(pl20>ref(pl20,1),count(ex2,走强3),0);
dtjz10:=if(pl20<ref(pl20,1),count(en2,走弱3),0);
dtjd10:=if(pl20<ref(pl20,1),count(ex2,走弱3),0);
wlt11:=en1 and dtjz5=1;
wlt22:=en2 and ztjz5=1;
wlt33:=wlt11 or wlt22;
wlt01:=en2 and dtjz10=1;
wlt02:=en3 and ztjz10=1;
wlt03:=wlt01 or wlt02;
wlt:=wlt33 and wlt03;
未来牛:w8 or wlt,colorlimagenta,nodraw;
drawtext(未来牛,l-0.08,'←未来牛'),colorcyan;
{雨青底 选股}
m5:=ma(close,5);
m4:=ma(close,4);
ma3:=ma(close,3);
vol5:=ma(vol,5);
雨青:m5>m4 and slope(m5,5)<0 and slope(m4,4)<0 and slope(ma3,3) and ref(m4>ma3,1)
and cross(ma3,m4) and vol>vol5,colorred,nodraw;
drawtext(雨青,l-0.08,'←雨青底'),colorred;
{千均买 选股}
je:=vol;
jj2:=(high+low+close)/3;
qj00:=vol/if(high=low,4,high-low);
主买:=(qj00*(jj2-min(close,open)));
主卖:=(qj00*(min(open,close)-low));
aaq:=if(c>(h+l)/2,je,0);
bbq:=if(c<(h+l)/2,je,0);
f1:=sum(aaq,5);f2:=sum(bbq,5);f3:=ema(f1-f2,3);
千均买:主买>主卖 and cross(f3,ref(f3,1)) and f3<0 and c<15,colorwhite,nodraw;
drawtext(千均买>0,l-0.9,'←千均买'),colorwhite;
{bais买入}
bias5:=(c-ma(c,6))/ma(c,6)*100;
bias6:=(c-ma(c,12))/ma(c,12)*100;
bias7:=(c-ma(c,24))/ma(c,24)*100;
bias8:=(bias5+2*bias6+3*bias7)/6;
乖离1:=ma(bias8,6);
乖离:=cross(bias8,乖离1) and 乖离1<-9,coloryellow,nodraw;
drawtext(乖离,l+0.15,'←bais买入'),colorwhite;
{枯木逢春}
急速超跌:=(c-ma(c,34))/ma(c,34)*100<-14;{34日乖离率}
当日收阳:=(h-l)/l>0.07{当天振幅大于7%} and (c-o)/o>0.07{当天的k线实体长度大于7%}
and c/ref(c,1)>1.05{当日涨幅超过5%};
枯木逢春:急速超跌 and 当日收阳,colorff00ff,nodraw;
drawtext(枯木逢春,l+0.85,'←枯木逢春'),colorwhite;
提示:有未来
上一指标公式:黑马起航副图附使用方法指标下载 通达信源码黑马
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文抄底极品战无不胜融胜抄底主图附实战效果图指标下载 通达信战无不胜实战仅供学习研究。