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

Date/Time for bars

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

    Date/Time for bars

    What time is the Time[0] value? Is it the exchange time or the local computer's clock? My guess is it's the local time.

    I would like to have two random computers always in sync as far as bar date/time. Or is that impossible since each copy of NT that's running will have a different Time[0] for its bars even if both charts are set up the exact same?


    Thanks!
    Bryan
    cassb
    NinjaTrader Ecosystem Vendor - Logical Forex

    #2
    It's tied to the local set PC clock, you can also use DateTime.Now

    If you sync both clocks regularly and use the same feed, it should be pretty close.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      It's tied to the local set PC clock, you can also use DateTime.Now

      If you sync both clocks regularly and use the same feed, it should be pretty close.
      For clarification, it is converted to local time however, it may or may not be the time stamp from the data source.

      Off the top of my head,

      eSignal
      Zen-Fire
      Barchart
      DTNiQ

      Provide time stamps thus, we don't locally time stamp it, just convert it. You would need to check with those providers where their time stamp comes from.
      RayNinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_Ray View Post
        For clarification, it is converted to local time however, it may or may not be the time stamp from the data source.

        Off the top of my head,

        eSignal
        Zen-Fire
        Barchart
        DTNiQ

        Provide time stamps thus, we don't locally time stamp it, just convert it. You would need to check with those providers where their time stamp comes from.
        OK, thanks Ray. Still working on some custom indicators to help sell your software! :-)
        cassb
        NinjaTrader Ecosystem Vendor - Logical Forex

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by llanqui, Yesterday, 03:51 PM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by kujista, Yesterday, 12:39 AM
        5 responses
        18 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by nleitman, Yesterday, 11:46 AM
        9 responses
        28 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by cmtjoancolmenero, 04-25-2024, 03:58 PM
        18 responses
        105 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Mindset, Yesterday, 06:19 AM
        2 responses
        15 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X