If this strategy was running live instead of being backtested, does NT block this order from going over the brokerage (MBT in my case) and give this error message or would the order go to the brokerage and come back with an order status of rejected?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Does stop order has been ignored error message get generated when trading live?
Collapse
X
-
Does stop order has been ignored error message get generated when trading live?
In backtesting a new strategy, I had the following error message in the log file “A SellShort stop order placed at '2/12/2010 1:00:00 AM' has been ignored since the stop price is greater than or equal to close price of the current bar. This is an invalid order and subsequent orders may also be ignored. Please fix your strategy.”
If this strategy was running live instead of being backtested, does NT block this order from going over the brokerage (MBT in my case) and give this error message or would the order go to the brokerage and come back with an order status of rejected?Tags: None
-
Thanks for the reply. Another question. I am testing this new strategy in NT7, where I can set up a mail alert. Is this error log message an alert type?
Comment
-
Creating mail alerts can be done in the strategy wizard. As one of your potential actions, you choose Misc > Send mail.
The message you received isn't part of an alert. You would have to work with Iorder objects and check that the state of your order has been rejected. This is assuming you want to create an email alert based on its status. If this isn't your intention let us know.
Ryan M.NinjaTrader Customer Service
Comment
-
From what I can tell, NT detected that the order was invalid and the OnOrderUpdate logic wasn't executed. OnOrderUpdate is where I check for the order state being rejected. Should I check for this state in the OnExecution section?
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment