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 bortz, 11-06-2023, 08:04 AM
          47 responses
          1,605 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          8 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          18 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Started by Jon17, Today, 04:33 PM
          0 responses
          4 views
          0 likes
          Last Post Jon17
          by Jon17
           
          Started by Javierw.ok, Today, 04:12 PM
          0 responses
          13 views
          0 likes
          Last Post Javierw.ok  
          Working...
          X