DOWN:=50;
N:=120;
X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);
X_2:=EMA(X_1,9);
X_3:=(X_1-X_2)*2;
X_4:=HHV(HIGH,N);
X_5:=REF(BArslAST(HIGH=X_4),1)+1;
X_6:=LLV(LOW,X_5+1);
X_7:=REF(BARSLAST(LOW=X_6),1)+1;
X_8:=100*X_6/X_4>100-DOWN;
X_9:=X_8 AND X_5>=30 AND X_7>=10;
X_10:=IF(CODELIKE(9) OR CODELIKE(10),7,5);
X_11:=vol=HHV(VOL,15) AND BETWEEN(VOL/MA(VOL,5),0.5,5);
X_12:=OPEN=LOW OR (HIGH-CLOSE)/(OPEN-LOW)>2;
X_13:=CLOSE>OPEN AND HIGH>CLOSE AND HIGH-CLOSE>OPEN-LOW;
X_14:=LOW>REF(HIGH,1) OR (OPEN>REF(CLOSE,1) AND HIGH>REF(HIGH,1));
X_15:=100*(CLOSE-OPEN)/OPEN<=X_10;
X_16:=CLOSEX_17:=X_11 AND X_12 AND X_13 AND X_14 AND X_15 AND X_16;
X_18:=BETWEEN(LLV(LOW,10)/REF(LOW,X_7),1,(100+X_10)/2);
X_19:=REF(BARSLAST(crOSS(X_1,X_2)),1)+1;
X_20:=X_1<=0.1 OR X_2<=0.1 AND X_1>=X_2 AND X_19<=10 OR CROSS(X_1,X_2);
X_21:=X_9 AND X_17 AND X_18 AND X_20;
XH:=X_21 AND REF(NOT(X_21),1);
X_22:=REF(HIGH,1)-REF(MAX(OPEN,CLOSE),1);
X_23:=REF(MIN(OPEN,CLOSE),1)-REF(LOW,1);
X_24:=HIGH-MAX(OPEN,CLOSE);
X_25:=MIN(OPEN,CLOSE)-LOW;
X_26:=Abs(REF(HIGH,1)-REF(LOW,1))/ABS(REF(CLOSE,1)-REF(OPEN,1))>=2 AND 100*ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,2)<=2;
X_27:=ABS(HIGH-LOW)/ABS(CLOSE-OPEN)>=2 AND 100*ABS(CLOSE-OPEN)/REF(CLOSE,1)<=2;
X_28:=X_26 AND X_27;
X_29:=REF(HIGH,1)>HIGH AND REF(LOW,1)>LOW;
X_30:=LOW
X_31:=X_22/X_23>=1.5 AND X_25/X_24>=1.5 AND X_29 AND X_30 AND X_28;
AX:X_31 AND COUNT(XH,5)>0;