Read the documentation of FileOpen() again.
File Write Problem (Error: 5002) - Expert Advisors and Automated Trading - MQL5 programming forum #1-2 (2020.06.12)
and FolderDelete using TERMINAL_DATA_PATH - General - MQL5 programming forum (2017.12.13)
Creation date of Indicator - Expert Advisors and Automated Trading - MQL5 programming forum (2021.05.12)

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
Hello i am trying to read a file from the common directory but its not working
Here is the code that i am trying :
I receive this error : Failed to open 15767168 file, Error code = 5002
I tried looking here : RunTime Errors to see if I can find out why its giving the error , but all it says about the error 5002 is " Wrong file name " where as the file name is exactly as what i used in the code
whats the cause of this error and can someone please guide me how i can solve it ?
Thank you