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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        149 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        84 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        129 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        125 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        102 views
        0 likes
        Last Post CarlTrading  
        Working...
        X