XA_1:=CLOSE-REF(CLOSE,1);
XA_2:=100*EMA(EMA(XA_1,6),6)/EMA(EMA(ABS(XA_1),6),6);
XA_3:=LLV(XA_2,2)=LLV(XA_2,7);
XA_4:=COUNT(XA_2<0,2);
XA_5:=CROSS(XA_2,MA(XA_2,2));
XG:XA_3 AND XA_4 AND XA_5 AND CLOSE/REF(CLOSE,1)<1.03 AND CLOSE>OPEN AND REF(CLOSE,5)/CLOSE>1.03 AND REF(CLOSE,30)/CLOSE>1.03 AND REF(CLOSE,35)>CLOSE;