Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Viewing 2 instruments in the Strategy Analyzer

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

    Viewing 2 instruments in the Strategy Analyzer

    Hi,

    I'm trying to add additional instrument to the Strategy Analyzer.

    I tried to add the following line to the strategy code but nothing happened:
    Code:
    protected override void Initialize()
    {
          Add(Instrument2, BarsPeriod.Id, BarsPeriod.Value);
    }
    What can I do?

    Tx in advance

    #2
    Hello,

    This adds the bar data in, Its up to you what to output to the column however. Since theres only one data output per column you would need to add this in a new column most likely.

    Multi Seris programming for your information:



    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks.

      If I want to display the bar data on a new panel how can I do it?

      Comment


        #4
        Hello,

        You would need to create a new indicator for this.

        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        71 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        39 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
        62 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