A1:=CLOSE/REF(CLOSE,1)>=1.0993;
A2:=REF(A1,2) AND CLOSE>REF(CLOSE,2) AND CLOSE>REF(HIGH,1);
A3:=REF(A1,3) AND CLOSE>REF(CLOSE,3) AND CLOSE>REF(HIGH,1) AND CLOSE>REF(HIGH,2);
ZF:=(HHV(HIGH,4)-LLV(L,4))/LLV(LOW,4)*100<=18;
A4:=REF(A1,4) AND REF(ZF,1) AND CLOSE>=REF(HHV(H,4),1);
A2 OR A3 OR A4