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 Rogers101, 05-05-2024, 11:30 AM
        3 responses
        21 views
        0 likes
        Last Post Rogers101  
        Started by nightstalker, 05-04-2024, 02:05 PM
        5 responses
        53 views
        1 like
        Last Post nightstalker  
        Started by MSerag, Yesterday, 11:52 PM
        0 responses
        9 views
        0 likes
        Last Post MSerag
        by MSerag
         
        Started by DynamicTest, Yesterday, 11:18 PM
        0 responses
        3 views
        0 likes
        Last Post DynamicTest  
        Started by dcriador, Yesterday, 01:43 AM
        3 responses
        21 views
        0 likes
        Last Post dcriador  
        Working...
        X