Exclude composite symbols from backtest

While doing backtesting, some composite symbols with symbol names starting with ~ are distorting the results.

How can I exclude composite symbols from backtest? Composite symbols start with ~.

Thank you.

EDIT: I think I've found the solution. I can use Name() to get the symbol name, then work from there.

Composites go to Group 253. So e.g. you may exclude Group 253 in Filter window - Exclude tab of Analysis tool bar.

1 Like

Thank you, @fxshrat. Your solution is superior to using Name().