网友求助:

也就是三天之内符合以下选股条件的选股 谢谢

2:=IF((C-REF(C,1))/REF(C,1)>0.04,1,0);
LC:=REF(CLOSE,1);
A1:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
PP:=A1<45 AND REF(A1,1)>45 ;
PP3:=A1<20 AND REF(A1,1)>20;
HH1:=COUNT(A2,12)>=1;
HH:=REF(HH1,1);
XG:(REF(PP,1) OR REF(PP3,1))AND HH;
 

 

 

解答如下:

A2:=IF((C-REF(C,1))/REF(C,1)>0.04,1,0);
LC:=REF(CLOSE,1);
A1:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;
PP:=A1<45 AND REF(A1,1)>45 ;
PP3:=A1<20 AND REF(A1,1)>20;
HH1:=COUNT(A2,12)>=1;
HH:=REF(HH1,1);
XG:=(REF(PP,1) OR REF(PP3,1))AND HH;
COUNT(XG,3)=1;