X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,7);
X_3:=MA(CLOSE,20);
X_4:=MA(CLOSE,30);
X_5:=MA(CLOSE,60);
X_6:=MA(CLOSE,120);
X_7:=MA(CLOSE,250);
X_8:=X_1>REF(X_1,1);
X_9:=X_1<REF(X_1,1);
X_10:=X_2>REF(X_2,1);
X_11:=X_3>REF(X_3,1);
X_12:=X_4>REF(X_4,1);
X_13:=X_5>REF(X_5,1);
X_14:=X_5<REF(X_5,1);
X_15:=X_6>REF(X_6,1);
X_16:=X_7>REF(X_7,1);
X_17:=X_1>X_2 AND X_2<X_3 AND X_3<X_4+0.02 AND X_4<X_5;
X_18:=CLOSE>X_2;
X_19:=LOW<=X_2 AND HIGH<X_3;
选股:X_10 AND X_17 AND X_19 AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND X_18;