Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Exit Stops
Collapse
X
-
Exit Stops
I am having an issue with a stop order. Basically on 1 bar I am sending a stop using ExitShortStop(), but I am also sending a limit order entry. On the next bar I get filled on both orders, however the stop order only exits the number of contracts I was holding the previous bar. How can I make it exit the contract it entered on the current bar as well?Tags: None
-
SystemTrading,
You need to amend your stop order to include the new position. You really need to be mindful of race conditions here too. Whichever order gets filled first is finished. You couldn't amend the stop if it already filled before you entered on your limit.Josh P.NinjaTrader Customer Service
-
I have added order amendments for all stop orders under the OnExecution() method. However it is still not working properly. The limit order is being filled before the stop, but the stop is still exiting all except for the entry that took place on that bar.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment