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

More than one strategy assigned to a single instrument

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

    More than one strategy assigned to a single instrument

    Can more than one strategy be assigned/started for a single instrument? Will the orders from those strategy be kept seperate? My order tab does not show the name of the strategy in "Strategy ID" field that caused the order to be placed?

    Thanks,

    Sami

    #2
    >> Can more than one strategy be assigned/started for a single instrument?
    yes

    >> Will the orders from those strategy be kept seperate?
    yes

    >> My order tab does not show the name of the strategy in "Strategy ID" field that caused the order to be placed?
    It holds the strategy name for orders on ATM strategies but not NS strategies

    Comment


      #3
      My issue is with NS strategies. I have started three different strategies from Strategy tab and assigned to a single instrument ($EURJPY). The orders from these strategies are conflicting with each other. If I get a buy signal from one strategy a long position is opened but if the other strategy kicks out a short signal, the sell order from this strategy cancel the previously opened long positon and I get end up with flat position.

      If it is possible to run multiple NS strategies on a single instrument, what changes I need to make to the code?

      Thanks,

      Sami

      Comment


        #4
        The behaviour you described is expected. You can run separate strategies on on a single instrument but they are truly independant. StrategyA can be long 1, and then StrategyB can be short1 resulting in a net flat position in your actual account.

        If you want to run multiple strategies that are dependant on each other, where if one is long any signals in other strategies should be ignored, this is NOT supported.

        You could code all your strategies in one strategy so that they are dependant.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by maybeimnotrader, Yesterday, 05:46 PM
        3 responses
        23 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by adeelshahzad, Today, 03:54 AM
        5 responses
        32 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by stafe, 04-15-2024, 08:34 PM
        7 responses
        32 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by merzo, 06-25-2023, 02:19 AM
        10 responses
        823 views
        1 like
        Last Post NinjaTrader_ChristopherJ  
        Started by frankthearm, Today, 09:08 AM
        5 responses
        23 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Working...
        X