This is because after one side is closed, the margin for the remaining orders must be recalculated as a single-sided position. When you hold both buy and sell orders on the same instrument, the margin requirement is usually lower. After you close one side, the close will be rejected if your available margin is not enough to support the remaining orders.
How to resolve this:
- Check your Free Margin at the bottom of the Trade tab, and make sure there is enough margin for the remaining orders before closing.
- If you are using MT4, you can also use Close By in the close order window to close two orders in opposite directions against each other.