网友求助:

V5:=MA(V,5);
AA:=V>=V5*2.2 ;
BB:=V>=HHV(V,60);
CC:=AA OR BB;
去除ST股:=EXIST((C-REF(C,1))/REF(C,1)*100>5.6,100);
CC AND V>0 AND REF(C,1)<REF(C,2) AND 去除ST股;
 

 

解答如下:

V5:=MA(V,5);
AA:=V>=V5*2.2 ;
BB:=V>=HHV(V,60);
CC:=AA OR BB;
ST:=STRFIND(stkname,'ST',1)>0;
CC AND V>0 AND REF(C,1)<REF(C,2) AND NOT(ST);