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 sidlercom80, Today, 02:40 AM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by b16_aln, Today, 01:52 AM
    0 responses
    14 views
    0 likes
    Last Post b16_aln
    by b16_aln
     
    Started by junkone, Yesterday, 08:55 PM
    2 responses
    13 views
    0 likes
    Last Post junkone
    by junkone
     
    Started by adaeiqendqw, 01-16-2021, 02:56 AM
    1 response
    17 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by [email protected], Yesterday, 06:10 PM
    5 responses
    17 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Working...
    X