Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access a Previous day/day(s) bar value

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

    Access a Previous day/day(s) bar value

    is it possible to access a previous days value of the same bar?

    example.

    Say Minute bars are being used and the current bar is 8:15am
    I want to access yesterdays volume value at 8:15am

    Is there a simple way of achieveing this?

    If so what about the days prior to yesterday e.g. 1 week previous.

    Thanks in advance

    Mark

    #2
    markyb0y,

    Yes, this would be possible and very easy to do given you know the exact time of the value in bar you are looking for.

    Please see our NinjaScript Tip on Referencing the correct bar:

    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

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