Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2 contract strategy - Stop moved to BE after first contract is filled

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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.

    Comment


      #3
      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


        #4
        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
        43 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        124 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        65 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        42 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        46 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X