XA_1:=150;
XA_2:=3;
XA_3:=REF(LLV(LOW,XA_1),XA_2);
XA_4:=REFDATE(XA_3,DATE);
XA_5:=(2*CLOSE+HIGH+LOW)/4;
XA_6:=LLV(XA_5,21);
XA_7:=EMA(LOW,30)*0.85;
XA_8:=LOW<XA_6 AND LOW<XA_7 AND LOW<=XA_4;
REF(XA_8,2) OR REF(XA_8,1) OR REF(XA_8,3) AND crOSS(CLOSE,MA(CLOSE,5)) AND CLOSE>OPEN;