Issue with Optimizer caching previous results. How do you reset it? Video included

To add comments, please log in or register
dazamate
817
dazamate  

I am try to restart an optimization process after I updated the code.

Every time I want to run the optimization process from the beginning, the optimizer remembers what iteration it was up to in the previous run, and starts from there again.

I don't want this behavior, and I can't see how to disable it.

See the video attached below:


Anthony Garot
1945
Anthony Garot  

Delete the contents of:

C:\Users\<username>\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C6CF37AD8BF350E31FF073\Tester\cache\

I know of no way in MT5 to do this. It would be a useful enhancement, perhaps.

Programmatically, you could use do something with DLL calls (e.g. kernel32::DeleteFileW()) to remove these files in OnTesterInit().

dazamate
817
dazamate  

Thanks Anthony

This is really annoying, I don't remember it doing this before. 

I will try the dll call trick, thank you.

To add comments, please log in or register