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
Creating multiple time periods in Strategy Builder
Collapse
X
-
Hello greg6622,
Thanks for your post and welcome to the NinjaTrader forums!
Yes, you can add other time frames to the strategy builder and can use those as inputs to indicators that you can then use as conditions.
Basically, in the "Additional data" page, you would add the other data series (do not add the data series on the chart as that is already used). If I understand your example you have a 5 minute chart and what to access a 60 minute time frame so in that case, you would only need to add the 60-minute bars. Once you click "add" you would check "use primary instrument" and then change the default 1-minute to your 60-minute bar. In the conditions builder, you would select the MACD indicator and change the "input series" to be the 60 minute bars.
Here is a short video I made the other day where there is a 5-minute chart, adding 60-minute bars in the strategy builder and using those to check the RSI value on the 60-minute bars, so this should be very close to what you want to do: https://Paul-ninjaTrader.tinytake.co...NV8xMDg3NzUyMQPaul H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, Yesterday, 09:53 PM
|
1 response
13 views
0 likes
|
Last Post Today, 07:06 AM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Yesterday, 07:51 PM
|
1 response
12 views
0 likes
|
Last Post Today, 06:59 AM | ||
Started by kaywai, Today, 06:26 AM
|
1 response
6 views
0 likes
|
Last Post
by kaywai
Today, 06:35 AM
|
||
Started by ct, 05-07-2023, 12:31 PM
|
6 responses
206 views
0 likes
|
Last Post
by wisconsinpat
Today, 06:29 AM
|
||
Started by kevinenergy, 02-17-2023, 12:42 PM
|
118 responses
2,780 views
1 like
|
Last Post
by kevinenergy
Today, 05:41 AM
|
Comment