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 NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment