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 NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
62 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
134 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment