Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Getting Opening Price

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

    Getting Opening Price

    Hi,

    Is it possible to get in the middle of a trading day the opening price for that day, so I can calculate the % move from the open?

    Tx in advance!

    #2
    Hello,

    Thanks for the forum post.

    Yes the best way to do this is to get the indicator value from the following indicator.




    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Originally posted by NinjaTrader_Brett View Post
      Hello,

      Thanks for the forum post.

      Yes the best way to do this is to get the indicator value from the following indicator.




      Let me know if I can be of further assistance.

      I tried

      CurrentDayOHL().Opens[1][0];

      Did not work

      Comment


        #4
        Hello calhawk01,

        Thank you for your post.

        You need to use this syntax: CurrentDayOHL(IDataSeries input).CurrentOpen[int barsAgo]

        So it would be CurrentDayOHL(BarsArray[1]).CurrentOpen[0].

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X