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 CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        52 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        137 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        195 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        105 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        143 views
        0 likes
        Last Post cmoran13  
        Working...
        X