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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X