I have a batch script setup correctly, and ran correctly. However, I cannot set custom parameters within each one of the *.apx file, it always defaults to the default value.
Is there a way to "save" the custom selection within each *.apx file? Thank you in advance.
Param* functions are mainly chart functions. Non-default settings are not saved in APX analysis project file.
Instead of using batch to run five times individual Backtest simply use individual Optimization (run single time).
var = Optimize("Consec. Bars", 3, 1, 5, 1);
To generate full report in optimization:
On the other hand (and as aside) to export backtest report of each optimization step then you may enable it via SetOption field plus value. Three modes (0,1,2) for field "GenerateReport" are available.
https://www.amibroker.com/guide/afl/setoption.html
SetOption("GenerateReport", 2 ); // enable generation of full report
Reports are in report folder then and you can view them in Report explorer of Analysis window (in realtime step after step).
5 Likes
system
Closed
May 11, 2021, 8:46pm
3
This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.