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 andrewtrades, Today, 04:57 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by chbruno, Today, 04:10 PM
        0 responses
        5 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        7 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X