Select Language

Close hedged positions simultaneously

When holding hedged positions in MetaTrader5 (MT5), you can close both positions simultaneously paying less spread than closing positions individually. This operation, referred to as "Close By", is only available if your broker is supporting it. Please note that this is a different feature from closing positions in bulk.

Here we will look at how to close hedged positions simultaneously, which is available from the Toolbox or chart.

Step 1

Close hedged positions from the Toolbox

Click the "Trade" tab of the Toolbox and double-click on one of the hedged positions you wish to close.

Double-click on the hedged position you wish to close Double-click on the hedged position you wish to close

Or, right-click on the position you wish to close and select "Modify or Delete".

Modify or Delete Modify or Delete

Close hedged positions on the chart

Double-click on the dotted line on the chart which indicates a position.

Related article: How to show position on chart

Position on the chart Position on the chart

Or, right-click on the dotted line on the chart which indicates a position and select "Modify".

Select Modify Select Modify

Step 2

In the position window, click the "Type" field and select "Close By". It won't be shown if your broker is not supporting the "Close By" feature.

Click the Type field and select Close By Click the Type field and select Close By

Step 3

Select the position to close simultaneously.

Select the position Select the position

Step 4

Click "Close".

Click Close Click Close
caution Only the same volume will be closed

Only the hedged portion of the selected positions will be closed, not the entire positions. If there is a difference in the size of the sell position and the buy position, the smaller position will be entirely closed while the reduced portion of the larger one will remain.

Step 5

Once the order is executed, the positions closed together can be viewed in the "History" tab of the Toolbox.

The order is executed The order is executed



 : 2022.08.26


Last updated

 : 2022.08.26


Takayoshi Nakamaru

Manual production consultant, MBA

Takayoshi Nakamaru

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】


Akira Takagi

Systems engineer, MetaTrader administrator

Akira Takagi

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.

Was this article helpful?
Thank you for your feedback.
Thank you for your feedback.


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.

  • Facebook
  • Twitter
  • LINE

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

I agree