NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 08-24-2008, 10:41 PM   #1
tradefaz
Senior Member
 
Join Date: Aug 2008
Posts: 109
Thanks: 0
Thanked 0 times in 0 posts
Default How can you detect a close?

MB Trading shuts down for 10 minutes every night. I have a position that seems to get closed (it says Exit on Close). I'd like to re-open it after the ECN "reopens" again.
tradefaz is offline  
Reply With Quote
Old 08-24-2008, 11:08 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Exit on Close is what happens if you have that strategy property set at true. It basically flattens your position at the end of the trading day. If you do not wish this to be true you can set Exit on Close to be false.
NinjaTrader_Josh 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
how to detect (eliminate) holidays? Lost Trader Strategy Development 6 06-09-2011 03:08 AM
Close... funk101 SuperDOM and other Order Entry Windows 1 10-30-2007 07:21 AM
Detect inflection point in MACD.Diff twas2007 Strategy Development 2 10-18-2007 12:51 PM
Problem with close[0] and close[1] recentrage Indicator Development 4 07-19-2007 08:55 AM
Is there a way to detect what fractal is used? FireFly General Programming 3 04-29-2007 11:41 PM


All times are GMT -6. The time now is 10:04 AM.