Thank you in advance
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Why the Stops are not being honored?
Collapse
X
-
Why the Stops are not being honored?
I'm running the strategy and setted a StopLoss of 10 ticks and also a stop when the price crosses below the SAR again, but is only being stopped when the price crosses the SAR and the Stop of 10 ticks don't, how can I fix that?
Thank you in advance1 PhotoTags: None
-
Hello jeremy83846,
This depends on the code logic in the strategy.
If you are submitting market orders when either exit condition is true, I would expect the logic and the market order to exit on either condition.
If you are attempting to use SetStopLoss, there will only be one stop loss per order / signal name.
If you are using Exit methods, its not advised to use multiple exit orders on the same entry. Instead, the first exit order should be cancelled before a different exit order is submitted. (This would prevent both orders from filling and reversing the position)
If you are using the unmanaged approach, the entries and multiple exits could be using OCO which should be fine.Chelsea B.NinjaTrader Customer Service
-
-
Hello jeremy83846,
It general it is not advised to use multiple exits for the same entry.
However, are you finding that the condition to exit is evaluating as true?
Use prints to ensure that condition set 2 is evaluating as true.
Below is a link to a forum post that demonstrates using prints to understand behavior.
If you print the time stamp in the action block of Set to, at what times do you see the prints appear?Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
131 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
74 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
117 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
111 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
89 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment