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 AaronKoRn, Today, 09:49 PM
|
0 responses
2 views
0 likes
|
Last Post
by AaronKoRn
Today, 09:49 PM
|
||
Started by carnitron, Today, 08:42 PM
|
0 responses
8 views
0 likes
|
Last Post
by carnitron
Today, 08:42 PM
|
||
Started by strategist007, Today, 07:51 PM
|
0 responses
9 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,975 views
3 likes
|
Last Post
by jhudas88
Today, 06:59 PM
|
||
Started by rbeckmann05, Today, 06:48 PM
|
0 responses
9 views
0 likes
|
Last Post
by rbeckmann05
Today, 06:48 PM
|
Comment