X_24:=CLOSE>=OPEN;
X_25:=LOW>REF(CLOSE,1) AND REF(HIGH,1)
X_26:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND REF(HIGH,1)
X_27:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND REF(HIGH,1)
X_28:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND REF(HIGH,1)
X_29:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND REF(HIGH,1)
X_30:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND REF(HIGH,1)
X_31:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND REF(HIGH,1)
X_32:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND REF(HIGH,1)
X_33:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND REF(HIGH,1)
X_34:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND LOW>REF(HIGH,10) AND REF(HIGH,1)
X_35:=LOW>REF(CLOSE,1) AND LOW>REF(HIGH,2) AND LOW>REF(HIGH,3) AND LOW>REF(HIGH,4) AND LOW>REF(HIGH,5) AND LOW>REF(HIGH,6) AND LOW>REF(HIGH,7) AND LOW>REF(HIGH,8) AND LOW>REF(HIGH,9) AND LOW>REF(HIGH,10) AND LOW>REF(HIGH,11) AND REF(HIGH,1)
加仓:X_25 OR X_26 OR X_27 OR X_28 OR X_29 OR X_30 OR X_31 OR X_32 OR X_33 OR X_34 OR X_35 AND X_24;