Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Automatic Stop Loss to Breakeven setup sought
Collapse
X
-
Automatic Stop Loss to Breakeven setup sought
I am trading 2 contracts. I want them both to have a SL of say 40. The 1st one has a TP of 60. The second one has a TP of 80. How do I set it up so that IF the first TP is hit, the 2nd contract Automatically moves to Break-even. Appreciate your help.Tags: None
-
Hello OldGuard60,
This would be achieved with logic to change the price of the stop exit order. The trigger price for the breakeven action would be set to the same distance as the limit profit target order.
Below is a link to an example created with the Strategy Builder.
As well as a link to an examples of unlocked strategies that modify the exit stop price.
I'm also providing a link to a support article with helpful resources on getting started with C# and NinjaScript.
Note, you'll want to set EntriesPerDirection to 2 to allow 2 entry orders.
Chelsea B.NinjaTrader Customer Service
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
199 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
365 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
283 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment