Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 GetBar != NT8 Bars.GetBar???

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

    NT7 GetBar != NT8 Bars.GetBar???

    Hi,
    I have nt7 running on one machine and nt8 running on another. I have a chart open for ES on both machines with identical settings.
    In an indicator I have working in nt7, I call GetBar with a date
    '10/16/2015 7:15:00 AM'.
    The return value is 28 as I expected.
    If I do the exact same thing with NT8 I get a return value of 158.
    What am I missing?

    Curiously, it just so happens that in NT8, if I take CurrentBar - Bars.GetBar, I get the desired (matching nt7) result of 28.
    Is this just a coincidence? Or is this expected behavior?

    Anyhow, I need some guidance here.
    Thanks ... Ed


    #2
    Hello edstaffin,

    Thank you for your inquiry.

    I am unable to reproduce this on my end.

    Please ensure that both NinjaTrader 7 and NinjaTrader 8 are loading the exact same amount of bars.

    As a test, open an ES 12-15 daily chart with a days to load setting of 10 and an end date for today, 10/21/2015.

    Both should output 7 for your GetBar() output.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      I'll do the test and get right back to you.
      Are you using b5 or b6? I, obviously, am using b5.
      Thanks ... Ed

      Comment


        #4
        Hello edstaffin,

        I am currently testing this on Beta 5.
        Zachary G.NinjaTrader Customer Service

        Comment


          #5
          Ed are you in live or playback? And which playback?

          I can try later on in playback-mr

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          650 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          370 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          109 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          574 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          577 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X