Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Criteria for allowing custom indicators to work in the Strategy Builder

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

    Criteria for allowing custom indicators to work in the Strategy Builder

    I've built several indicators that work fine on charts, but will not show up in the list of indicators as a condition in the Strategy Builder.

    They all have plots; anywhere from 4 to 10 different plots, added with the AddPlot method.

    They also have only normal properties. Nothing dynamic. But they have a lot of properties, over 100 in some cases. Are there properties for types that will cause the indicator to be rejected?

    What could be preventing these indicators from being available in the Strategy Builder?
    daqu40
    NinjaTrader Ecosystem Vendor - QTradez

    #2
    Hello daqu40,

    Thank you for your post.

    For your custom indicator, in the scope of the class, have you set the property to return the plot series Values[plot index] with a public variable?

    Are you setting the plot values in OnBarUpdate()?

    Please see this forum post this discusses how to expose custom indicator values in the Strategy Builder:

    https://forum.ninjatrader.com/forum/...64#post1182264

    Please let me know if you have any other questions.

    Comment


      #3
      Yes, each plot is updated by a method call from OnBarBarUpdate or OnMarketData in State.Realtime. Prior to Realtime, these are updated by a batch process called in State.Transition.

      Due to the complex property management we have a version of the indicator that was simplified to use only the bar necessary configuration items for use with BloodHound. The indicator and its plots are visible in BloodHound, but Strategy Analyzer is not happy with it.
      daqu40
      NinjaTrader Ecosystem Vendor - QTradez

      Comment


        #4
        Hello daqu40,

        Would you be able to send us a reduced sample script to test to scriptingsupport[AT]ninjatrader.com? The sample script should still include the calls to AddPlot(), the properties for the plots, and simplified logic to assign values to the plots.

        In the subject of the email please reference the case number 04174006.

        Thank you in advance.

        Comment


          #5
          This will take some time. I'm not authorized to share this code in any form. I will see if I can build something similar with the AddPlot calls and upates to those plots in a similar architecture.
          daqu40
          NinjaTrader Ecosystem Vendor - QTradez

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          649 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          370 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          109 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          573 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          576 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X