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 > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 01-31-2008, 08:55 PM   #1
Burga1
Senior Member
 
Join Date: Nov 2007
Posts: 388
Thanks: 0
Thanked 0 times in 0 posts
Default Odd "Close Position"

Hi,

I notice on some historical back-testing I'm doing that short trades seem to be randomly exited for no apparent reason. They are not being closed by any strategy exit and/or StopLoss orders...the chart reads "Close Position" at the exit point when this occurs. I have no idea what is causing this. It just seems completely random. I've commented out all my possible strategy exit/StopLoss sets to try and narrow it down but it doesn't change anything. Has anybody experienced this behaviour before?

Thanks in advance.
Burga1 is offline  
Reply With Quote
Old 02-01-2008, 05:30 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Please check out the TraceOrders debugging feature here: http://www.ninjatrader-support.com/v...ead.php?t=3627
NinjaTrader_Dierk is offline  
Reply With Quote
Old 02-01-2008, 05:12 PM   #3
CashCache
Member
 
Join Date: Aug 2007
Posts: 90
Thanks: 0
Thanked 0 times in 0 posts
Default

Burga1,

Check to see if the order is being closed at the end of your session. If ExitOnClose is set to true, your strategy will close any open positions at the end of your session.

Hope this helps...

-Scott
CashCache is offline  
Reply With Quote
Old 02-01-2008, 07:41 PM   #4
Burga1
Senior Member
 
Join Date: Nov 2007
Posts: 388
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks for the reply, but that's not what it is...
Burga1 is offline  
Reply With Quote
Old 02-02-2008, 12:47 AM   #5
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

If you are submitting reversal orders there will be a trade labeled as "Close position" which will first bring your position to flat before you reverse your position.
NinjaTrader_Josh is offline  
Reply With Quote
Old 02-02-2008, 09:20 AM   #6
Burga1
Senior Member
 
Join Date: Nov 2007
Posts: 388
Thanks: 0
Thanked 0 times in 0 posts
Default

Thanks for the reply, that might be it, I'll have to check further...
Burga1 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
Strategy order with name "Close Position" ThePatientOne Strategy Development 30 09-03-2010 12:16 PM
Multi Instrument "Close" price syntax ct Strategy Development 2 06-09-2007 10:54 AM
Multiple Simultaneous Trades at "Exit on Close" With Setting "1 Entry Per Direction&q KBJ Strategy Analyzer 1 04-27-2007 05:34 AM
Control center "strategies" tab, "Positions tab, and "Market Analyzer" not funk101 Strategy Development 6 04-10-2007 03:44 AM
Where do I enter "close at time" values? dberliner SuperDOM and other Order Entry Windows 1 11-02-2006 06:39 AM


All times are GMT -6. The time now is 04:27 PM.