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HJ_29,6),6)/EMA(EMA(ABS(HJ_29),6),6);
HJ_31:=IF(LLV(HJ_30,2)=LLV(HJ_30,7) AND COUNT(HJ_30<0,2) AND CROSS(HJ_30,MA(HJ_30,2)),1,0);
HJ_32:=IF(CROSS(HJ_28,HJ_26),1,0);
HJ_33:=IF(CROSS(HJ_26,HJ_27),1,OPEN);
HJ_34:=IF(FILTER(HJ_31=1,5),1.5,0);
HJ_35:=HJ_34 AND HJ_32;
HJ_1 AND (HJ_23 OR HJ_35) AND EVERY(LOW<REF(LOW,2),2) AND BARSLAST(HJ_23 OR HJ_35)<55;
{-----------------------------------}