![]() |
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: Jul 2008
Posts: 34
Thanks: 0
Thanked 0 times in 0 posts
|
My strategy that I'm working on produces a bunch of Ignored PlaceOrder() errors in the Output Window when TraceOrders = True. I can't figure out what is causing them.
The errors are: Ignored PlaceOrder() method at .... Action=Buy OrderType=Stop .... Reason="Invalid order price, see log tab". My log tab is completely blank. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Likely you have some filters enable on your Log tab, right click to check.
This error means that you have submitted a buy stop price with an invalid price. An invalid price is one where the stop price <= then the close price of the same bar.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Jul 2008
Posts: 34
Thanks: 0
Thanked 0 times in 0 posts
|
I have EnterShortStop and EnterLongStop orders to buy in the middle of the bar (it should not wait until close). So, for backtesting, it sounds like this could be normal? The close will happen much later than the buy or sell.
Thanks.
Last edited by paco99; 08-10-2008 at 10:31 AM.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Clearing the output window | nybangali | Strategy Development | 6 | 02-24-2013 01:48 PM |
| Output Window Not Obvious | KBJ | Suggestions And Feedback | 11 | 01-12-2011 02:56 PM |
| Output window | funk101 | Strategy Development | 7 | 07-12-2010 01:35 PM |
| Using the script output window | SuzyG | General Programming | 5 | 12-02-2006 04:01 AM |
| Using the script output window | SuzyG | Automated Trading | 2 | 12-31-1969 06:00 PM |