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.JesseNinjaTrader Customer Service
-
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.JesseNinjaTrader Customer Service
Comment
-
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:
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.
JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by geddyisodin, Today, 05:20 AM
|
1 response
11 views
0 likes
|
Last Post Today, 07:38 AM | ||
Started by Max238, Today, 01:28 AM
|
3 responses
32 views
0 likes
|
Last Post
by Max238
Today, 07:36 AM
|
||
Started by timko, Today, 06:45 AM
|
2 responses
13 views
0 likes
|
Last Post Today, 07:30 AM | ||
Started by habeebft, Today, 07:27 AM
|
0 responses
6 views
0 likes
|
Last Post
by habeebft
Today, 07:27 AM
|
||
Started by Tim-c, Today, 03:54 AM
|
1 response
8 views
0 likes
|
Last Post Today, 07:26 AM |
Comment