Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ES long and short trade from 2 diff strategies

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

    ES long and short trade from 2 diff strategies

    is it possible that ES can open a long and short trade seperately from 2 diff strategies. right now, a short order form strategy A is closing a long order Strategy B

    #2
    Hello kumaresh11,

    Yes, this is possible. NinjaScript strategies run independent from each other, so it should not close each other orders unless it has been coded in the strategy.

    Please see the thread at the link below for a similar inquiry.

    Comment


      #3
      Jason

      The link doesn't say any about how to submit Long and short at same time from 2 diff strategies. ATM strategy manages multiple targets with diff SL so that doesnt answer this question yet. Pl clarify

      Comment


        #4
        kumaresh11,

        Are you using ATMs or NinjaScript?
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I originally asked quest for Ninja script, and also like to know how do you do both ways Long/short in ATM strategy

          Comment


            #6
            Kumaresh,

            Your NinjaScript strategies will run independently of one another. You will have a net account position that is based off activity in both strategies. However, each strategy isn't aware of this and will act according to their own strategy position.

            Below are instructions for managing two virtual positions when using ATM:

            One of the great features of NinjaTrader is its ability to manage multiple virtual positions in the same market. This allows you to manage a long and short position in the same market simultaneously.
            Here is how this is accomplished:
            • Open 2 SuperDOMs and set them both to the same market
            • Right click in on of the SuperDOMs and select the menu "Properties"
            • Set the 'ATM Strategy selection mode' parameter to "DisplaySelectedAtmStrategyOnly"
            • Repeat the last two instructions on the second SuperDOM
            • Submit a buy order to open a long position in the first SuperDOM
            • Submit a sell order to open a short position in the second SuperDOM
            In addition to these instructions, I suggest reviewing the content available in our Online Help Guide specific to this topic.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            68 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            41 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            24 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            27 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            54 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X