Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EasyLanguage to NinjaScript

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

  • NinjaTrader_PatrickH
    replied
    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.

    Leave a comment:


  • RobinT
    replied
    so you cant miix USS and UK stocks and time zones

    Leave a comment:


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

    Leave a comment:


  • RobinT
    replied
    you have tochange the whole pc?

    cant you just make the chart est?

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    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.

    Leave a comment:


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

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    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.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    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.

    Leave a comment:


  • RobinT
    replied
    One solution is to always have the chart in EST. How do do that? I use the US Equities RTH session.

    Leave a comment:


  • RobinT
    replied
    the problem is that from 3/12//16 for two weeks the time difference is 6 hours instead of the normal 5 hrs.

    Leave a comment:


  • RobinT
    replied
    I put it in firstbarof session ok.

    but I need it for currentbar = 1 as I am trying to do some calculations on the data before the day starts.

    Leave a comment:


  • RobinT
    replied
    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.

    Leave a comment:


  • NinjaTrader_Brandon
    replied
    Hello RobinT,
    Thanks for writing in.
    You cannot send just a custom session. You would need to send your entire database file which includes the following and would replace these items for the other user.
    ATM Strategy templates, Session templates, Instrument Lists / Custom Instruments, historical trade execution data, and various other NinjaTrader things
    The database file is named ninjatrader.sdf and is located under Documents\NinjaTrader 7\db
    There is not an option to exclude holidays in NinjaTrader 7. This feature has been added to NinjaTrader 8.

    Leave a comment:


  • RobinT
    replied
    also, how do you set a chart not to display holidays. I have a big space from yesterday.

    Leave a comment:


  • RobinT
    replied
    I use a special session template (which is NYSE hours plus 1 minute). How do I send that template and where I can I find it?

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by kinfxhk, 07-14-2026, 09:39 AM
0 responses
129 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 10:18 AM
0 responses
105 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 09:50 AM
0 responses
87 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 07:21 AM
0 responses
106 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-11-2026, 02:11 AM
0 responses
86 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Working...
X