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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    88 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    31 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    68 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X