Rotational backtest composite equity

I'm running a back-test in Rotational mode with 5 positions. The Equity output (~~~Equity) is divided into 5 separate amounts for each position. Is there an easy way to produce a composite equity symbol like the Equity Chart in the Report?

This did the trick. I hope it helps others.

SetCustomBacktestProc("");
if( Status("action") == actionPortfolio )
{
 bo = GetBacktesterObject();
 bo.Backtest();
 AddToComposite( bo.EquityArray,
                 "~~~MY_EQUITY_COPY", "X",
                 atcFlagDeleteValues | atcFlagEnableInPortfolio );