Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add Custom ISeries Using Input Series Selector in the Indicator Properties Dialog

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

    Add Custom ISeries Using Input Series Selector in the Indicator Properties Dialog

    Is it possible to add a custom ISeries using the Input Series selector in the Indicator Properties dialog?

    I have attached two sample indicator files (Counter and CounterTest). I want to be able to add the custom ISeries in Counter using the Input Series selector in CounterTest.

    I know I can hard code the Counter indicator in CounterTest, but am looking for a way to add a generic indicator custom data series.

    Thanks,
    Greg
    Attached Files
    The Trading Mantis
    NinjaTrader Ecosystem Vendor - The Trading Mantis

    #2
    Hello gregschr,

    It is possible to make a custom iseries input however from what you describe I am not certain I understand the goal. Are you trying to read data from Counter in Counter test? If so you would need to call that in the CounterTest code or pass it to CounterTest as an input. There is an example of an exposed series from another script here: https://ninjatrader.com/support/help...alues_that.htm

    All indicators by default have 1 ISeries input, that's the Input property: https://ninjatrader.com/support/help.../nt8/input.htm

    That can take one of the default chart series like Close or other indicators as input when you manually apply it.

    If you wanted to pass Counter to CounterTest in code you need a third script which calls CounterTest(Counter.YourSeries, anyInputParams) to pass in the input.


    Comment


      #3
      Hi Jesse,

      My goal is to pull data from Counter, or other indicators, by making a selection in the Properties Input Series selector. In the sample Counter indicator, I used a Series<int> to keep it simple, but am actually using a custom type/class to hold and pass the data.

      That can take one of the default chart series like Close or other indicators as input when you manually apply it.
      I want to use the Counter Series<int> as the input, but can only select one of the default chart Series<double>'s as the Price Type for the indicator. I suspect what I want to do is not possible. If it is not, I can hard code each indicator I want to use in my indicator (CounterTest in the samples) and just have a property to select which indicator to use.

      Thanks,
      Greg
      The Trading Mantis
      NinjaTrader Ecosystem Vendor - The Trading Mantis

      Comment


        #4
        Hello gregschr,

        From the description that basically falls into the category of using an enum for selection and then hard coding the indicators that can be used. https://ninjatrader.com/support/help...ned_parame.htm

        I want to use the Counter Series<int> as the input, but can only select one of the default chart Series<double>'s as the Price Type for the indicator.
        If you use the Input series the script has then in the chart if you apply the indicator CounterTest and then click Set for DataSeries. You can expand the Indicators folder in the popup window to choose Counter.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        597 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        343 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        556 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        555 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X