MT4 / MT5 · Guide 06
How to Close an Order in MetaTrader
Every method for closing open positions: full close, partial close, one-click X button and cancelling pending orders.
Method 1: The "X" Button in the Terminal (Fastest)
This is the quickest way to close a position at the current market price:
- Go to the Terminal panel → Trade tab
- Find the position you want to close
- Click the "×" button at the end of the position row
- MetaTrader will close the position at the current market price
Method 2: Order Window (For Partial Close)
- Double-click the position in the Terminal, or right-click → "Modify or Close Order"
- In the window that appears, reduce the Volume field to the amount you want to close (e.g. if you have 0.10 lots and want to close half, enter 0.05)
- Click the yellow close button ("Close #xxxx")
Partial close: Partial closing is an advanced technique — you close part of the position at the first profit target and let the remainder run with the stop-loss at breakeven. Ideal for locking in gains without fully exiting the trade.
Cancelling a Pending Order
If you have a pending order (Limit or Stop) that has not yet been triggered and you want to cancel it:
- In the Terminal → Trade tab, pending orders appear with a different background from open positions
- Click the "×" button on the pending order row
- Or right-click → "Delete Order #xxxx"
- The order will be cancelled and disappear from the Terminal
Closing All Positions at Once
To quickly close all open positions simultaneously:
- In the Terminal, right-click any position → "Close All Positions".
- Or from the menu: Tools → Close All Positions.
Caution: Closing all positions at once is irreversible. Use this only when you have a specific reason (high-impact news release, end of day, emergency exit).
Closed Trade History
Once a position is closed, you can review all the details in the Terminal → History tab: open and close prices, profit/loss, commissions, swap and trade duration.
Educational content only. Does not constitute financial or investment advice. Trading involves risk of loss; past results do not guarantee future results.