"Unhandled exeption has occurred in a component in your application."
I get this exeption every time I set chart type "Volume" and save my workspace then trying to load it.
Steps to reproduse:
1. Open NT8 with default workspace open new chart and set type to Volume
2. Save workspace with custom name
3. Restart NT
trace fragment:
2016-12-04 04:49:19:721 OS='Microsoft Windows NT 6.1.7601 Service Pack 1'/'Win32NT'
2016-12-04 04:49:19:730 Processors=4
2016-12-04 04:49:19:730 PhysicalMemory=16384 MB
2016-12-04 04:49:19:730 .NET/CLR Version='4.0.30319.42000'/64bit
2016-12-04 04:49:19:730 SqlCeVersion='4.0.8482.1'
016-12-04 04:49:20:599 SuperDomHotKeys: Center='' Columns='' Indicators='' ReloadAllHistoricalData='Ctrl+Shift+R' ReloadNinjaScript='F5'
2016-12-04 04:49:20:599 OrderEntryHotKeys=disabled
2016-12-04 04:49:20:599 AutoClose=disabled
2016-12-04 04:49:20:922 PrimaryMonitorWPFDPIScale=1.00
2016-12-04 04:49:23:478 Starting server message polling timer with interval 3600 seconds...
2016-12-04 04:49:23:725 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
at NinjaTrader.Data.Bars.GetClose(Int32 index)
at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
2016-12-04 04:49:23:736 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
at NinjaTrader.Data.Bars.GetClose(Int32 index)
at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
2016-12-04 04:49:23:821 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
at NinjaTrader.Data.Bars.GetClose(Int32 index)
at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
2016-12-04 04:49:24:340 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
at NinjaTrader.Data.Bars.GetClose(Int32 index)
at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
2016-12-04 04:54:26:246 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
at NinjaTrader.Data.Bars.GetClose(Int32 index)
at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
2016-12-04 04:54:34:665 Gui.Chart.ChartPanel.OnRender: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
at NinjaTrader.Data.BarsSeries.GetClose(Int32 index)
at NinjaTrader.Data.Bars.GetClose(Int32 index)
at NinjaTrader.Gui.Chart.ChartScale.CalculateMinMax()
at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax()
at NinjaTrader.Gui.Chart.Direct2DForm.RenderInit()
Thanks
Comment