Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two strategies in the same asset

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

    Two strategies in the same asset

    Hello,

    When I put two strategies in the same asset, ninjatrader mixes the names and/or de sl/tp.

    I suppose/think/guess that is because the function that open the operation has the same name and/or because both strategies open with a limit order and/or the variable with the name of the operation is the same.

    Any ideas?

    Thank you and greetings!

    #2
    Hello Barrenas,

    Thank you for your note.

    This is expected as the database will treat each order as it's own and not an exit or entry directly. If you want to view the strategy performance based on it's entries and exits alone please right click on the strategy on the Strategies tab and select Strategy Performance > Real-Time.

    Please let me know if you have any questions.

    Comment


      #3
      The problem happens real time, with the platform working. One strategy enters an order and takes the sl of the other preexistent order or close the previous one and enter another order in the same direction... The strategies work fine on their own, but if I mix them, a lot of disasters happen.

      Comment


        #4
        It happened again, and I am seeing that it always happen in the candle where the first strategy SL is (or should be).

        In this candle, sometimes the strategy executes an SL for an order that sometimes it doesn't even exist and the other strategy enters (even it shouldn't) in the opoisite direction.

        Comment


          #5
          Originally posted by Barrenas View Post
          When I put two strategies in the same asset ...
          What does this mean, exactly?

          Are you adding 2 strategies to the same chart window?

          Comment


            #6
            Exactly, It can't be done?

            Comment


              #7
              Well, aren't you causing yourself confusion unnecessarily?

              Why not create 2 chart windows, load same instrument into each,
              and start just one strategy in each window?
              Last edited by bltdavid; 02-11-2016, 07:18 PM.

              Comment


                #8
                Originally posted by Barrenas View Post
                Exactly, It can't be done?
                I presume, yes, it can be done. I mean, NinjaTrader does not stop you from doing it.

                But, I never do it.

                I don't want to confuse myself unnecessarily.

                Comment


                  #9
                  Originally posted by Barrenas View Post
                  Exactly, It can't be done?
                  Regarding my "confusion" remark ...

                  The other thing to consider, how is your strategy naming the entry and exit signals for your trades?

                  I mean, something simple like "long1" or "short2" means that both strategies might be using the same names for their trades, even if the entry prices are different. Is that your case?

                  Anyways, this is one reason I have one strategy per chart window.

                  Comment


                    #10
                    Hello!

                    The names aren't the same, but I'm gonna try your solution.

                    Thank you so much!

                    Comment

                    Latest Posts

                    Collapse

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