Hello everyone
Need help with this question: during testing of the expert Advisor, in the MT4 tester, I encountered the error 5004 “failed to open the file”.
The expert Advisor is multi-currency and analyzes the instrument for different timeframes. To shorten the text of the code, the parameters of the indicators are placed in a file. During initialization, the expert Advisor reads the file and writes data to the array. In real life, everything works but not in the tester.
Who has faced this, tell me what the problem is.
lxv
Thank you, damn it, I forgot about it, as they say – to teach a match.))
alexeyvik
Vadym Kulish:
Hello everyone
Need help with this question: during testing of the expert Advisor, in the MT4 tester, I encountered the error 5004 “failed to open the file”.
The expert Advisor is multi-currency and analyzes the instrument for different timeframes. To shorten the text of the code, the parameters of the indicators are placed in a file. During initialization, the expert Advisor reads the file and writes data to the array. In real life, everything works but not in the tester.
Who has faced this, tell me what the problem is.
The tester has its own file folder. For the tester, you must either move the copy file there, or use a shared folder for all terminals.