![]() |
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 |
|
Senior Member
Join Date: Dec 2008
Posts: 118
Thanks: 0
Thanked 0 times in 0 posts
|
In my strategy, I have placed a long position and I am in.
Then I placed a limit order to exit when the Close touches the limit price. It did not get filled, I subsequent change the higher price for my limit order. What I observe is that the limit order is not execute at all. Eventhough the command is execute in the code (Because I echo print what I execute in the alert window). Has anyone have such an experience? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Please rerun the strategy with TraceOrders = true and see if you spot the cause of this.
You can also try putting in directly GetCurrentBid / GetCurrentAsk as limit price.
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Enter limit order but convert it to market order end of bar | maxpi | Strategy Development | 3 | 05-07-2009 05:57 PM |
| Limit order question? | ju1234 | Strategy Development | 3 | 11-24-2008 07:15 AM |
| Timed Limit order | madhav_ab | Strategy Development | 1 | 11-19-2008 07:37 AM |
| The Convert limit order to market order | HelloHello | Automated Trading | 0 | 08-17-2007 02:10 PM |
| Submit Limit Entry Order and Stop Loss Order at same time? | aspTrader | Miscellaneous Support | 2 | 10-04-2006 02:40 AM |