Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question about multiple timeframes

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

    Question about multiple timeframes

    Hello:
    My question is about multiple timeframes.
    Let's say there are 2 timeframes - Weekly and Daily
    Suppose I want to create a strategy where screen one is true when MACD on higher timeframe turns positive, and where screen two is true when ADX on lower timeframe is greater than 30.
    What would I need to do.
    Also, is there a way to make the timeframes variable... so instead of Weekly/Daily, it is a 15 min/5 min timeframe

    #2
    It is all possible. To work with multiple time frames first read http://www.ninjatrader-support.com/H...ameInstruments.

    To make the time frames variable you would simply need to code user selectable parameters. Be careful when you code though. The first time frame will always be whatever time frame the chart which you loaded the strategy onto is set at. If you want your strategy to work regardless of what time frame the chart/strategy analyzer is on and just solely based on your user inputs you should probably add two more time periods to your strategy. You would negate the first time period (the chart's time period) from all calculations in this instance.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by gemify, 11-11-2022, 11:52 AM
    6 responses
    803 views
    2 likes
    Last Post ultls
    by ultls
     
    Started by ScottWalsh, Today, 04:52 PM
    0 responses
    3 views
    0 likes
    Last Post ScottWalsh  
    Started by ScottWalsh, Today, 04:29 PM
    0 responses
    7 views
    0 likes
    Last Post ScottWalsh  
    Started by rtwave, 04-12-2024, 09:30 AM
    2 responses
    22 views
    0 likes
    Last Post rtwave
    by rtwave
     
    Started by tsantospinto, 04-12-2024, 07:04 PM
    5 responses
    70 views
    0 likes
    Last Post tsantospinto  
    Working...
    X