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 DannyP96, 05-18-2026, 02:38 PM
    1 response
    83 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    143 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    83 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    256 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    334 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X