Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 indicator works but not with Stategy Builder

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

    NT8 indicator works but not with Stategy Builder

    May I request a review of this indicator (not a DLL) that works fine except it does not get listed as an available indicator in Strategy Builder.

    ALso, someone commented it seems to take a lot of processing power for a simple line indicator. Please comment.
    Attached Files

    #2
    Hello JMont1,

    The strategy you attached is a manually coded strategy, that cannot be used in the builder. Only strategies that are created in the builder and not unlocked can be used with the builder. The way to tell is that would be if you try and open a strategy in the editor and can view its code that means its manually coded, if you try to open a strategy builder script with the editor it will open the strategy builder.

    Comment


      #3
      NinjaTrader_Jesse The attached is an indicator that I want to access from a script built in Strategy Builder. The indicator is in my indicator library and can be placed in on a chart. But when I attempt to locate it in a strategy builder step, the indicator is not in the list. There must be a minor modification required but I cannot see where.

      Please review again.

      Comment


        #4
        Hello JMont1,

        The script you attached does not use a plot so that cannot be used with the strategy builder. You would need to add a plot and set a value to the plot in order for it to be used. https://ninjatrader.com/support/help...t8/addplot.htm

        Comment


          #5
          The plot should not be causing the indicator not to even show up in the usable indicators for Strategy Builder. Once I can see it, the plot becomes the issue.

          For the plot, I tried using addPlot() using Values[0] for startY. But startY is a double and so it comes back that you cannot convert it to an Int. I can try to figure that out next. Thank you.

          Comment


            #6
            Hello JMont1,

            That is exactly why its not showing up in the builder, only indicators with plots are able to be used. The builder is looking for items that have a plot so it can be used for signals.

            To add a plot you just need the AddPlot statement and then set a value like the following for testing:

            Value[0] = Close[0];

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            47 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            23 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            33 views
            1 like
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            51 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            42 views
            0 likes
            Last Post CarlTrading  
            Working...
            X