Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to grab the previous week's High and Low from an Intraday chart

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

    How to grab the previous week's High and Low from an Intraday chart

    I'm working on 30min charts and I'd like to grab (and plot) the previous week High, Low and Close.
    How can I do that, working on 30min data?

    Thank you

    #2
    Hi stefy,

    You will want to use PriorDayOHLC(). To figure out which barsAgo you need to pass in to get the correct prior days' data you can use GetBar().
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    585 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    340 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