Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
StopLoss Total Position AND Trailing Stop?
Collapse
X
-
StopLoss Total Position AND Trailing Stop?
I'm trying to setup my strategy in such a way that if price immediately turns around and goes against me 30 ticks, I will get stopped out. However I would also like a trailing stop loss of 45 ticks. But when I try to set up both in the "Stops and Targets" tab, upon execution of my strategy, I don't have a trailing stop. Instead I only have the one stop loss. Is it possible to have both or am I doing something wrong? -
Hello Fness2020,
Thanks for your post.
The SetStopLoss() and SetTrailStop() cannot be used on the same order and if you do, as you observed, only the fixed SetStopLoss would function. From the help guide, "The SetTrailStop() method can NOT be used concurrently with the SetStopLoss() or SetParabolicStop() method for the same position, if any of methods are called for the same position (fromEntrySignal) the SetStopLoss() will always take precedence. You can however, use all three methods in the same strategy if they reference different signal names." https://ninjatrader.com/support/help...ttrailstop.htm
You can create your own trailing stop in the strategy builder that does not use the SetTrailStop(). Please see this thread for an example this: https://ninjatrader.com/support/foru...rategy-builder
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
54 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
72 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment