Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-time frame question

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

    Multi-time frame question

    Hi NT team

    I have a multi-time frame strategy on one instrument. The primary bar is 1 Day, and I add a second time frame 5 Minutes. I only would like to start during a particular intraday time.

    if (BarsInProgress == 1 && CurrentBar > 0)
    {
    if ( ToTime(Times[1][0]) >= 100000)
    {// Do something;}
    }

    My question is:
    If I set the primary bar to minutes (i.e. 60 Minute), then the strategy works, if I set the primary bar to 1 Day, it does not.

    Backtests seem to work also on 1 Day bars, but not in real-time trading. What is the problem?

    Please help. Thank you,
    whotookmynickname

    #2
    Hi whotookmynickname,

    Thank you for posting.

    How many days back are you loading on the chart?

    When you first set the strategy, what is the minimum bars required are you setting?

    What instrument(s) are you working with?
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    368 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    571 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X