Bug in working with resources (#resource).
It's a bug and contrary to what you said, it happens also on optimization ( you need more passes than agents to see it).
Reported to Metaquotes.
Alain Verleyen:
Hi, many thanks for the reply. Yes you are right, optimization is also failing, I just re-tested it. It's a bug and contrary to what you said, it happens also on optimization ( you need more passes than agents to see it).
Reported to Metaquotes.
Well in this case hopefully they have a fix with the next (beta) release.
Regards, Julian
Thank you for report.
Fixed. Please wait for updates.
You can use Visual mode to avoid this wrong behavior in the current build
Hi,
I am facing an issue in working with resources (#resource) . When I include a csv as string resource, compile and then test it in the tester the string resource is only available once. After that, the string is empty unless I restart MT5 (or recompile). The problem affects only the backtest but not optimization. With optimization enabled it works.
Looks like a bug or am I missing something? (I'm not experienced with #resource).
Here an example that illustrates the issue (example.csv file needs to be in same folder as EA):