The setup works fine with historical data but freezes when connected to live data.
This issue has been tested multiple times.
Once the chart freezes, NinjaTrader can only be terminated via Task Manager.
Here are the error messages from the log:
| 8/2/2024 9:13:33 PM | Default | Error in realtime market data handling: System.NullReferenceException: Object reference not set to an instance of an object. |
| 8/2/2024 9:13:30 PM | NinjaScript | Chart rendering failed. There is likely a problem with a chart object's OnRender method. D2D error = 'HRESULT: [0x88990001], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_WRONG_STATE/WrongState], Message: The object was not in the correct state to process the method. |
After terminating the NinjaTrader process, breakpoints in Visual Studio stop working, necessitating a reinstallation of NinjaTrader or both NinjaTrader and Visual Studio.
A video demonstrating the issue: https://mega.nz/file/pTwnRYRZ#Qia05s...1s6awyBYHgKvjk
NT8.1.3.1 64-bit
Windows 10 Pro, i7-6850K, RAM 64 GB, SDD with enough space, good inet speed.

Comment