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 fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,404 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    95 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    8 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    159 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    8 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X