Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get yesterday and day before yesterday close prices

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

    How to get yesterday and day before yesterday close prices

    Hi,

    On intraday time frame

    on bar update function

    I want to get yesterday and day before yesterday close prices?

    for example there are three days...10/11 10/10 and 10/09 I want to get close price for 10/10 and 10/09 on 10/11 how do that? Please advice.

    Thanks
    GM

    #2
    Hello GM,

    Thank you for your post.

    To pull the previous days closes you can use the PriorDayOHLC() indicator method. For information on the PriorDayOHLC() indicator please visit the following link: http://www.ninjatrader.com/support/h...r_day_ohlc.htm

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    478 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    319 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    257 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    341 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    308 views
    0 likes
    Last Post CarlTrading  
    Working...
    X