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

EasyLanguage to NinjaScript

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

    Originally posted by RobinT View Post
    TimeZone

    I want to get the NYSE start time in local time.

    I use

    Bars.Session.GetNextBeginEnd(BarsArray[0], 0, out sessionBegin, out sessionEnd);

    in the OnStartUp()

    but the time varies depending on the UK summer time for the first bar on the chart.

    How do I get this information for today.
    I am not following what you mean here. The time on the chart will reflect your local time.

    Comment


      Originally posted by RobinT View Post
      One solution is to always have the chart in EST. How do do that? I use the US Equities RTH session.
      You would need to set your PC time to EST. NinjaTrader uses your local PC time zone and region.

      Comment


        yes, thats the problem. how do i get thechart in est?

        Comment


          Hello RobinT,

          Is the PC set to EST time?
          Please use the steps below to change/check your Time Zone and sync the PC clock:
          • Close NinjaTrader.
          • Open the Windows Control Panel
          • Select Date and Time
          • Press 'Change time zone...'.
          • Set the time zone and press 'OK'.
          • Click on Internet Time tab.
          • Set the server to time.nist.gov and then click Update.
          • Ensure to check for a message under the Update button that says it was successful.
          • If it did not properly sync, even after a few tries, try manually setting your PC clock and then syncing.

          Your PC clock should now be updated.

          Comment


            you have tochange the whole pc?

            cant you just make the chart est?

            Comment


              The PC's time zone would need to be changed. NinjaTrader uses the local PC time.

              Comment


                so you cant miix USS and UK stocks and time zones

                Comment


                  Originally posted by RobinT View Post
                  so you cant miix USS and UK stocks and time zones
                  That is correct, you cannot mix different time zones as NinjaTrader uses only the PC time zone.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by AttiM, 02-14-2024, 05:20 PM
                  11 responses
                  184 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by fernandobr, Today, 09:11 AM
                  1 response
                  3 views
                  0 likes
                  Last Post NinjaTrader_Erick  
                  Started by timmbbo, Today, 08:59 AM
                  1 response
                  3 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by KennyK, 05-29-2017, 02:02 AM
                  2 responses
                  1,281 views
                  0 likes
                  Last Post marcus2300  
                  Started by itrader46, Today, 09:04 AM
                  1 response
                  6 views
                  0 likes
                  Last Post NinjaTrader_Clayton  
                  Working...
                  X