X_1:=OPEN
X_2:=OPEN
X_3:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,30) AND MA(CLOSE,30)>MA(CLOSE,60);
X_4:=NOT(crOSS(MA(CLOSE,10),MA(CLOSE,5)) OR CROSS(MA(CLOSE,30),MA(CLOSE,20)) OR CROSS(MA(CLOSE,50),MA(CLOSE,10)) OR CROSS(MA(CLOSE,10),MA(CLOSE,20)) OR CROSS(MA(CLOSE,10),MA(CLOSE,30)));
X_5:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.02;
LCXG:X_1 OR X_2 AND X_3 AND X_4 AND X_5;