made sure open and close are between high/low