• 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 asmmbillah, Today, 02:23 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by steveg, Today, 02:44 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Heath  
    Started by BatBart, Today, 01:24 PM
    1 response
    12 views
    0 likes
    Last Post Jonsey529  
    Started by lightsun47, Today, 12:33 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by Woomera, Today, 12:21 PM
    2 responses
    9 views
    0 likes
    Last Post Woomera
    by Woomera
     
    Working...
    X