Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Optimizing MultiInstrument Strategy in Strategy Analyzer

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

    Optimizing MultiInstrument Strategy in Strategy Analyzer

    Hi I have a MNQ MultiInstrument strategy that runs OnBarClose with several different time frame instances of ES 03-25 added via AddDataSeries

    Two Questions:

    1)
    When I try to run the Strategy Analyzer on it, it runs but never produces any results.

    Is there anyway to run the Strategy Analyzer on this kind of strategy?

    2)
    If I change the instrument added with AddDataSeries to the same instrument as the primary, but on a different time frame, can it be used with the Strategy Analyzer?

    I tried this, and i"m sure it worked one time, but now I can't get it to work.


    thanks for your help

    #2
    Hello ntcoder256,

    You can use that type of strategy in the analyzer, if it produced no results that likely means the conditions to trade did not become true. You can use print statements to debug the script in that use case.

    You can also use multi instrument strategies in the analyzer. I would suggest starting off by using a Print to verify your conditions to trade are becoming true.

    Comment


      #3
      Originally posted by NinjaTrader_Jesse View Post
      Hello ntcoder256,

      You can use that type of strategy in the analyzer, if it produced no results that likely means the conditions to trade did not become true. You can use print statements to debug the script in that use case.

      You can also use multi instrument strategies in the analyzer. I would suggest starting off by using a Print to verify your conditions to trade are becoming true.
      thanks you were correct, i assumed it was just a limitation as I know there are a fair number around this sort of thing.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      77 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      53 views
      0 likes
      Last Post CarlTrading  
      Working...
      X