Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Globex High/Low

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

    Globex High/Low

    I know there is a function for finding today's high/low, but is there a way to calculate the globex (pre/post market) high/low for a futures contract?

    Thanks

    #2
    Hi rsi77, unfortunately there is no predefined method for getting the Globex session High / Low values. However you can user a combination of CurrentDayOHL and PriorDayOHLC to get those. Just set your chart session then to the Globex session hours.

    Comment


      #3
      So you mean change the session hours in the middle of a strategy? I want the globex H/L at the same time I have yesterday's regular session's H/L, and today's (regular session) H/L. What would be the most elegant way to code the H/L for a given time period?
      Thanks

      Comment


        #4
        If you need the info in a strategy for reference, then you want to save those values into variables in your code to use them afterwards.

        This reference sample should give you some coding ideas - http://www.ninjatrader-support2.com/...ead.php?t=8600

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        264 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        168 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        171 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        257 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        209 views
        0 likes
        Last Post CarlTrading  
        Working...
        X