Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Uncertainty about timezone in my script

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

    Uncertainty about timezone in my script

    Hi,

    I'm using UTC+1 for my Time zone and I have downloaded my ES fututes historical data with this config on.

    I would like to be sure that when I use : new TimeSpan(16, 00, 0) in my script, it always related to 10:00 Eastern Time (UTC-5) the whole year around.

    I am just having a doubt about the potential impact of the Daylight saving time shift.

    Alternatevely, is there a way to use something like : "new TimeSpan(10, 00, 0).EST" in my script (keeping UTC+1 in my general config) to ensure the right timing of my strategy ?

    Thanks

    #2
    Hello Vincere,

    When you use times in NinjaScript that will correspond to the times you see on the chart, the chart times are converted to the timezone you have selected in the platforms options menu. You would want to use times that match the data that you downloaded if you are trying to check for a certain time on the chart. Whatever 10am eastern appears as on the chart would be what you need to make the timespan use.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    630 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    364 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    565 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    568 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X