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 inanazsocial, Today, 01:15 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Jason  
        Started by rocketman7, Today, 02:12 AM
        0 responses
        10 views
        0 likes
        Last Post rocketman7  
        Started by dustydbayer, Today, 01:59 AM
        0 responses
        2 views
        0 likes
        Last Post dustydbayer  
        Started by trilliantrader, 04-18-2024, 08:16 AM
        5 responses
        23 views
        0 likes
        Last Post trilliantrader  
        Started by Davidtowleii, Today, 12:15 AM
        0 responses
        3 views
        0 likes
        Last Post Davidtowleii  
        Working...
        X