Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Laguerre Re-coded from NT7 to NT8

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

    Laguerre Re-coded from NT7 to NT8

    Hi,

    I am trying to code the Laguerre indicator I have in NT7 for use in NT8.

    I am getting the following error message "NinjaTrader.NinjaScript.Series<double>" does not contain a definition for "Set" and no extension method "Set" accepting a first argument of type "NinjaTrader.NinjaScript.Series<double>" could be found (are you missing a using directive or an assembly reference?)

    The custom indicator logic I copied from NT7 concludes with "LaguerreOut.Set(LRSI)" and it is this final piece of code which is generating the above error message.

    I have attached a screen shot of the error and relevant line of code.

    If you could please advise me how to resolve this final coding error that would be appreciated.

    Thanks

    Attached Files

    #2
    Hello Bressay Boy,

    Thanks for your post.

    When converting code from Nt7 to NT8 we recommend reviewing the code breaking changes reference in the NT8 help guide, here is a link for your convenience: https://ninjatrader.com/support/help...ng_changes.htm In the referenced help guide you would find, "The DataSeries.Set() method used to assign Data Series or Plot values has been removed and values can now be stored using a single assignment operator:"

    This means all you need to do is change the line: LaguerreOut.Set(LRSI) to LaguerreOut[0] = LRSI;

    I'm not sure is this is the same indicator as what you are converting but we converted most of the NT7 indicators on the support forum to NT8 as a convenience for all. We've moved the forum files to the ecosystem, here is a link to the LaguerreAdaptiveFilter for NT8: https://ninjatraderecosystem.com/use...daptivefilter/ Please note: The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    Comment


      #3
      Thanks for the quick and helpful response Paul - that fixed the issue. It's the Laguerre RSI indicator I'm working with (an adaption of the common RSI indicator) as opposed to the Laguerre adaptive filter.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      600 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      347 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
      558 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      558 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X