4evermaat:
No you can't. There is only synchronous request with MT4/mql4.
i'm using build 670. Say I have 5 separate tickets of eurusd filled. Can I initiate a 'closeAll' where I send 5 requests to close the orders such that I can send one request without having to wait for the previous request to report back? In looking at the journal, it looks like I must wait until one request is completed its cycle before a new one can be made :(
Or send one request to close all 5 ticket numbers?
Fastest way to close is to set S/L and T/P in advance, because setting those levels is also sequential and takes some time.
When price hits one of the levels, orders will be closed on the server and it will happen faster then if you close them from your EA.
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
i'm using build 670. Say I have 5 separate tickets of eurusd filled. Can I initiate a 'closeAll' where I send 5 requests to close the orders such that I can send one request without having to wait for the previous request to report back? In looking at the journal, it looks like I must wait until one request is completed its cycle before a new one can be made :(
Or send one request to close all 5 ticket numbers?