string InpDirectoryName = TerminalInfoString(TERMINAL_COMMONDATA_PATH); string filename; StringConcatenate(filename,InpDirectoryName,"\\Files\\",InpFileName); int file_handle = FileOpen(InpFileName,FILE_READ|FILE_CSV|FILE_COMMON);You are trying to read
C:\user\«UUUU»\appdata\roaming\metaquotes\terminal\common\C:\user\«UUUU»\appdata\roaming\metaquotes\terminal\common\files\InpFileName
and that path does not exist. Perhaps you should read the manual. How To Ask Questions The Smart Way. 2004
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.
![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
Hey guys, I´m having trouble to access a CSV file in COMMON files. At first, my EA has no problem reading it, but if another software access it, changing it´s value, from that moment my EA will only read 0 value, without any registered error, although the value is different when I access the csv file. I believe MQL5 has a something like a protected sandbox that doesn´t allow file changes to be read, and I cant get passed it.
Did anybody have any issues with this? Here´s a glance of the code: