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 kujista, Today, 06:23 AM
    4 responses
    14 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by traderqz, Yesterday, 09:06 AM
    2 responses
    16 views
    0 likes
    Last Post traderqz  
    Started by traderqz, Today, 12:06 AM
    3 responses
    6 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by RideMe, 04-07-2024, 04:54 PM
    5 responses
    28 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by f.saeidi, Today, 08:13 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X