![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2008
Posts: 38
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
i am trading automated strategies using NT and want them to close before the markets close. Therefore I set ExitOnClose = true and 30 seconds. However, it did not work. My question is, whether NT uses any actual time or my system time? Or can you please describe how this function works in general? |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
It works against actual PC time and the defined session end time of your strategy. For example...
- You run a strategy in a chart - Your chart session end time is 4 PM - You have Exit on close enabled set for 30 seconds - At 3:59:30 PM PC clock time it will trigger
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2008
Posts: 38
Thanks: 0
Thanked 0 times in 0 posts
|
Okay, thank you for this information.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exit on close - late | mikie2k2 | Strategy Development | 12 | 02-19-2009 02:35 PM |
| Exit on close | starrynight | Automated Trading | 12 | 01-15-2009 05:59 AM |
| Exit On Close | TraderGuy | Strategy Development | 15 | 01-07-2009 02:10 AM |
| Time to flatten vs. Exit on close | dtf139 | Automated Trading | 1 | 01-11-2008 07:11 AM |
| Exit On Close doesn't work fine | MrBaffalo | General Programming | 6 | 11-30-2007 06:18 AM |