NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > Application Technical Support > Automated Trading

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.

Reply
 
Thread Tools Display Modes
Old 03-27-2009, 07:31 PM   #1
GerTrader
Member
 
Join Date: Aug 2008
Posts: 38
Thanks: 0
Thanked 0 times in 0 posts
Default Exit on Close does not work

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?
GerTrader is offline  
Reply With Quote
Old 03-28-2009, 12:10 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

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
NinjaTrader_Ray is offline  
Reply With Quote
Old 03-28-2009, 02:49 PM   #3
GerTrader
Member
 
Join Date: Aug 2008
Posts: 38
Thanks: 0
Thanked 0 times in 0 posts
Default

Okay, thank you for this information.
GerTrader is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 07:50 AM.