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25:=LLV(LOW,HJ_24)*1.3;
HJ_26:=LLV(LOW,20)*1.418;
HJ_27:=HJ_18>=HJ_19 AND HJ_21=HJ_20 AND CLOSE/REF(CLOSE,1)>=1.07 AND HJ_24<=30 AND CLOSE<=HJ_25 AND CLOSE<=HJ_26;
HJ_28:=HJ_27 AND FILTER(HJ_27,HJ_24);
HJ_29:=HJ_18>=HJ_19 AND HJ_21=HJ_20 AND CLOSE/REF(CLOSE,1)>=1.035 AND HJ_24<=30 AND CLOSE<=HJ_25 AND CLOSE<=HJ_26;
HJ_30:=HJ_29 AND FILTER(HJ_29,20);
{-----------------------------------}