I have written a NinjaScript strategy (using EOD daily bars data) which I’m backtesting against all NASDAQ 100 stocks.
All 100 of these NASDAQ 100 stocks are assigned to a group within Instrument Manager (as per the default set-up of NinjaTrader).
I backtest the strategy against all 100 instruments by selecting this “NASDAQ 100” group within Strategy Analyzer and then running the backtest.
My NinjaScript code is set to output (to the Output Window) the value of 12 calculated parameters on the last bar of each backtest for each instrument (i.e. for the bar corresponding to yesterday).
Therefore, by running the backtest over the whole “NASDAQ 100” set of instruments, I expect to get these 12 parameters outputted 100 times (i.e. once for each instrument).
However, this is not what happens ... Although I can see that the backtest runs successfully over all 100 "NASDAQ 100" stocks, only the 12 parameters for the first 16 instruments are output successfully to the Output window.
Can you suggest why this might be the case?
Am I running up against some "capacity" limit of the Output window in NT 6.5?
Thanks.
Comment