Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
ExitLong() does not cancel Stop/Target?
Collapse
X
-
ExitLong() does not cancel Stop/Target?
So My strategy trails a stop below a certain MA but also has an exit signal when a faster MA crosses it. When the position is exited by the MA exit via the ExitLong() function the associated stop order is not canceled along with it. Is there a way to resolve this? I did not see a cancel all orders function or anything to that effect in the manual.Tags: None
-
Originally posted by NinjaTrader_Ray View PostWhat information do you use to confirmt that the stops/targets are not cancelled? Are the stops/targets being submitted by SetStopLoss() and SetProfitTarget()?
The stop is being submitted as a SetStopLoss().
I know the exit does not cancel the stop from trading simulation of the strategy.
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