Created
: 2022.10.04
On MetaTrader5 (MT5), you can close multiple positions or delete multiple pending orders in bulk. The positions and pending orders for bulk operations can be specified by symbol, order type, and others. Here we'll take a look at how to close positions or delete pending orders in bulk in MT5. Please note that when using bulk operations, you must first enable the one-click trading feature.
Related article: Enable one-click trading
Click the "Trade" tab of the Toolbox and right-click on an order or on any non-order area. Then hover the pointer over "Bulk Operations" in the context menu.
Choose the operation you wish to perform from the list. Different operations are displayed depending on where in the Toolbox you right-clicked.
When you right-clicked on a non-order area, it shows seven bulk operations that are not symbol-specific.
Number |
Item name |
Descriptions |
---|---|---|
1 |
Close All Positions |
Close all open positions in bulk. |
2 |
Close Profitable Positions |
Close all profitable positions in bulk. |
3 |
Close Losing Positions |
Close all losing positions in bulk. |
Number |
Item name |
Descriptions |
---|---|---|
4 |
Delete All Orders |
Delete all pending orders. |
5 |
Delete Limit Orders |
Delete all limit orders. |
6 |
Delete Stop Orders |
Delete all stop orders. |
7 |
Delete Stop Limit Orders |
Delete all stop-limit orders. |
When you right-clicked on an order, it shows the following operations along with the ones displayed when right-clicking on a non-order area.
Number |
Item name |
Descriptions |
---|---|---|
1 |
Close Buy/Sell Positions |
Close all positions in the same direction as the selected one. This is for every symbol. |
2 |
Close (symbol name) Positions |
Close all positions for the same symbol as the selected one. |
3 |
Close Buy/Sell (symbol name) Positions |
Close all positions for the same symbol in the same direction as the selected one. |
4 |
Close by (symbol name) |
Close the hedged portion of the position for the same symbol as the selected position. Only the hedged portion of the selected positions will be closed. The size of the buy and sell positions to be closed are equal. If there is a difference in their size, the reduced portion of the larger position will remain.(*1) |
(*1)Only available for hedging accounts supporting "Close by"
"Close by (symbol name)" is only available if your broker is supporting the "Close by" feature, which closes the hedged positions saving the spread. If "Close by" is not allowed, the position will not be closed even if the option is displayed.
In MT5, there are "hedging account", which allows hedged positions, and "netting account", which does not. Most forex brokers offer hedging accounts. On the MT5 netting account offered by some brokers, "Reverse Buy/Sell (symbol name)" will be displayed instead of "Close by (symbol name)". If you choose this command, the selected position will be closed and a new opposite position with the same lot size will be opened.
Number |
Item name |
Descriptions |
---|---|---|
1 |
Delete (symbol name) Orders |
Delete all pending orders for the same symbol as the selected position. |
2 |
Buy/Sell |
Delete all pending orders of the same order type and for the same symbol as the selected position. |
The corresponding positions and pending orders will be removed from the "Trade" tab in the Toolbox.
Created
: 2022.10.04
Last updated
: 2024.08.21
Nakamaru is a manual production consultant at FINTECS, a company that specializes in creating manuals for their clients.
With a wide range of experience from fintech to entertainment, he presents what user-friendly manuals should be like.
He works with numerous large corporations as an external manual production project manager.
【Business information】
http://www.fintecs.co.jp/profile/
Akira Takagi
Systems engineer, MetaTrader administrator
After graduating from Computer Science at the Uninove, Brazil, in 2014, he has worked on various systems development projects.
He participated as a developer in the launch of forex services in 2019. Since then, he has also been involved in the development of MetaTrader plugins and APIs. He is certified by MetaQuotes as a MetaTrader5 Administrator and active in consulting and advisory as well.
We hope you find this article useful. Any comments or suggestions will be greatly appreciated.
We are also looking for writers with extensive experience in forex and crypto to join us.
please contact us at [email protected].
Disclaimer:
All information and content provided on this website is provided for informational purposes only and is not intended to solicit any investment. Although all efforts are made in order to ensure that the information is correct, no guarantee is provided for the accuracy of any content on this website. Any decision made shall be the responsibility of the investor and Myforex does not take any responsibility whatsoever regarding the use of any information provided herein.
The content provided on this website belongs to Myforex and, where stated, the relevant licensors. All rights are reserved by Myforex and the relevant licensors, and no content of this website, whether in full or in part, shall be copied or displayed elsewhere without the explicit written permission of the relevant copyright holder. If you wish to use any part of the content provided on this website, please ensure that you contact Myforex.
Myforex uses cookies to improve the convenience and functionality of this website. This website may include cookies not only by us but also by third parties (advertisers, log analysts, etc.) for the purpose of tracking the activities of users. Cookie policy