- Adding a magic number filter to the order select loop is sufficient if all EAs on all charts are using a unique one. https://www.mql5.com/en/forum/143514
- Handling context busy is always necessary (EA vs manual trading). Mutex is best (for multiple EAs) See my mutex code
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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,
Say that I want to use same ea in more than one pair, is that enough to put different symbol an magic number in each ea instance to avoid conflicts (Iscontext busy) or is that necessary to use of a Retry routine or even make use of a mutex ?
Thank you in advance for any clarification.
Luis