You can open a file in the common data folder with shared write attribute. See FILE_COMMON, FILE_SHARE_WRITE.
Documentation on MQL5: Constants, Enumerations and Structures / Input/Output Constants / File Opening Flags
- www.mql5.com
CSV file (all its elements are converted to strings of the appropriate type, Unicode or ANSI, and separated by separator). Flag is used in FileOpen(). Shared access for reading from several programs. Flag is used in FileOpen(), but it does not replace the necessity to indicate FILE_WRITE and/or the FILE_READ flag when opening a file. Shared...
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,
I have different indicators that run on different MT5 instances with different _Symbols.
These indicators provide printouts.
Is there a way to output these printouts in ONE file shared by all MT5's?
Do I have to regulate the access to the file myself, e.g. via FileOpen () and Sleep () until the file is still open because of the access from another MT5 ?
Thx
Greetings
WeHu58