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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        50 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        16 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X