Add the following to your code:
SetOption("GenerateReport", 1);
As found in the user manual:
http://www.amibroker.com/guide/afl/afl_view.php?id=201
The Report button will still be disabled after an optimization. So,
you'll have to have the report explorer open already, else open it
some other way.
Mike
--- In [email protected], "progster01" <progs...@...> wrote:
>
> Hi.
>
> I'd be interested to hear about how folks deal with saving portfolio
> backtest (PB) results.
>
> Motivation -
>
> I've just run a PB using
>
> OptimizerSetEngine("cmae");
>
> and also part of this test, a custom metric.
>
> I find that the Report button is not available, and I'm not finding
> any other method (am I missing it?) to save both column headers and
> values to .txt or .cvs files.
>
> I seem to have painted myself into a corner ... <g>
>