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
Hi everyone.
I'm looking to program an EA to close all orders related to a magic number. I've noticed that in certain older posts that there is discussion around the "CloseOrders()" function, however I am not able to find it in the online database of functions. Is this:
a) an old function that no longer exists
b) a function that I have to write on my own (or, use the template provided here: https://www.mql5.com/en/forum/116395)
c) or something that exists but that I just can't seem to find on account of being a noob?
I don't mind having to write it out myself, but in the interest of avoiding on-screen clutter I'd love to use a function that already exists.
Thanks for your time,
Cornelius