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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        42 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        29 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        46 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Working...
        X