Execution traders know that market impact greatly depends on whether their orders lean with or against the market. We introduce the OEH model, which incorporates this fact when determining the optimal trading horizon for an order, an input required by many sophisticated execution strategies....