Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Order problems
Collapse
X
-
Hello Caconero,
Thanks for your post and welcome to the NinjaTrader forums!
The error messages are advising that the strategy tried to move the stop and that the move of the stop would have resulted in a rejected order because the stop was now above the current price.
If you are using the SetTrailStop() method then please note the following information in the help guide: "Trail stop orders are modified based on the strategies 'Calculate' settings. In the case of 'Calculate' on bar close, when the bar closes the trail stop order modification will occur using the lowest/highest price of the bar as the reference price to apply the trail offset. Subsequently if the open price of the next bar is significantly higher or lower than this price then there is a possibility that the calculated trail stop price is now an invalid stop price. This is a risk with modifying any stop order closer to the current market price since any modification above/below the current price would be rejected."
Here is the link to the SetTrailStop(): https://ninjatrader.com/support/help...ttrailstop.htm
Strategies generally run in the "Managed approach" and there are other considerations you may want to review, here is a link to the help guide: https://ninjatrader.com/support/help...d_approach.htm
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment