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
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.Brandon H.NinjaTrader Customer Service
-
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.htmBrandon H.NinjaTrader Customer Service
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.
Brandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
4 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
12 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
13 views
0 likes
|
Last Post Yesterday, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,982 views
3 likes
|
Last Post
by jhudas88
Yesterday, 06:59 PM
|
Comment