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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        164 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        319 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        246 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X