![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: May 2007
Location: Italia
Posts: 62
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Yes it is possible. Please check out this reference sample http://www.ninjatrader-support.com/v...ead.php?t=3917
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
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.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bug: Order stuck in Pending state with trailing stop. | shawnj | ATM Strategies (Discretionary Trading) | 1 | 10-31-2007 04:00 PM |
| Removing pending/active order tabs from charts | crazyhorse2393 | Charting | 3 | 09-07-2007 06:57 AM |
| NT6 crashes when I cancel a pending order in control center ... | funk101 | General Programming | 1 | 05-01-2007 08:41 AM |
| Order Pending Logic | Oli | Automated Trading | 12 | 04-02-2007 03:13 AM |
| OIF - Cancel a Pending Order | underground | Automated Trading | 2 | 03-13-2005 05:35 AM |