I have been wondering the same thing . . . knock up some test code and find out. I would but I'm just a little too busy right now . .
Yeah I was too lazy to do it, was hoping for a quick answer here on the forums lol :)
Okay, just tested it out!
The answer is yes, it is selected on a global scale and can be accessed from any part of the EA once initially selected!
Cheers! :)
nanquan:
Thank you for the confirmation. :-)
Okay, just tested it out!
The answer is yes, it is selected on a global scale and can be accessed from any part of the EA once initially selected!
Cheers! :)
No problem! :)

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
If I use OrderSelect() inside a function to select a certain order by it's #ticket, does it remain selected outside the function as well?
Meaning, can I work with that same order in other functions without having to select it again?
Example:
Thanks!!