X_1:=DYNAINFO(8)>0;
X_2:=REF(HHV(CLOSE,1),BARSLAST(VOL=HHV(VOL,BARSLAST(MAX(MAX(MA(HIGH,5),MA(HIGH,10)),MA(HIGH,15))
X_3:=EXIST(EVERY(RANGE(MA(CLOSE,15),MA(CLOSE,10),MA(CLOSE,20)),10) AND VOL=HHV(VOL,10) AND EXIST(BARSLASTCOUNT(MA(CLOSE,5)>MA(OPEN,5))=2,2) AND BETWEEN(HIGH,MA(CLOSE,20),MA(HIGH,20)) AND EVERY(X_2=REF(X_2,1) AND X_2
1 AND CLOSE>=MA(CLOSE,20) AND MAX(LOW,REF(CLOSE,1))MA(CLOSE,20);
X_4:=COUNT(REF(EXIST(EVERY(MA(HIGH,5)>MAX(CLOSE,OPEN) AND REF(CLOSE=MA(HIGH,5) AND MA(HIGH,5)>MA(CLOSE,20))),BARSLAST(MA(CLOSE,5)[0;]
X_5:=REF(HHV(CLOSE,2),BARSLAST(VOL=HHV(VOL,BARSLAST(MAX(MAX(MA(HIGH,5),MA(HIGH,10)),MA(HIGH,15))
X_6:=REF(HHV(CLOSE,2),BARSLAST(VOL=HHV(VOL,BARSLAST(MAX(MAX(MA(HIGH,5),MA(HIGH,10)),MA(HIGH,15))
X_7:=REF(HHV(HIGH,2),BARSLAST(VOL=HHV(VOL,BARSLAST(MAX(MAX(MA(HIGH,5),MA(HIGH,10)),MA(HIGH,15))
X_8:=REF(HHV(CLOSE,2),BARSLAST(BARSLASTCOUNT(BETWEEN(HHV(REF(HHV(CLOSE,2),BARSLAST(VOL=HHV(VOL,BARSLAST(MAX(MAX(MA(HIGH,5),MA(HIGH,10)),MA(HIGH,15))=REF(HHV(CLOSE,2),BARSLAST(VOL=HHV(VOL,BARSLAST(MAX(MAX(MA(HIGH,5),MA(HIGH,10)),MA(HIGH,15))
X_9:=REF(REF(HHV(CLOSE,2),BARSLAST(X_5=X_6 AND X_5>=REF(X_5,BARSLAST(X_5<=REF(X_5,1)))*1.12 OR (CROSS(X_8,X_5) AND X_8>=REF(X_8,BARSLAST(X_8<=REF(X_8,1)))*1.12) OR (X_8>X_7 AND CROSS(X_8,X_6) AND X_8=X_5 AND MA(CLOSE,5)>OPEN AND REF(CLOSE=X_8,2)) OR (CROSS(X_6,X_8) AND X_7>=REF(X_6,BARSLAST(X_6<=REF(X_6,1)))*1.12))),HHV(CLOSE,2)=X_5);
X_10:=REF(REF(HHV(CLOSE,2),BARSLAST(X_5>=REF(X_5,BARSLAST(X_5<=REF(X_5,1)))*1.12 OR X_8>=REF(X_8,BARSLAST(X_8<=REF(X_8,1)))*1.12 AND (COUNT(CLOSE
X_11:=REF(HIGH,BARSLAST(X_9!=REF(X_9,1))+1)/REF(LOW,BARSLAST(X_9!=REF(X_9,1))+1)>=REF(REF(MAX(CLOSE,OPEN),1),BARSLAST(X_9!=REF(X_9,1))+1)/REF(REF(MIN(CLOSE,OPEN),1),BARSLAST(X_9!=REF(X_9,1))+1);
X_12:=MAX(MAX(MA(CLOSE,5),MA(CLOSE,10)),MA(CLOSE,15))
X_13:=NOT(X_12 OR (REF(EVERY(LOW>REF(LLV(HIGH,2),1) AND OPEN>REF(CLOSE,1) AND CLOSE>OPEN,2),1) AND OPEN>REF(HHV(HIGH,40),1)) OR (OPEN=HHV(HIGH,BARSLAST(X_9!=REF(X_9,1))+2) AND REF(OPENMA(HIGH,5) OR HIGH=MIN(CLOSE,OPEN),1);
X_14:=REF(MIN(MIN(MA(CLOSE,5),MA(CLOSE,10)),MA(CLOSE,15))>=MA(CLOSE,20),1);
X_15:=HIGH=HHV(HIGH,BARSLAST(X_9!=REF(X_9,1))+2) OR REF(EVERY(RANGE(X_9,LOW,CLOSE),2),1) OR (OPENOPEN);
X_16:=BARSLASTCOUNT(COUNT(BARSLASTCOUNT(COUNT(REF(CLOSE>X_9 OR (CROSS(CLOSE,X_8) AND CROSS(MA(CLOSE,10),OPEN)),1) AND OPEN>=X_9 AND (OPEN>=REF(MAX(X_8,X_5),1) OR REF(COUNT(CROSS(CLOSE,X_9),3)=2 AND REF(CLOSE>MA(HIGH,5),1) AND CROSS(MA(HIGH,5),OPEN),1)) AND X_15,BARSLAST(X_9!=REF(X_9,1)))=1)=1 AND X_13,BARSLAST(MA(CLOSE,5)
X_16;