O1:=REF(O#WEEK,WEEkdAY);{上周开盘价}
C1:=REF(C#WEEK,WEEKDAY);{上周收盘价}
O2:=REF(O1,WEEKDAY);{上上周开盘价}
C2:=REF(C1,WEEKDAY);{上上周收盘价}
HH:=C1 O1 AND C2
AA:=REF(L,1) REF(L,2) AND REF(L,2) REF(L,3) AND REF(L,3) REF(L,4);{双低3天}
BB:=REF(C,1) REF(C,2) AND REF(C,2) REF(C,3) AND REF(C,3) REF(C,4);{连跌3天}
CC:=H REF(H,1) AND C REF(C,1);{2高}
DD:=(H-L)/REF(C,1)*100 {振幅 =3%}
EE:=C/REF(C,1) =1.03;{涨幅 =3%}
FF:=C =5 AND C {5元和50元之间}
GG:=IF(INBLOCK('科创板'),0,1);{去科创板}
XG:AA AND BB AND CC AND DD AND EE AND FF AND GG AND HH;