OptimizerSetEngine question

OptimizerSetEngine("cmae");
OptimizerSetEngine("trib");
OptimizerSetEngine("spso");

Are these equally valid/ok to use in a walkforward test with a watchlist as they are with an individual or portfolio backtest?

1 Like

If you mean to ask whether one can use smart optimization with walk-forward tests, then answer is yes.

If you use all 3 lines of code, then you'll simply be using the last one amongst them as the previous one will be overridden.

Thanks for the 'yes'. I know you only want to use one, I was showing the 3 possibilities. :wink: