Hi!
I going crazy here trying to produce equity curves for each optimization run. I've come to the conclusion that it´s probably not possible. At least not the way I'm trying. Can anyone confirm if this code should produce 3 different equity curves?
ver = optimize("version", 1, 1, 3, 1);
SetCustomBacktestProc("");
if( Status("ActionEx") == actionExOptimizePortfolio )
{
Eq = Foreign("~~~EQUITY", "C");
AddToComposite( Eq, "~~~EQUITY_"+ver, "C", atcFlagDeleteValues | atcFlagEnableInBacktest | atcFlagEnableInPortfolio);
}
if( Status("action") == actionPortfolio )
{
bo = GetBacktesterObject();
bo.Backtest();
display_mac_index();
}
Big thanks in advance!