Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

GetBars Daily timeframe returns data for next date

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

    GetBars Daily timeframe returns data for next date

    I used GetBars() to give me 200 days of data to calc a proper SMA.
    When I do that the values turn out to be the values that a Daily chart shows for the next date.

    So I get a closing price for AUDUSD from DailyBars:
    21-10-2010 0:00 .97715
    and on the daily chart that is the close of 22-10-2010

    Did I just found the holy grail or how should I interprete the GetBars() outcome?
    Oh yes, I know GetBars is not supported. But I would still like to know as there is no other way of finding a correct SMA200 for daily on a short timeframe chart.

    Maybe somebody knows how to properly address this GetBars.

    #2
    Clint, can you just subtract a day from the GetBars() result to get the correct day?
    AustinNinjaTrader Customer Service

    Comment


      #3
      I can sure add a day to match GetBars date with the Daily charts day. But I would really like to know how it is supposed to work. I can guess that this might work, need to check realtime though. But NT must have had a meaning, other than frustrating me, to store it differently and then I would like to know about it. The helpfile is of no use for this.

      Comment


        #4
        This is an unsupported method, and that is why there is no documentation available.
        AustinNinjaTrader Customer Service

        Comment


          #5
          cant say for sure but it can be a sessions manager issue (particularly true if you not from the US).

          check this link http://www.ninjatrader.com/support/f...ad.php?t=31877

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          582 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          338 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X