Position count and capital used in Portfolio backtest

I have an afl which runs a portfolio backtest on a basket of max 20 open positions from a broader universe. After running the backtest how do i get an ouput graph which shows the Position Count graph for the backtest period and also the Capital Employed during the same period?

Please see attached what I am trying to achieve.
position count and capital used

Thanks in advance.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.