Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Data Series as input value

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

    Data Series as input value

    I am interested in creating an indicator which identifies divergences between price and oscillator. Is it possible to offer a choice of oscillators (data series) as an input value? If so, how could this be done?

    #2
    Hello Hawk Arps,

    Thank you for your post.

    Yes you can create a user defined input to pick between different oscillators or input methods for your custom indicator you are creating.

    Please see our Reference Sample on Creating a user-defined parameter type (enum)

    MatthewNinjaTrader Product Management

    Comment


      #3
      Thank You Mathew,
      Is there any way to do it without hard-coding the oscillator options, but instead allow the user to choose from whatever methods he has available in his indicator library (including proprietary ones)? Each oscillator may have different number and types of inputs // ie: Stochastics(periodD,PeriodK,Smooth) vs. Momentum(Period) .

      Comment


        #4
        Hawk Arps,

        Unfortunately it would not be possible to automatically pull the options/parameters - at least not a supported possibility. These values would need to be hard coded and switched when a particular indicator has been selected.
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        607 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        353 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
        560 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        561 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X