X_1:=OPEN>CLOSE;
X_2:=LAst(X_1,5,3);
X_3:=REF(OPEN<CLOSE,2) AND REF(OPEN>CLOSE,1);
X_4:=OPEN<CLOSE;
X_5:=LOW<REF(LOW,4);
X_6:=LLV(LOW,7);
X_7:=HHV(HIGH,6);
X_8:=EMA((CLOSE-X_6)/(X_7-X_6)*100,3);
X_9:=MA(X_8,3);
X_10:=MA(X_9,3);
X_11:=X_9>X_10 AND X_9>10;
X_12:=vol<=REF(LLV(VOL,16),1)*4.2;
X_13:=EXPMEMA(MAX(MAX(HIGH-LOW,Abs(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
X_14:=HIGH-REF(HIGH,3);
X_15:=REF(LOW,2)-LOW;
X_16:=EXPMEMA(IF(X_14>0 AND X_14>X_15,X_14,0),14);
X_17:=EXPMEMA(IF(X_15>0 AND X_15>X_14,X_15,0),12);
X_18:=X_16*100/X_13;
X_19:=X_17*100/X_13;
X_20:=EXPMEMA(ABS(X_19-X_18)/(X_19+X_18)*100,6);
X_21:=EXPMEMA(X_20,5);
X_22:=X_20<50;
X_23:=X_21>=25;
X_24:=REF(LOW,2)>REF(LOW,4);
X_25:=CLOSE/REF(CLOSE,1)>1.02 AND CLOSE/REF(CLOSE,1)<1.061;
X_26:=CLOSE>=MA(CLOSE,60) OR CLOSE<MA(CLOSE,60);
XG:X_2 AND X_3 AND X_4 AND X_5 AND X_11 AND X_12 AND X_23 AND X_25 AND X_26,COLORRED,LINETHICK2;