![]() |
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
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2007
Posts: 388
Thanks: 0
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Please check out the TraceOrders debugging feature here: http://www.ninjatrader-support.com/v...ead.php?t=3627
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Aug 2007
Posts: 90
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Nov 2007
Posts: 388
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the reply, but that's not what it is...
|
|
|
|
|
|
#5 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
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.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Nov 2007
Posts: 388
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the reply, that might be it, I'll have to check further...
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |