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 bortz, 11-06-2023, 08:04 AM
      47 responses
      1,602 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      8 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      4 views
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      12 views
      0 likes
      Last Post Javierw.ok  
      Working...
      X