| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| How to close a position programatically in MT5 Hedge https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4836 |
Page 1 of 1 |
| Author: | Popov [ Mon Jul 25, 2016 8:06 am ] |
| Post subject: | How to close a position programatically in MT5 Hedge |
Hello Traders, Let's open a position in a Hedge account with a given Magic_Number on the current _Symbol. Code: Select all Code: Select all How to find this position and close it? I assume I have to first open an opposite one: Code: Select all How to execute CloseBy ? |
|
| Author: | Popov [ Mon Jul 25, 2016 7:48 pm ] |
| Post subject: | How to close a position programatically in MT5 Hedge |
I think I managed to make it working. It was necessary to find the position ticket: Code: Select all Code: Select all |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|