Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What s PriorDayOHLC().PriorLow[0];?

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

    What s PriorDayOHLC().PriorLow[0];?


    I'm having difficulty understanding which day PriorDayOHLC().PriorLow[0] resides on. From your help:

    double value = PriorDayOHLC().PriorLow[0];
    Print("The prior session low value is " + value.ToString());

    Would this print out the Low of Yesterday's session, or the current low so far generated by today's session?

    Thanks
    Last edited by timmbbo; 07-24-2023, 09:32 PM.

    #2
    Hello timmbbo,

    Thank you for your post.

    The PriorDayOHLC indicator provides information from the prior day/session. PriorDayOHLC().PriorLow[0] would provide the low of the previous session and not the low so far from today's session. If you would like to get the low so far from today's session, you could use the CurrentDayOHL indicator instead and get the value from CurrentDayOHL().CurrentLow[0]

    For more information, please see the following help guide pages:Additionally, you may view the source code for these indicators in the NinjaScript Editor window if you'd like.

    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    77 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X