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
Display Multiple timeframe DataSeries on the chart?
Collapse
X
-
Display Multiple timeframe DataSeries on the chart?
My indicator uses multiple timeframe data series (AddDataSeries inState.Configure). I would like to display the bars of one of them (minutes). Is there a way to show them, or add bars chart, which may be a different period type from the chart main, from the indicator?Tags: None
-
Hello Shai Samuel,
From code, there is currently no way to add another visual bar series to the chart in addition to the primary. I will put in a feature request for an overload for this.
The current options would include manually adding the series to that chart, this would be the only correct way to display other frequencies of data in addition to the primary series. Using the manually added series creates a new panel and correct scales for that data which is not completely locked to the primary.
You can use Plots to display prices from the added series or use OnRender to draw bars over the primary bars. Using either of these methods will allow you to display the data in custom ways but will only be a snapshot of the data at that time of the Primary Bars close. Because the primary series may not be a 1 minute series, the bars may not be identical which would cause gaps of data being omitted from the display, unlike a bar series that shows only increments of that timeframe.
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by chbruno, Today, 04:10 PM
|
0 responses
3 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
6 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
9 responses
127 views
1 like
|
Last Post
by caryc123
Today, 03:12 PM
|
Comment