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, 05-11-2026, 05:56 AM
    0 responses
    52 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    29 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    194 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    355 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    274 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X