You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
I want my experts to trade on Hedging mode in the same way as in Netting mode. To do so, the expert must add, reduce, close or reverse a single position.
I'm trying to set this by setting the currently open position Ticket to the MqlTradeRequest but it works only on reduction.
How to set the trade request in order to make it Add, Reduce, close and Reverse a single position?
I catch the corresponding cases with the "if" blocks below:
Can I reverse a position in Hedging mode as in the Netting mode or I have to close it first and than to open it in the opposite direction?