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

Ticks in day - TimeZone problem

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

    Ticks in day - TimeZone problem

    Hi,

    I'm trying to count the number of ticks in a daily bar. I've 'Add'ed a tick data stream and can count that. The problem I'm having is that when you change your PC's timezone the count changes. Upon investigation, what I've discovered is that when you change your PC's timezone the daily data changes its date/time stamps to match, but the tick data doesn't change. Is there a way to get the 'Add'ed data stream (ticks) to change its timezone? Or some way of consistently lining up the two data streams, even when you change your PC timezone?

    Thanks

    #2
    bubblegum, the tick data would be stamped by NT as it's recorded / downloaded to the database - you cannot change this stamp by simply switching the PC's timezone. If you download a fresh set of data in the new target timezone, it should fit and be stored properly though.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand,

      Thank you very much. If I delete the NT data cache when switching my timezone then everything works perfectly.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ghoul, Today, 06:02 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by jeronymite, 04-12-2024, 04:26 PM
      3 responses
      44 views
      0 likes
      Last Post jeronymite  
      Started by Barry Milan, Yesterday, 10:35 PM
      7 responses
      20 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by AttiM, 02-14-2024, 05:20 PM
      10 responses
      180 views
      0 likes
      Last Post jeronymite  
      Started by DanielSanMartin, Yesterday, 02:37 PM
      2 responses
      13 views
      0 likes
      Last Post DanielSanMartin  
      Working...
      X