Thanks for your reply.
The easiest way to find the error would be to use Visual Studio and have the debugger break when the exception happens.
See this video I made earlier on how to set up NinjaTrader for Visual Studio debugging:
Here is the help guide page on the subject as well:
Run the script after attaching visual studio to the NinjaTrader.exe process and wait for the exception to occur. You should see Visual Studio stop at the line where the exception occurs.
Please let me know if I can assist any further.
Comment