Alain Verleyen:
thanks :)
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 was trying to execute only one EA per _Symbol, i tried mutex and winapi, but that was very ugly...
Asking to MQL5 support they report me this interesting condition:
FileOpen when not used with shared write or shared read will open file with exclusive lock, including the FILE_COMMON flag you could use a lock file to block two EA :) check it: