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

Strategy Builder two instruments not work always

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

    #16
    Hello Jesse.

    Are you specifically expecting that the entry will happen on both instruments at the exact same time, one entry per script? Yes Jesse i wish in both strategys entrys in the same time with conditions in SPY.in both,

    In realtime you may see that one instrument has slower or faster data which could result in different fills.The fills is no my problem, The time for the fill yes. In ExitEs entry one bar late

    can you tell me what primary series is being used for each strategy? One minute in both Strategys

    I annex two charts

    Chart SPY with Strategy ExitSPY, you can see entry bar 9.32

    Chart ES with Strategy ExitES you can see entry bar 9.33. I wish entry in 9.32

    Please i must wrong my code in ExitES but i try differents ways and can not solved.

    Regards
    Attached Files

    Comment


      #17
      Hello walter739,

      If you are trying to have the strategies submit at exactly the same time that would be a situation where using a single strategy would be better for that use case. A multi series strategy can submit to a specific instruments so you could submit two orders at the same time without having to deal with differences in processing by adding additional series. You may still see the fill with some spacing depending on the current market and when the order is filled. As these are separate instruments we should not in general expect identical fills except for in historical data where processing is a guaranteed order. There is information about this concept in the following link: https://ninjatrader.com/support/help...ionInformation

      I look forward to being of further assistance.

      JesseNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by traderqz, Today, 12:06 AM
      10 responses
      18 views
      0 likes
      Last Post traderqz  
      Started by algospoke, 04-17-2024, 06:40 PM
      5 responses
      46 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by arvidvanstaey, Today, 02:19 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Zachary  
      Started by mmckinnm, Today, 01:34 PM
      3 responses
      5 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by f.saeidi, Today, 01:32 PM
      2 responses
      9 views
      0 likes
      Last Post f.saeidi  
      Working...
      X