Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Show trades and data on multi-instrument strategy backtest

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

    Show trades and data on multi-instrument strategy backtest

    I have a strategy with two time series that uses signals from the primary to generate trades in the secondary (i.e., managed trades using BarsInProgressIndex=1).

    When I run a backtest the chart only shows the primary time series and associated indicators. It does not show the secondary, nor does it show any of the trades.

    How can I get both trades and the secondary time series to display on the backtest chart?

    #2
    Hello dbooksta,

    That is correct, a chart will only be able to display trades that are placed on the instrument of the chart.

    You can view the trades made to the other instrument(s) in the Strategy Performance.

    You can also open a separate chart to that instrument to see any real-time trades, but you will not be able to see any historical trades.


    Adding an indicator using a different series causes the same issue. The chart can only show objects that are synced with the primary data series of the chart.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      There must be some workaround. E.g., can I create another Panel from my Initialize() and use that to display the second timeseries?

      Comment


        #4
        Or is it reasonable to draw bars and MAVs for the second series directly on the primary panel? If so can you point me to an efficient example of this, perhaps in one of the indicators?

        Comment


          #5
          Hello dbooksta,

          The only work around that I know of is to view the Strategy Performance or view the real-time trades on another chart.

          However, this thread will remain open for the community to offer any unsupported advice.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          88 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          48 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          31 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          34 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          68 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X