Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

2 Strategies with the same order names

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

    2 Strategies with the same order names

    If I run 2 separate strategies on the same instrument and both use the same entry, exit, order names will cancel order calls from strategy 1 interfere with strategy 2 or are they completely isolated?

    Thanks

    #2
    Wont. as it is refer to two strategy now.
    To be saved, just clarify the order as private, then everything should be goes well.

    Comment


      #3
      If you dont believe, you can tried in historical data

      or else.
      if you have customise your strategy, you can enable 2 same strategy with different input which will produce 2 different output, and you will see the result

      Comment


        #4
        In stead of worrying what i mentioned is correct / wrong, why dont you tried it in your side, and you will definitely get the answer

        Comment


          #5
          Hello mlprice12,

          Thanks for your post.

          Using the same order names would not be an issue as the order names are link/tied to the strategy instance being used, thus making them unique from the other instance.

          Running two strategies on the same instrument and the same account can cause conflicts as each will run independent of the other (strategy position) but there can only be one account position.
          Please see: https://ninjatrader.com/support/help..._account_p.htm

          As member cincai suggested, testing, on your sim account, will give you a better feel for what will actually happen.

          Paul H.NinjaTrader Customer Service

          Comment


            #6
            Thanks for the help both of you.

            Just to be clear on the account position topic.

            If I want to achieve the following example,
            In most cases, a trader would want their Strategy Position’s size and market direction to be equal (in sync) to their Account Position, but there are situations when this may not be the case.

            For example:


            •You want to run multiple strategies in the same market simultaneously where strategy A holds a LONG 1 position, strategy B holds a LONG 2 position resulting in an account that should hold a LONG 3 position in order to be in sync with both strategies
            All I do is set start behavior to flat and DON'T Synch?

            Comment


              #7
              Hello mlprice12,

              Thanks for your reply.

              In general, we do not recommend running more than one strategy on the same instrument with the same account but the capability is there. We highly recommend testing on a sim account to best understand what can happen with your specific strategy logic.

              The start behavior relates to each strategy independently and does not relate specifically to the account position but rather to the strategy position of the strategy. In the case of wait until flat, if a strategy has taken a position on historical data when it reaches real-time data, the strategy cannot trade until that last historical position is closed in the real-time data according to the strategy logic employed. Once close the strategy will then issue real time orders. Reference: https://ninjatrader.com/support/help...eStrategiesTab

              Paul H.NinjaTrader Customer Service

              Comment


                #8
                So no special instructions need to be made for ninjatrader to run 2 strategies in the same market in the same direction?

                Comment


                  #9
                  Hi mlprice12,
                  The general recommendation is to consolidate your strategies into one, if you plan to trade the same instrument with the same account.
                  You can enable multiple strats for the same instrument / same account in parallel without sync, but please keep in mind that you will have to re-enable the strats (sooner than you might perhaps imagine) although you have open positions (lost internet connection, forced broker disconnect, etc.). Not being able to sync the strats after such event can result in huge trouble, particularly if you plan fully automated (unattended) trading. I'd recommend to play around with a paper account for a while (not a SIM account) and see what happens, before even considering to trade the same instrument on the same live account via several strats, at your own risk.
                  NT-Roland

                  Comment


                    #10
                    Thanks Roland I appreciate the feedback

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by funk10101, Today, 09:43 PM
                    0 responses
                    6 views
                    0 likes
                    Last Post funk10101  
                    Started by pkefal, 04-11-2024, 07:39 AM
                    11 responses
                    37 views
                    0 likes
                    Last Post jeronymite  
                    Started by bill2023, Yesterday, 08:51 AM
                    8 responses
                    44 views
                    0 likes
                    Last Post bill2023  
                    Started by yertle, Today, 08:38 AM
                    6 responses
                    26 views
                    0 likes
                    Last Post ryjoga
                    by ryjoga
                     
                    Started by algospoke, Yesterday, 06:40 PM
                    2 responses
                    24 views
                    0 likes
                    Last Post algospoke  
                    Working...
                    X