Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plots on panel below the price panel ?
Collapse
X
-
Plots on panel below the price panel ?
With "AddPlot()" it's possible to plot values on the same panel as the prices. However, I would like to plot values on the panel below the price panel. Yes, this is easily done using an indicator, but I'd like to do this from within the strategy script. Is this possible? If so, how?Tags: None
-
Last edited by NinjaTrader_ChelseaB; 01-17-2023, 11:04 AM.
-
Well, your link got me to a "Page Not Found". Anyway, doesn't AddChartIndicator require an indicator ?
Comment
-
Ok, so again, is it possible to plot to an "indicator" panel (ie, not the price panel, but the panel below the price panel) values generated from within a strategy?
Comment
-
Hello spottysallrite,
Yes, absolutely. The indicator added with AddChartIndicator() adds the indicator to its own panel. The strategy sets values and the hosted indicator plots those values from the strategy.
This is exactly what the reference sample is demonstrating.
May I confirm you have tested the script and reviewed the code and found this to be inadequate for your needs?Last edited by NinjaTrader_ChelseaB; 01-17-2023, 12:10 PM.Chelsea B.NinjaTrader Customer Service
Comment
-
Ok, I've implemented that code and have gotten an "indicator" plot (thanks !). At first glance, the values displayed there were as expected. Then, upon closer inspection, when comparing those values against those on the Output, I found those were not always the same. Yes, some times they were the same, but some times not. I haven't been able to discern any pattern as to when they are in sync and when they are not.
So, do you have any suggestion as to how it could be that the values produced by the strategy would not be the same as those that are plotted? I mean, "PanelPlot[0] = Mnt_SMI;" should work, right? And that's set and printed within the same 1' ES bar. The values I see on the plot can be wildly different from those.Last edited by spottysallrite; 01-17-2023, 11:54 PM.
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
56 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
132 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
73 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment