Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 claxxical, 05-30-2017, 12:30 PM
|
38 responses
4,479 views
0 likes
|
Last Post
by alancurry
Today, 01:27 PM
|
||
Started by mintos, 04-02-2024, 08:22 PM
|
5 responses
33 views
0 likes
|
Last Post Today, 01:19 PM | ||
Started by Felix Reichert, 04-26-2024, 02:12 PM
|
10 responses
69 views
0 likes
|
Last Post Today, 11:56 AM | ||
Started by PaulMohn, 04-24-2024, 03:49 AM
|
4 responses
37 views
0 likes
|
Last Post
by PaulMohn
Today, 11:54 AM
|
||
Started by lightsun47, Today, 11:37 AM
|
1 response
12 views
0 likes
|
Last Post Today, 11:45 AM |
Comment