Hi,
I wanted to try my news system in the strategy tester but I get error on the handle when I it comes to FileOpen.. Error code unknow error it say.
Maby it can't open files in the strategy tester?
Also when it checks! IsFileExist it can't find the file but it's there cause it manage to download it
Any suggestions what can be wrong?
Here is some of the code,
Edit: Working now!
I run in strict mode
So Strategytester will download it over and over again and fileopen wont open file
You can't open a file in \MQL4\Files with the Strategy Tester. Please check the documentation :
The file is opened in the folder of the client terminal in the subfolder MQL4\files (or Tester\Files in case of testing).
You can't open a file in \MQL4\Files with the Strategy Tester. Please check the documentation :
Thx Sir! Its working now!
You can't open a file in \MQL4\Files with the Strategy Tester. Please check the documentation :
You've saved my day, thanks!
You've saved my day, thanks!
Mine too...
Thanks!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
I wanted to try my news system in the strategy tester but I get error on the handle when I it comes to FileOpen.. Error code unknow error it say.
Maby it can't open files in the strategy tester?
Also when it checks! IsFileExist it can't find the file but it's there cause it manage to download it
Any suggestions what can be wrong?