X_1:=(HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13))*100;
X_2:=SMA(X_1,5,1);
X_3:=SMA(X_2,5,1);
X_4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.08 AND X_2>30;
X_5:=AMOUNT;
X_6:=1.9;
X_7:=X_5>=REF(X_5,1)*X_6 AND IF(CLOSE
X_8:=vol/CAPITAL*100<10;
X_9:=MA(CLOSE,233)>=REF(MA(CLOSE,233),1);
X_10:=MA(CLOSE,34)>=REF(MA(CLOSE,34),1);
X_11:=crOSS(macd.DIF,MacD.DEA);
X_12:=CROSS(X_3,X_2);
X_13:=X_11 AND X_12 AND X_4 AND X_9 AND X_10 AND X_8;
X_14:=X_12 AND REF(X_11,1) AND X_4 AND X_9 AND X_8;
X_15:=X_11 AND X_12 AND CLOSE>MA(CLOSE,34) AND X_9 AND X_8 AND X_4;
X_16:=X_9 AND REF(X_11,1) AND REF(X_12,1) AND X_4 AND X_10 AND X_8;
X_17:=X_11 AND REF(X_12,1) AND REF(X_7,1) AND X_10 AND X_4 AND X_8;
X_18:=X_11 AND X_12 AND MACD.DIF>0 AND X_8 AND X_9 AND X_4;
XG:X_13 OR X_14 OR X_15 OR X_16 OR X_17 OR X_18;