Closing 2 positions at the same time in hedged mode

To add comments, please log in or register
Peter Kaiza
913
Peter Kaiza  

Hi

I have two potions opened. 1 buy and 1 sell.I want to close them at the same time.

how do i do that using the inbuilt mt5 include codes?

Thanks.

Peter Kaiza
913
Peter Kaiza  
Peter Kaiza:

Hi

I have two potions opened. 1 buy and 1 sell.I want to close them at the same time.

how do i do that using the inbuilt mt5 include codes?

Thanks.

Please help. 
Alain Verleyen
38519
Alain Verleyen  
Using trade.PositionCloseBy().
To add comments, please log in or register