Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator on multiple indicators?

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

    Indicator on multiple indicators?

    Is it possible to have an indicator which has more than one indicator as inputs? For example, could I make a Ratio indicator which could take the ratio of 2 SMA indicators?

    This would require that the "Data" section of the "Indicators" panel have more than one "Input Series" parameter when adding the indicator. I don't know a way to do that.

    Currently I pass the symbol as a string parameter to the indicator, which then Adds the secondary bar series for that symbol. It works if you want the indicator to operate on OHLC data, but doesn't generalize beyond that.

    Thanks, Kevin

    #2
    You can only parameterize it with one bar object. In your code you can add other bar objects, but these will not be selectable from the Indicators dialogue.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      That's unfortunate, it limits the ability to generalize multi-DataSeries indicators.

      I've seen NT indicators refer to "Inputs[0]" (a collection of inputs). Is there any way or any plan to enable the use of "Inputs[1]" ??

      Comment


        #4
        kdoren,

        Thank you for the suggestion. Right now indicators do not pull from the series of a chart except for the primary. The other series are added just like how it was done in a multi-series strategy in 6.5.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        623 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        359 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        562 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        567 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X