今天是来直接给大家分享选股公式的,款式多种多样,大家自己挑选吧。
1、涨停缩量回调
n:=8;
m:=13;
回踩线:=ma(c,m or 60);
中期线:=ma(c,30);
长期线:=ma(c,60);
均线多头:=中期线>ref(中期线,1) and 长期线>ref(长期线,1);
大阳:=c/ref(c,1)>=1.08;
dysj:=barslast(大阳);
跟踪:=dysj<=13 and count(h>ref(l,dysj),dysj)=dysj and c/ref(c,dysj)<0.95;
阻击点:=v/ref(v,dysj)<0.65 and l<回踩线 and c>回踩线;
机会:跟踪 and 阻击点 and 均线多头,color00ff00;
2、5日均线拐头向上
ma1:=ma(close,5);
向下天数:=count(ma1
向下天数>4 and ma1>ref(ma1,1);
3、两阳夹两阴
ref(barslast(c>o),1)=2 and
c>o;
4、两阳夹一阴
ref(c,2)>ref(o,2) and ref(c,1)
c>o and c>=ref(o,1);
5、回踩10日均线
var1:=ma(c,10)>ma(c,20) and ma(c,20)>ma(c,30) and ma(c,30)>ma(c,60);
var2:=ma(c,10)>ref(ma(c,10),1) and ma(c,20)>ref(ma(c,20),1) and ma(c,30)>ref(ma(c,30),1) and ma(c,60)>ref(ma(c,60),1);
count(var1 and var2,3)=3 and abs((ma(c,10)-l)/l)*100<0.3 and c>ma(c,10);
6、横盘放量突破——抓强势股选股
last((h-l)/ref(c,1)<0.1,20,0) and vol>ref(vol,1)*2 and c>ref(c,1)*1.03 and 'dmi.pdi'>'dmi.mdi' and cross('dmi.adx','dmi.adxr')
and'dmi.adxr'>'dmi.mdi' and 'dmi.pdi'>'dmi.adx' and'kdj.d'>ref('kdj.d',1);
7、黄金坑
rsv1:=(close-llv(low,14))/(hhv(high,14)-llv(low,14))*100;
rsv2:=(close-llv(low,30))/(hhv(high,30)-llv(low,30))*100;
短线:=sma(sma(rsv1,3,1),3,1) 3*std(close,14);
中线:=sma(rsv2,5,1) 2*std(close,14);
rsv3:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;
长线:=sma(rsv3,5,1);
黄金坑:短线<20 and 中线<20 and 长线<20;
附加:放量收阳
8、涨停板缩量回调信号买入法
t1:=c/ref(c,1)>1.095 ;
t2:=ref(c,1)/ref(c,2)>1.095 ;
tt:=t1 or t2;
t3:=count(tt,10)=1;
n:=barslast(tt);
t4:=c1.06;
t5:=count(c=1;
xg:t3 and t4 and t5;
9、破年线缩量回调
n1:=233;
破年线:=c>ma(c,n1) and ref(c,1)
价跌量缩:=c
拐头下:=c=ref(c,2);
拐头上:=c>ref(c,1) and ref(c,1)<=ref(c,2);
var1:=barslast(破年线);
var2:=barslast(c
var3:=barslast(拐头下);
选股:var1>=1 and var1=var2-1 and var3
10、青龙取水公式
a1:=min(ma(c,5),ma(c,10))>ma(c,60) and cross(ma(c,5),ma(c,10));
a2:=min(ma(c,5),ma(c,10))/ma(c,60)<1.05;a3:=count(v6;a1 and a2 and a3;
11、黄金分割线选股
日:=150;昨前:=3;
高1:=ref(hhv(h,日),昨前);
低1:=ref(llv(l,日),昨前);
h2:=高1-(高1-低1)*0.382;
h3:=高1-(高1-低1)*0.5;
二0.618:=refdate(h2,date);
三0.500:=refdate(h3,date);
between(c,二0.618,三0.500);
12、倍量过左峰抓牛股
sr1:=ref(high,10)=hhv(high,2*10 1);
sr2:=filter(sr1,10);
sr3:=backset(sr2,10 1);
hd:=filter(sr3,10);
前高:=ref(h,barslast(hd));
倍量:=vol/ref(vol,1)>=1.9;
突破前高:=cross(c,前高);
选股: 倍量 and 突破前高;