Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Noncontiguous data points in a plot
Collapse
X
-
Noncontiguous data points in a plot
is there a way to have interupted points in a plot i.e. add a point on bar 1, and another at bar 5, at bar 7, etc, and have these point values appear in the databox?Tags: None
-
Hello love2code2trade,
Thanks for your notes.
To clarify, are you referring to only assigning values to a plot during certain conditions, otherwise a value is not assigned to the plot?
If so, the Plot value will be visible in the Data Box window when a value is added to the plot. On bars where no value is added to the plot, the plot will show as "n/a" in the Data Box window.
For example, say you assign a value to the plot of bar 1 so the plot displays on the chart on bar 1. Say on bar 2 no value is assigned to the plot and the plot does not display on the chart on bar 2.
When you hover your mouse over bar 1, the plot value in the Data Box will display as the assigned value. When you hover your mouse over bar 2, the plot value in the Data Box will display as "n/a" since no value was assigned to the plot on that bar.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
-
Brandon, thankyou for your reply. Is there a way to make the plot values connect to the next plot value if there are gaps where plots were not added in between?
Comment
-
Hello love2code2trade,
Thanks for your notes.
You would need to assign the value to the plot on each bar update if you want the plot value to appear in the Data Box window for each bar.
Otherwise, the plot will return 'n/a' in the Data Box window.
AddPlot(): https://ninjatrader.com/support/help...t8/addplot.htm
Value: https://ninjatrader.com/support/help.../nt8/value.htm<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
is there a way to get the points to connect across the gaps when the type of plot is a line? so far it has not worked.
Comment
-
Hello love2code2trade,
Thanks for your notes.
If you were to assign a value to the plot on each bar update then the plot line would be shown on all bars and the plot value would appear in the Data Box window.
So I may accurately assist, please share an screenshot of what exactly you are referring to and a screenshot showing what you are trying to accomplish.- To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
- Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.
<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
597 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment