Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adjusting the open/close time of 240 min (4hr) candles

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

    Adjusting the open/close time of 240 min (4hr) candles

    Hello,
    Anyone know how/if the open/close of 240 minute (4hr) candles can be adjusted? On all my other platforms the opens are 1:00, 9:00, 13:00, 17:00, 21:00 but NT opens at midnight and runs 1 hour behind. I am in the EST time zone.

    Thanks

    #2
    Welcome to the forums!

    NinjaTrader uses end of bar timestamps. Note that some platforms use beginning of bar timestamps.

    Then, timestamps are translated to the timezone that is set in the Control Center's Tools > Options > General menu.

    Let us know if you have any additional questions.
    JimNinjaTrader Customer Service

    Comment


      #3
      So how do I change it so the 4hr candles open or close at 1:00am instead of midnight?
      Last edited by rossitronic; 08-09-2022, 09:55 AM.

      Comment


        #4
        Hello rossitronic,

        Each instrument's trading hours would vary, but if we consider:
        • using Default 24 x 7 which ends at midnight and uses EST as the timezone
        • setting the platform timezone to EST (UTC - 5)
        will have the 480 minute bar stamped at midnight.

        If we consider:
        • using Default 24 x 7 which ends at midnight and uses EST as the timezone
        • setting the platform timezone to Atlantic time (UTC - 4)
        The timestamp of the bar will be 1:00AM.

        (After changing timezones, be sure to clear historical data from the historical data window, and then clear your bar cache Documents\NinjaTrader 8\db\cache\ since changing the timezone does not change the existing bar history. Once complete, you can restart the platform.)

        If you instead want to change the timezone or the start / end times of the the Trading Hours template, you could copy the Default 24/7 template and modify either of those properties.

        Working with Trading Hours templates - https://ninjatrader.com/support/help...urs_window.htm
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by vickisb, Today, 12:59 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by synthhokie, Today, 12:08 PM
        4 responses
        12 views
        0 likes
        Last Post synthhokie  
        Started by admiralpanda, 02-23-2024, 01:24 AM
        5 responses
        36 views
        0 likes
        Last Post s1r9i7d5har  
        Started by xiinteractive, Today, 12:03 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by NRITV, Today, 10:56 AM
        4 responses
        11 views
        0 likes
        Last Post NRITV
        by NRITV
         
        Working...
        X