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 CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        51 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        32 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        99 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        177 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        170 views
        0 likes
        Last Post CarlTrading  
        Working...
        X