Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
General question about use of order entry/exit and SetStopLoss/SetTrailStop
Collapse
X
-
General question about use of order entry/exit and SetStopLoss/SetTrailStop
Let me start by explaining what I am trying to do and then how I believe I can implement it. My strategy places an entry order at a given point. After market entry, I want to place a fixed stop loss order. If the market moves in my direction (say 10 ticks), I would like to change my fixed stop loss order to a trailing stop order. I would like to use the SetStopLoss() and SetTrailStop() methods, but as I read the documentation this cannot be done: “The SetStopLoss() method can NOT be used concurrently with the SetTrailStop() method for the same position, if both methods are called for the same position (fromEntrySignal) the SetStopLoss() will always take precedence. You can however, use both methods in the same strategy if they reference different signal names.” I do not want to use them concurrently, I would like to cancel the SetStopLoss() order and replace it will the SetTrailStop() orders. I believe that my only option is to let the strategy handle the needed orders. That is, place a fixed stop order that gets cancelled when the market condition calls for the SetTrailStop() method. Am I correct, or is there a better way?Tags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
60 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
148 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
284 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment