Is there a way to have some AFL code execute once just before any backtesting is performed? I've got some AFL that empties a watchlist and then fills it with just the symbols I'm testing with (which is different for each backtest).
My AFL works ok, but after looking at DebugView the emptying and populating of the watchlist is happening once per symbol, so it ends up executing this multiple times. Is there a way to use the COM model to execute some AFL code to make the watchlist modifications (but not actually perform a backtest)?
