Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Timezone handling

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

    Timezone handling

    I have a really hard timezone issue. I distributed a strategy to another time zone, but it was not working properly because it had a dependency on my timezone. I then had the idea to change the clock on one of my PCs to simulate the problem so I could fix it. Well now I'm really confused because the bar entries don't seem to show up on the right bar. What I'm wondering is if the historical data is still in the old timezone prior to the PC clock change, and that has something to do with the problem?

    #2
    Hi tradetree,

    NinjaTrader will always reference the PC clock for time. So all historical data will have your time zone.

    If you change your PC's time zone, you will need to reload the historical data so that it gets time stamped with the correct time.
    (Right-click chart -> select Reload All Historical Data)


    Regarding the strategy, this should reference the PC time...
    Meaning that I am not quite certain the time zone issue you are having. Can you elaborate on this?
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Klaus Hengher, Yesterday, 03:13 AM
    2 responses
    15 views
    0 likes
    Last Post Klaus Hengher  
    Started by Sebastian - TwinPeaks, Yesterday, 01:31 PM
    2 responses
    13 views
    0 likes
    Last Post Sebastian - TwinPeaks  
    Started by wbennettjr, 07-15-2017, 05:07 PM
    16 responses
    2,530 views
    1 like
    Last Post eladlevi  
    Started by Human#102, Yesterday, 09:54 AM
    2 responses
    8 views
    0 likes
    Last Post Human#102  
    Started by Patlpp, 08-16-2021, 03:10 PM
    10 responses
    499 views
    0 likes
    Last Post Joerg
    by Joerg
     
    Working...
    X