I have found a lot of outdated codes on the form in regard to this topic. What is the quickest way to open 1 positon per pair?
I'm using the code below which one open 1 pair and 1 trade but I wish to open 1 trade for each pair I select. Thanks
If you deal with pending orders, then you'll have to iterate through all orders to check for that their symbol does not equal _Symbol.
As for positions, a simple PositionSelect(_Symbol) will return true only if a position already exists for _Symbol.
If you deal with pending orders, then you'll have to iterate through all orders to check for that their symbol does not equal _Symbol.
As for positions, a simple PositionSelect(_Symbol) will return true only if a position already exists for _Symbol.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I have found a lot of outdated codes on the form in regard to this topic. What is the quickest way to open 1 positon per pair?
I'm using the code below which one open 1 pair and 1 trade but I wish to open 1 trade for each pair I select. Thanks