|
马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
1、活跃度选股
ma(vol,3)>ref(ma(vol,20),3) {最近三天的成交均量大于三天前的20日均量}
and vol>ref(vol,1) and ref(vol,1)>ref(vol,2) {最近三天成交量递增,逐渐活跃}
and amount>30000000 and amount<500000000 {成交额在3000万到5亿之间}
and amount/ref(amount,2)<3 {今天的成交额不大于前天的4倍}
and (dynainfo(54)-dynainfo(3))/dynainfo(3)>0.06 and dynainfo(41)>0; {剔除停牌股票和ST股票}
2、资金面选股
ma("ddx.ddx",2)/ma(abs("ddx.ddx"),120)>1 {最近二日DDX均值大于120日绝对值平均数的1.0倍}
and ma("ddy.ddy",2)/ma(abs("ddy.ddy"),120)>1 {最近二日DDY均值大于120日绝对值平均数的1.0倍}
and count("ddz.ddz">0,5)>=3 {最近5天DDZ有3天以上飘红}
and (close-llv(close,20))/llv(close,20)*100<16 {最新价与20日收盘最低点涨幅小于16%}
and (close-ref(close,3))/ref(close,3)*100<7; {三日涨幅小于7%}
3、价值选股
"1a0001$close">1.003*"1a0001$open" {上证指数收阳,实体在0.3%以上}
and count("ddy.ddy"<-0.8*ma(abs("ddy.ddy"),120),3)=0 {最近3个交易日没有明显的出货}
and dynainfo(14)*100<5 and dynainfo(14)*100>-3 {涨幅介于-3%至5%之间}
and (close-llv(close,30))/llv(close,30)*100<18 {最新价与30日收盘最低点涨幅小于18%}
and (close-ref(close,3))/ref(close,3)*100<7 {三日涨幅小于7%}
and (close-llv(close,min(barpos,250)))/llv(close,min(barpos,250))*100<100; {如果上市超过1年,最近一年最大涨幅小于100%}
4、突破趋势线
AA1:=REF(H,4)=HHV(H,2*4+1);
BB1:=BACKSET(AA1,4+1);
SS1:=FILTER(BB1,4) AND H=HHV(H,4+1);
vb:=REF(L,4)=LLV(L,2*4+1);
vb2:=BACKSET(vb,4+1);
vb1:=FILTER(vb2,4) AND L=LLV(L,4+1);
var1:=barslast(ss1);
var2:=ref(var1,var1+1)+1;
Xhigh:=if(var1>0,ref(high,var1),high);
XXhigh:=ref(high,var1+var2);
K:=(xhigh-xxhigh)/var2;
res:=xhigh+K*var1;
K<0
and filter(cross(close,res),3)
and dynainfo(17)>1.6 and isup and dynainfo(14)<0.05;
5、MACD空中加油
ref(last("macd.macd"<ref("macd.macd",1)),1)>=3
and "Macd.macd">ref("macd.macd",1)
and last("macd.dea">0)>=10;
6、MACD底部反转
var1:=ma(abs("macd.macd"),100);
ref("MACD.macd",1)=LLv("MACD.macd",13) and "macd.macd"<0-2*var1;
7、价值突破
MA1:=EMA(Close,3);
MA2:=EMA(Close,5);
MA3:=EMA(Close,8);
MA4:=EMA(Close,10);
MA5:=EMA(Close,12);
MA6:=EMA(Close,15);
MA7:=EMA(Close,30);
MA8:=EMA(Close,35);
MA9:=EMA(Close,40);
MA10:=EMA(Close,45);
MA11:=EMA(Close,50);
MA12:=EMA(Close,60);
var1:=(ma1+ma2+ma3+ma4+ma5+ma6)/6;
var2:=(ma7+ma8+ma9+ma10+ma11+ma12)/6;
shortmin:=min(ma1,ma2,ma3,ma4,ma5,ma6);
shortmax:=max(ma1,ma2,ma3,ma4,ma5,ma6);
longmin:=min(ma7,ma8,ma9,ma10,ma11,ma12);
longmax:=max(ma7,ma8,ma9,ma10,ma11,ma12);
var3:=barslast(longcross(shortmin,longmax,5));
var4:=ma(longmax/longmin-1,50);
cond1:=((cross(close,shortmax) and cross(close,shortmin))
or (open<shortmin and close>shortmax))
and ((var1>ref(var1,1) and ref(var1,1)<ref(var1,2)
and count(close/ref(close,1)<0.93,10)=0)
or count(max(open,close)<shortmin,10)>=2);
cond2:= last(var2>ref(var2,1))>=8
and last(shortmin>longmax*0.995)>=10
and between(longmax/longmin-1,var4/2,min(var4*1.5,0.13))
and count(longmax/longmin-1>max(var4*2,0.13),var3)=0;
cond1 and cond2;
8、基本面选股
DYNAINFO(39)>0 and DYNAINFO(39)<100 {市盈率介于0—100之间,可自己调整数值}
and DYNAINFO(58)>0 and DYNAINFO(58)<5 {市净率介于0—5之间,可自己调整数值}
and (4/PFFINTERM(0))*PFFIN(1251,0)/DYNAINFO(56)>0.3; {最近一期财报的年化营业收入与总市值之比大于0.3,可自己调整参数}
|
|