chinaski: The param file is in MQL5/files. What do i wrong ?
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.
You did not put it in the testing_agent_directory\MQL5\files as the documentation says.
FileOpen - File Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
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 want to use a parameter file for my strategy.
The param file is in MQL5/files.
When i open datafolder/MQL5/files, i can see the file there.
Also, the file loaded correctly when applying strategy to chart.
Loading fails when backtesting, even i have the test file directive in the code:
Also put the file into the common files folder which did not solve this.
So the file is in the file section of THIS MetaTrader (checked by Open Data Folder).
It is loaded correctly when applying to chart.
The tester_file directive denotes this file (no subfolder).
The file fails to load in backtest.
What do i wrong ?
(And who knows a good reason why file access in backtesting is handled this way at all ? A dynamic file access seems not to be possible).