• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Opening price for the day

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

    Opening price for the day

    Hi, how do I access the current day's opening price for a given instrument? thanks

    #2
    Hello FCatan,

    Thank you for your inquiry.

    You would be able to access the current day's open, high, and low values by utilizing the CurrentDayOHL() indicator method.

    Example:
    Code:
    Print(CurrentDayOHL().CurrentOpen[0]);
    For more information about CurrentDayOHL(), please take a look at the NinjaTrader help guide at this link: https://ninjatrader.com/support/help...nt_day_ohl.htm

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by benjamind10, Today, 07:27 PM
    0 responses
    4 views
    0 likes
    Last Post benjamind10  
    Started by YevhenShynkarenko, Today, 06:07 PM
    0 responses
    4 views
    0 likes
    Last Post YevhenShynkarenko  
    Started by StevenNelson, Today, 04:07 PM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by Matthew Spositi, Today, 03:28 PM
    2 responses
    8 views
    0 likes
    Last Post Matthew Spositi  
    Started by faisamtrader, Today, 01:30 PM
    2 responses
    21 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X