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 f.saeidi, Today, 11:02 AM
                    1 response
                    2 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by geotrades1, Today, 10:02 AM
                    4 responses
                    12 views
                    0 likes
                    Last Post geotrades1  
                    Started by rajendrasubedi2023, Today, 09:50 AM
                    3 responses
                    16 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by lorem, Today, 09:18 AM
                    2 responses
                    11 views
                    0 likes
                    Last Post NinjaTrader_ChelseaB  
                    Started by geddyisodin, Today, 05:20 AM
                    4 responses
                    30 views
                    0 likes
                    Last Post geddyisodin  
                    Working...
                    X