Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
2 contract strategy - Stop moved to BE after first contract is filled
Collapse
X
-
2 contract strategy - Stop moved to BE after first contract is filled
I am using a fairly straight forward 2 contract ATM strategy for scalps. I set stop loses for both contracts and when the market hits +3 ticks the first contract locks in profit and the second contract moves to the stop to break even. The issue I am trying to solve is when the market hits +3 and does NOT fill the first contract, the second contract will have its stop moved to break even. How does one set up the trade so the trigger for the stop on the second contract does not happen until the first contract is filled? any help is appreciated.Tags: None
-
Hello Monkeyhammer,
Welcome to the NinjaTrader support forum.
I wanted to clarify your question. Are you asking about manually submitting ATM strategies or are you currently programming a NinjaScript strategy that uses ATM strategies?
ATM strategies, in general, are not capable of doing more logic than what the template builder displays, so extra steps such as waiting for a fill would not be possible. The events such as break-even would rely on the current price along with the values you enter in contrast to the average entry price. What you are asking about is possible in manual programming with NinajScript to base events on order fills.
I look forward to being of further assistance.
-
Thank you. You understand the question correctly. I am submitting ATM strategies - no scripts. I do not code. Is there a repository of scripts that might have something like this?
Comment
-
Hello Monkeyhammer,
I am unsure of a specific strategy that would do this exactly but you can look through the user app share at the various items that have been uploaded by other users. You can search the strategies here: https://ninjatraderecosystem.com/user-app-share/
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 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