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 NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X