Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy time zone.

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

    Strategy time zone.

    Hello.
    My NT8 default time zone is Hong Kong time. Which is not changed all year.
    I want to develop the strategy for ES which is based on EST time and this time is moved one hour twice a year. How to set it up in the strategy?

    #2
    Hello Czarek,

    First, the ES future is traded on the Chicago Mercantile Exchange (CME) which is in Chicago which is Central Time Zone.

    Next, NinjaTrader uses your local PC Clock and converts the time of the exchange to your local time zone automatically for you.

    From my understanding, the daylight savings change will be adjusted automatically.

    Are you finding this is not the case using a comparison?

    One way would be to use some C# code and print your current time (DateTime.Now) or the time of the bar (Time[0]) to that time converted to another time zone.
    Below are public links to the microsoft documentation.
    https://docs.microsoft.com/en-us/dot...een-time-zones
    https://docs.microsoft.com/en-us/dot...ramework-4.7.2

    And you could compare that with another computer using that time zone setting with the pc clock to ensure everything is being converted correctly.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X