"Error on running backtest: Object reference not set to an instance of an object."
Usually, when I get an error in backtesting it doesn't show a message box, it just outputs the error to the Log tab in Control Center, and it will usually say where it happened, like on OnBarUpdate() or something.
But this is happening immediately when I run the backtest and there's no indication where in the code this is happening. There seems to be a deeper problem. I put try/catch statements all around code and none of them are firing.
If I have an object set to null that I try to use, the error is just displayed in the Log, not a message box popup. I think it's something outside of my strategy code.
Has anybody else experienced this?
I am running with NT 7.0.1.30
I have restarted NT and reboot my machine and I still get the same result.
See attached screenshots.
Comment