My EA reads from a text file.
I attached my EA to 8 charts and when loading the MT5 I have some error opening the text file.
I used random sleep to mitigate the opening of file in my on init
Is there a better way?
- Use Comment Text with EA
- Can i check if a file is already open?
- Using External *.set files
See OoenFile FLAGS here:
https://www.mql5.com/en/docs/files/fileopenYou can open file SHARE_READ.
To use SHARE_WRITE, make sure you write file in correct order.
Good luck.
Soewono Effendi #:
Thanks. This is very helpful.
See OoenFile FLAGS here:
https://www.mql5.com/en/docs/files/fileopenYou can open file SHARE_READ.
To use SHARE_WRITE, make sure you write file in correct order.
Good luck.
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