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 trilliantrader, 04-18-2024, 08:16 AM
|
5 responses
22 views
0 likes
|
Last Post Today, 12:32 AM | ||
Started by Davidtowleii, Today, 12:15 AM
|
0 responses
3 views
0 likes
|
Last Post
by Davidtowleii
Today, 12:15 AM
|
||
Started by guillembm, Yesterday, 11:25 AM
|
2 responses
9 views
0 likes
|
Last Post
by guillembm
Yesterday, 11:58 PM
|
||
Started by junkone, 04-21-2024, 07:17 AM
|
9 responses
68 views
0 likes
|
Last Post
by jeronymite
Yesterday, 11:51 PM
|
||
Started by mgco4you, Yesterday, 09:46 PM
|
1 response
12 views
0 likes
|
Last Post Yesterday, 09:56 PM |
Comment