Create new watchlist based on backtest’s results

Hello,

I would like to create new watchlist based on backtest’s results of stock in other watchlist. I would like to filter the backtest results first by some basic metrics like return, drawdown etc and then to add just some candidates to target watchlist.

I understand I will use CategoryAddSymbol. But can you please point me out how to construct the code especially if I would like to use built in functions for stops and targets?

Thank you,
Peter

Actually I find the answer here: http://www.amibroker.com/kb/2014/10/13/per-symbol-profitloss-in-a-portfolio-backtest/