Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
SampleStrategyPlot
Collapse
X
-
SampleStrategyPlot
My first attempt using indicator to plot data from a strategy running from Playback connection. As a test, downloaded and installed SampleStrategyPlot NT8.zip from ...helpGuides/NT8/samples. Created new chart ES 09-19 with one minute bars. From chart opened SampleStrategyPlot, SamplePanelPlot and SampleOverlayPlot. Confirmed all were loaded. Launched Playback connection. Error messages logged for bothSamplePanelPlot and SampleOverlayPlot state "Error on calling 'OnBarUpdate' method on bar 0: Object reference not set to an instance of an object." What have I missed?Last edited by jvanelli; 08-04-2019, 07:53 AM.Tags: None
-
8.0.18.0
To best of my recollection, I was loading and enabling the strategy prior to making the Playback connection, but with chart displayed and stationary (prior historical data). Now I think it should not even have been possible to launch the strategy without the Playback connection (i.e. no target account). So I am still confused but not pursuing it further because short odds are that I had something else botched, as I was trying things in too rapid succession. I was also switching back and forth between Playback and Continuum during the process, so it's even possible that I had the strategy enabled on Sim101 and did not realize. What I do know is that after your initial reply, I loaded the same chart, made sure the strategy was disabled, then started Playback, selected the appropriate account and after about five bars launched the strategy. It worked as expected.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
134 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment