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 soon123, Today, 12:18 AM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by space_trader, Today, 12:52 AM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by ybhx0315, Yesterday, 09:06 PM
    0 responses
    20 views
    0 likes
    Last Post ybhx0315  
    Started by parkinsonbr, Yesterday, 08:23 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by fxRichard, Today, 04:35 AM
    2 responses
    14 views
    0 likes
    Last Post fxRichard  
    Working...
    X