Tester: automatically save the tester report for each optimization result

 

Hi

I am using this process to create a WFA approach to backtesting. https://www.mql5.com/en/articles/1347 where there is an excel spreadsheet that creates set files to be loaded into Tester.

Once i have reduced the parameter sets from the optimization in excel, i would like to output the tester report.htm for each parameter set. Is it possible to do this? I could then create a third option to call another function that would create the htm files.

I have seen that this can be done using the batch process (configuration at startup), but i would like to be able to do it via the code in the EA, as the EA creates several set files that are read in automatically.

Therefore i don't think using the batch process would work, or at least i am not sure how i could configure it to read in all the set files that are generated via the excel macro's.

I don't want to create a custom report as I can then add the htm files to another 3rd party program to analyse the results further (which has been written to import the standard htm files)

thanks

Simon

 
simoncs:

Hi

I am using this process to create a WFA approach to backtesting. https://www.mql5.com/en/articles/1347 where there is an excel spreadsheet that creates set files to be loaded into Tester.

Once i have reduced the parameter sets from the optimization in excel, i would like to output the tester report.htm for each parameter set. Is it possible to do this? I could then create a third option to call another function that would create the htm files.

I have seen that this can be done using the batch process (configuration at startup), but i would like to be able to do it via the code in the EA, as the EA creates several set files that are read in automatically.

Therefore i don't think using the batch process would work, or at least i am not sure how i could configure it to read in all the set files that are generated via the excel macro's.

I don't want to create a custom report as I can then add the htm files to another 3rd party program to analyse the results further (which has been written to import the standard htm files)

thanks

Simon

Is it possible to output a custom report during the optimization process? ie automatically for each parameter set.

I have included a custom report and put the run code in DEINT function - but it doesn't seem to work - does it not work like this? https://www.mql5.com/en/articles/1403

Or would ONTESTER() work?