I need to "plot" private custom Series of different types without drawing anything on the chart because I use them to store on top of each bar some other data points or information beyond the standard OHLCV data.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Invisible Plots
Collapse
X
-
Invisible Plots
Can plots be defined as ones that do not draw lines on the charts beyond the apparent solution of assigning the transparent color?
I need to "plot" private custom Series of different types without drawing anything on the chart because I use them to store on top of each bar some other data points or information beyond the standard OHLCV data.Last edited by Gianpiero; 03-23-2024, 03:30 PM.Tags: None
-
Sounds like you don't need a 'plot' at all.
You just want the data the 'plot' maintains, right?
Well, just use a Series<double> (use whatever
data type you want) to maintain your own personal
data on a per-bar basis.
That is, just swap out double to be your own data
type, such as Series<bool> or Series<int>.
(Think of a 'plot' as an specially enhanced version of
a Series<double>, like a series on steriods, because
the 'plot' also has drawing information attached to it.)
These kinds of extra Series<> you define will have,
by definition, no plotting duties, no color, no brush,
no line width -- they only contain one piece of data
you assign, and only one per bar. These private
Series<> are rather basic, and, by definition,
already invisible to the chart.
Have you tried that?
- Likes 1
-
Hello Gianpiero,
Thanks for your post.
It seems like you might want to consider using a custom Series<double> as bltdavid has noted.
Values could be saved the the custom Series for each bar on the chart and you access those values by calling the Series object and passing in a barsAgo value. Custom Series would not plot on a chart.
See this help guide page for more information about Series objects: https://ninjatrader.com/support/help...t8/seriest.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
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
593 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
554 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment