Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
CandleStick OnRender Error
Collapse
X
-
CandleStick OnRender Error
2015-10-28 18:10:41:242|3|4|Chart style 'Candlestick': Error on calling 'OnRender' method: System.NullReferenceException: Object reference not set to an instance of an object. at NinjaTrader.Data.BarsSeries.GetClose(Int32 index) at NinjaTrader.Data.Bars.GetClose(Int32 index) at NinjaTrader.NinjaScript.ChartStyles.CandleStyle.On Render(ChartControl chartControl, ChartScale chartScale, ChartBars chartBars) at NinjaTrader.NinjaScript.ChartStyles.ChartStyle.Ren der(RenderTarget pRenderTarget, ChartControl chartControl, ChartScale chartScale, ChartBars chartBars)
Tags: None
-
I think i hit the same error type but with a different error message this morning.
Before connecting to my data provider my chart also had not all historical data properly loaded.
I got the following two errors in the log.
2015-10-28 08:44:52:651 ERROR: Indicator 'ATR': Error on calling 'OnBarUpdate' method on bar 2592: Object reference not set to an instance of an object.
2015-10-28 08:44:52:651 ERROR: Failed to call 'Add' method: Object reference not set to an instance of an object.
After connecting to my data provider the chart now has all historical data properly loaded and there were no errors.
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Perr0Grande, Today, 08:16 PM
|
0 responses
2 views
0 likes
|
Last Post
by Perr0Grande
Today, 08:16 PM
|
||
Started by elderan, Today, 08:03 PM
|
0 responses
3 views
0 likes
|
Last Post
by elderan
Today, 08:03 PM
|
||
Started by algospoke, Today, 06:40 PM
|
0 responses
10 views
0 likes
|
Last Post
by algospoke
Today, 06:40 PM
|
||
Started by maybeimnotrader, Today, 05:46 PM
|
0 responses
9 views
0 likes
|
Last Post Today, 05:46 PM | ||
Started by quantismo, Today, 05:13 PM
|
0 responses
7 views
0 likes
|
Last Post
by quantismo
Today, 05:13 PM
|
Comment