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.
    Emily C.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DeskTroll, Today, 12:09 PM
    3 responses
    22 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by Pabulon, 12-02-2024, 03:42 PM
    14 responses
    90 views
    0 likes
    Last Post Pabulon
    by Pabulon
     
    Started by tfa2806trader, Today, 12:04 PM
    10 responses
    25 views
    0 likes
    Last Post tfa2806trader  
    Started by trdninstyle, 11-26-2024, 12:23 PM
    62 responses
    186 views
    0 likes
    Last Post trdninstyle  
    Started by lorien, 08-08-2021, 07:33 AM
    12 responses
    721 views
    0 likes
    Last Post AndyM871  
    Working...
    X