What I'm trying to do is, once a position reaches a certain level of profit, I want to cancel the setstoploss and then use the settrailstop. Any ideas?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
SetTrailStop & SetStopLoss question
Collapse
X
-
SetTrailStop & SetStopLoss question
I understand from the documentation that you cannot use SetStopLoss will take precidence over SetTrailStop. Is there anyway to cancel a SetStopLoss order and then set a SetTrailStop?
What I'm trying to do is, once a position reaches a certain level of profit, I want to cancel the setstoploss and then use the settrailstop. Any ideas?Tags: None
-
Unfortunately this is not possible.
If you are an experienced programmer, what is possible with NT6.5 is to use the new OnOrderUpdate() method to submit your stop as soon as the entry is filled and then modify yourself.
See the following reference sample - http://www.ninjatrader-support.com/v...ead.php?t=3917
Beta 6.5 will be re-released tomorrow here - http://www.ninjatrader-support.com/v...9265#post19265RayNinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
51 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
142 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
160 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
96 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
275 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment