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 hdge4u, 04-29-2024, 12:23 PM
    5 responses
    28 views
    0 likes
    Last Post MisterTee  
    Started by llanqui, 01-25-2024, 06:15 PM
    9 responses
    64 views
    0 likes
    Last Post MisterTee  
    Started by tradingnasdaqprueba, 05-07-2024, 03:42 AM
    16 responses
    65 views
    0 likes
    Last Post tradingnasdaqprueba  
    Started by Vulgoth_t_Destroyer, 05-09-2022, 04:45 PM
    55 responses
    5,458 views
    0 likes
    Last Post BartMan
    by BartMan
     
    Started by DawnTreader, 05-08-2024, 05:58 PM
    16 responses
    52 views
    0 likes
    Last Post DawnTreader  
    Working...
    X