PDA

View Full Version : Delete Pending order


simone
11-21-2007, 12:48 AM
Dear sirs,
one question: is it possibile delete a pendind order?
Using unique entry in my strategy, after my condition, I would send 2 orders, for example one EnterLongLimit and one EnterLongStop; after, if one of these order go online, I would delete pending order and mantaining long position..Is it possible to do this?

Very Very Thanks
Best Regards

NinjaTrader_Josh
11-21-2007, 12:51 AM
Yes it is possible. Please check out this reference sample http://www.ninjatrader-support.com/vb/showthread.php?t=3917

NinjaTrader_Ray
11-21-2007, 06:58 AM
For clarification, with our upcoming NT 6.5, you will not be able to submit to entry orders to go live. This is to prevent situations where strategies are filled on both orders resulting in an unwanted position. You will be able to do this by running two strategies, once for long, the other for short, or to monitor for price thresholds and submit a market order.