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(CLOSE,HJ_3) AND OPEN=HIGH AND OPEN<REF(CLOSE,1);
HJ_25:=RANGE(REF(HJ_6,1),30.02,30.040001);
HJ_26:=RANGE(REF(HJ_8,1),28.84,28.860001);
HJ_27:=RANGE(REF(HIGH-LOW,1),1.51,1.53);
HJ_28:=LAST(CLOSE<OPEN,6,4) AND REF(CLOSE,3)>REF(OPEN,3) AND LAST(CLOSE<OPEN,2,0) AND CLOSE<REF(OPEN,3);
HJ_29:=NOT(HJ_18) AND NOT(HJ_19) AND NOT(HJ_23) AND NOT(REF(HJ_24,1)) AND NOT(HJ_25) AND NOT(HJ_26);
XG:HJ_9 AND HJ_10 AND HJ_13 AND HJ_16>(-40) AND HJ_14 AND COUNT(HJ_17,2)>=1 AND HJ_17 AND HJ_15 AND HJ_29 AND HJ_22;
{-----------------------------------}