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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
78 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment