- luisneves: I pretend to close the last order maintaining the first order in place.In the USA you must close the oldest order first do to FIFO rules and hedging is not allowed.
GetLastError();
This does nothing. Check your return codes and find out why. What are Function return values ? How do I use them ? - MQL4 forum and Common Errors in MQL4 Programs and How to Avoid Them - MQL4 Articles
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 all,
I pretend to close the last order maintaining the first order in place.
The ea is working fine to the moment that an opposite order is in place, but when I try to close the last order regarding it bounces back and passes the line of the indicator that do not happen.
Is that possible for you to support me on this issue?
Best regards
Luis Neves