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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        80 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
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X