• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Creating multiple time periods in Strategy Builder

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Creating multiple time periods in Strategy Builder

    Is it possible to create a strategy in the builder using multiple time periods? eg: if the 5 minute MACD is above zero and the 1 hour MACD is also above zero then buy one contract.

    #2
    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...NV8xMDg3NzUyMQ
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by dtl-saw, Today, 03:36 PM
    0 responses
    5 views
    0 likes
    Last Post dtl-saw
    by dtl-saw
     
    Started by williamzz, Today, 02:04 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by jtrading82, Today, 01:55 PM
    3 responses
    21 views
    0 likes
    Last Post NinjaTrader_Tyler  
    Started by StevenNelson, Today, 01:00 PM
    4 responses
    19 views
    0 likes
    Last Post StevenNelson  
    Started by allinthechart, Today, 12:21 PM
    0 responses
    8 views
    0 likes
    Last Post allinthechart  
    Working...
    X