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 arvidvanstaey, Today, 02:19 PM
|
4 responses
10 views
0 likes
|
Last Post Today, 04:08 PM | ||
Started by samish18, 04-17-2024, 08:57 AM
|
16 responses
56 views
0 likes
|
Last Post
by samish18
Today, 03:30 PM
|
||
Started by jordanq2, Today, 03:10 PM
|
2 responses
8 views
0 likes
|
Last Post
by jordanq2
Today, 03:23 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
47 views
0 likes
|
Last Post Today, 02:36 PM |
Comment