Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simultaneous long/short ATM strategy

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

    Simultaneous long/short ATM strategy

    I need the simple way to create a script that coincides with the ATM system. I have an ATM that I would like to enter on the same tick at the same time. The first side of the ATM strategy is bullish, and the second ATM strategy is bearish. They should enter at the same time.

    It's impossible to enter these ATMs at the same time on the same tick. Can someone post a script that would allow me to drop these in simultaneously?

    Much appreciated

    #2
    Hello OathMark1,

    Thank you for writing in. If you enter long and then short with atm strategies, your long stop loss/profit target will likely disappear and you will end up in a flat position with a short stop loss and a short profit target outstanding.

    Could you please elaborate on exactly what you are trying to accomplish by this? For example, what would you expect to have concerning your position and your open orders if you entered the way you are describing?

    This information will help me to provide you with a more informed answer.
    Michael M.NinjaTrader Quality Assurance

    Comment


      #3
      It's as simple as can be. It's exactly like you think without thinking much about it.

      On the long side the profit target and stop are equal ticks from the entry.

      On the short side the profit target and stop are equal ticks from the entry.

      The short side's stop is where the long side's target is, and the long side's stop is where the short side's target is.

      And the stops on both long and short sides reverse when triggered. (Not important to you)

      Also there is a runner left on each side after the profit target is hit. (Not important to you)

      The only questions are can I hold the short and long position at the same time, and can I get a script that drops them both in at the same time and price?

      You may want to just draw it on a piece of paper the way I described and the way I described before.

      Comment


        #4
        Hello OathMark1,

        Thanks for your reply.

        Regrettably this would not be possible within one strategy.

        Comment


          #5
          Because the script can't be tied to the ATM, or because short and long positions can't be held on the same brokerage or is it the same platform? Lead me to see.

          Comment


            #6
            Hello OathMark1,

            Thanks for your post.

            You cannot be both long and short in the same strategy.

            Comment


              #7
              Is that because the platform doesn't allow it, or is it the brokerage?

              Comment


                #8
                Hello OathMark1,

                Thank you for your response.

                An automated strategy cannot be both long and short in NinjaTrader. This is due to one position being maintained in the strategy.

                In reality there is no true way to go both long and short on one instrument on one account. It's just not something that can be done.

                You would need two strategies, one trading long and one trading short. Keep in mind the account they are both trading would not be both long and short. So if your short strategy was short 1 and your long strategy was long 1, your account would be flat.

                Please let me know if you have any questions.

                Comment


                  #9
                  Should I set up a second account?

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  633 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  364 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  105 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  567 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  568 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X