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 XXtrader, Yesterday, 11:30 PM
        2 responses
        11 views
        0 likes
        Last Post XXtrader  
        Started by Waxavi, Today, 02:10 AM
        0 responses
        6 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        11 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        6 views
        0 likes
        Last Post elirion
        by elirion
         
        Working...
        X