it's not magic. you only close the operation at the price you want if you set a stop loss with the closing merit.. if not, the price when you close manually is different