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 hurleydood, 09-12-2019, 10:45 AM
|
14 responses
1,093 views
0 likes
|
Last Post Today, 06:53 AM | ||
Started by cre8able, Yesterday, 04:16 PM
|
1 response
14 views
0 likes
|
Last Post Today, 06:49 AM | ||
Started by cre8able, Yesterday, 04:22 PM
|
1 response
13 views
0 likes
|
Last Post Today, 06:44 AM | ||
Started by stafe, 04-15-2024, 08:34 PM
|
5 responses
28 views
0 likes
|
Last Post Today, 06:42 AM | ||
Started by StrongLikeBull, Yesterday, 04:05 PM
|
1 response
12 views
0 likes
|
Last Post Today, 06:34 AM |
Comment