Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plot the value of a higher timeframe indicator?
Collapse
X
-
Plot the value of a higher timeframe indicator?
Is it possible to retrieve the output value of an indicator running on a different timeframe? As an example, my primary series is a ES 1 second chart - what I would like to do is plot the value of an indicator, e.g. an ADX(14) running on ES 5 minute bars, on the 1 second chart, so that the 5 min indicator value is plotted and updated with every second bar. My reasoning is to capture and better visualize the intrabar moves of the indicator value within the forming 5 minute bar with more granular detail on the 1 second chart. Could I access the 5 min indicator value by making a public Series<double> in the #region Properties section?
Tags: None
-
Hello JBTrader2005,
Thanks for your post and welcome to the Ninjatrader forums.
If you are wanting to see this on a chart, then you can accomplish your goal by adding a 5 minutes data series to the 1 second chart and then add the ADX by assigning it to the 5 minute data series. To get the current value displayed of the ADX indicator, you would set its calculate mode to Calculate.OnPriceChange in the settings of the indicator. Here is a screenshot that shows the 1 second bars, the 5 minute bars and the ADX based on the 5 minute bars:
If you do not want to see the 5 minute bars, you can hide them by setting the bars (colors) to transparent and in the same panel as the 1 second bars, this leaves the 1 second bars visible and the ADX based on the 5 minute bars. Here is a screenshot:
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
581 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
338 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
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment