Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to superimpose indicators in a higher time frame to a chart in lower time frame?
Collapse
X
-
Hello simonhy,
Thank you for posting in the NinjaTrader support forums.
Before we continue, I wanted to check are you trying to program an indicator to do this specific situation or are you asking how to generally apply indicators in this way from the user interface?
If you are programming this, your indicator will need to add weekly data and utilize that in its logic in order to be able to apply to any type and display this. If you mean from the chart and not in terms of programming, you can add a second data series to the chart to base the indicator on.
Can you clarify if you are trying to program this or do this manually?
I look forward to being of further assistance.
-
Hi Jesse, thanks for your prompt reply! I meant not by coding but by from chart. can u help tell what are the procedures? thanks!Originally posted by NinjaTrader_Jesse View PostHello simonhy,
Thank you for posting in the NinjaTrader support forums.
Before we continue, I wanted to check are you trying to program an indicator to do this specific situation or are you asking how to generally apply indicators in this way from the user interface?
If you are programming this, your indicator will need to add weekly data and utilize that in its logic in order to be able to apply to any type and display this. If you mean from the chart and not in terms of programming, you can add a second data series to the chart to base the indicator on.
Can you clarify if you are trying to program this or do this manually?
I look forward to being of further assistance.
Comment
-
Hello simonhy,
Thanks for the clarification, I have moved this post from the programming forums to the Technical support forums.
To do this, you would create a second data series in the chart and then use that for the indicators input series. You can use the following steps:- From a chart, right click and choose Data Series
- Add the two series, so daily and weekly.
- Click OK and now right click and choose Indicators
- Add the indicator to the weekly series
- Once you click apply, you will see two series and one indicator calculating off of the weekly.
- To overlay it on the daily, you can click and drag the indicators plot and drop it over the primary series, you can also use the indicator's menu to change the Panel that the indicator is set to use to move it.
I look forward to being of further assistance.
Comment
-
Thx Jesse! It works! Would you mind sharing with me how to do this using coding too? thx!Originally posted by NinjaTrader_Jesse View PostHello simonhy,
Thanks for the clarification, I have moved this post from the programming forums to the Technical support forums.
To do this, you would create a second data series in the chart and then use that for the indicators input series. You can use the following steps:- From a chart, right click and choose Data Series
- Add the two series, so daily and weekly.
- Click OK and now right click and choose Indicators
- Add the indicator to the weekly series
- Once you click apply, you will see two series and one indicator calculating off of the weekly.
- To overlay it on the daily, you can click and drag the indicators plot and drop it over the primary series, you can also use the indicator's menu to change the Panel that the indicator is set to use to move it.
I look forward to being of further assistance.
Comment
-
Hello simonhy,
In coding, this is going to relate to what type is being used. A Strategy by nature will have an easier way to display this than an indicator would but you can do this in either type.
The general approach from an Indicator would be to replot this value. This entails that you use AddDataSeries in the script and add your weekly series. Then from the primary series BarsInProgress you could Plot the value of the indicator from the second series or:
From a strategy, rather than re-plotting the value you can just use AddChartIndciator if you wanted to just add this visually. You would still need AddDataSeries as well:Code:if(BarsInProgress == 0) { Value[0] = EMA(BarsArray[1], 20)[0]; }
Code:AddChartIndciator(EMA(BarsArray[1], 20));
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
563 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
329 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment