Don't generate reports after backtesting

After backtesting, reports will be generated under folder C:\Program Files\AmiBroker\Reports.

Is it possible to prevent reports from being generated after backtest? A method to do it through AFL will be preferable.

You may disable 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", 0 ); // suppress generation of report 
4 Likes

Thanks for the quick reply. I wonder how I could have missed it.

I assumed if I can't find it in the menu options, it probably cannot be easily found in AFL.