综合选股(四条件)

{二个月换手大于150}

OK:SUM(HSL,50)>150;

{阶段强于大盘}

n1:=50;

n2:=1;

A:=SUM(IF(CURRBARSCOUNT=N1,INDEXC,0),0);

B:=SUM(IF(CURRBARSCOUNT=N2,INDEXC,0),0);

E:=SUM(IF(CURRBARSCOUNT=N1,CLOSE,0),0);

F:=SUM(IF(CURRBARSCOUNT=N2,CLOSE,0),0);

QJQ:=((F-E)/E)>(((B-A)/A)+0.01);

{区间保泰}

n:=20;

KL:=100*(WINNER(C)-WINNER(O));

BTG:=COUNT(C>O AND 5>=HSL AND 35<=KL,n);

{20天内出现涨停}

EZT:=(HIGH>=ZTPRICE(REF(CLOSE,1),IF(FINANCE(3)=4,0.2,0.1))); { 出现过涨停 }

ZTG:=FINANCE(42)>50 AND EXIST(EZT,N); { 上市满50天,N天内存在过涨停 };

OK:HSG AND QJQ AND BTG AND ZTG;

(0)

相关推荐