X_1:=CLOSE/REF(CLOSE,1)>=1.099 AND CLOSE=HIGH;
X_2:=120;
X_3:=MA(C,X_2);
X_4:=POW(CLOSE-X_3,2);
X_5:=MA(X_4,X_2);
X_6:=SQRT(X_5);
X_7:=X_3+2*X_6;
X_8:=CLOSE>=X_7;
X_9:=X_7;
X_10:=MA(CLOSE,25);
去除st:=IF(NAMELIKE('*') OR NAMELIKE('S'),0,1);
去创业:=IF(CODELIKE('30'),0,1);
去科创:=IF(CODELIKE('688'),0,1);
长红选股:CROSS(CLOSE,X_9) OR COUNT(CLOSE<REF(CLOSE,1),3)=3 AND CLOSE>X_9 AND CLOSE>X_10 AND X_1 AND 去除ST AND 去创业 AND 去科创 AND COUNT(((C-REF(C,1))/REF(C,1)>0.0998),30)>=1;