MetaTrader 4 file access error 5002

 

My EA log keeps reporting this error when when it tries to access files on my computer. I have:

  1. Double-checked the file path to ensure it is correct.
  2. Ensured that the MT4 terminal is running with administrator privileges.
  3. Checked if the file is being accessed by another program or process.
  4. Created a simple EA to test file access without the Python integration.
  5. Tested the EA with another MT4 installation from a different broker.


All with no success if anyone knows any fixes to this please help

 
owusu12:

My EA log keeps reporting this error when when it tries to access files on my computer. I have:

  1. Double-checked the file path to ensure it is correct.
  2. Ensured that the MT4 terminal is running with administrator privileges.
  1. Why did you post your MT4 question in the MT5 EA section instead of the MQL4 section, (bottom of the Root page)?
              General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
    Next time, post in the correct place. The moderators will likely move this thread there soon.

  2. Do you really expect an answer? There are no mind readers here and our crystal balls are cracked.
         How To Ask Questions The Smart Way. (2004)
              Be precise and informative about your problem

    We can't see your broken code.

    Always post all relevant code (using Code button) or attach the source file.

  3. What path? File (Alt+F) → Open Data Folder (D) and verify you put it in the correct location. («DataFolder»/MQL4/Files)