Hello, I've tried the following code to allow for plotting of backtest metrics to no avail. A gentle nudge in the right direction would be greatly appreciated.
SetCustomBacktestProc("");
if (Status("action") == actionPortfolio)
{
bo = GetBacktesterObject();
bo.backtest();
st = bo.getperformancestats(0);
RARVal = 100.0 * st.getvalue("RAR");
Plot(RARVal, "K Ratio", colorWhite, styleLine);
}
