Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator tutorials for NT8

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

    Indicator tutorials for NT8

    Hi,
    Are there any NT8 tutorials available for developing new indicator, like tehre used to be in NT7? The way of developing new indicator seemed to changed a lot from NT7 to NT8.

    Thanks

    Petr

    #2
    Hello Domek_69,
    Thanks for your post.

    Although we do not currently provide NinjaScript tutorials like in NinjaTrader 7, we do provide in-depth help documentation on developing NinjaScripts for NinjaTrader 8. We also provide samples and a complete reference of the language. More in depth educational resources can be found elsewhere throughout the internet.

    Some notable items to consider when converting your code will be the following:

    Initialization has changed significantly. Initialize() has been replaced with OnStateChange(), which can be used to filter out different stages of the entire life cycle of a script (SetDefaults, Configure, Historical, Realtime, Terminated, etc.) OnStateChange() is fully covered in the Help Guide.

    The names of many methods and properties have changed slightly, so you will need to refactor these in your code. The Code Breaking Changes table can make this task much easier: https://ninjatrader.com/support/help...ng_changes.htm

    There is also an alphabetical reference in the Help Guide that can help to find new method/property names: https://ninjatrader.com/support/help..._reference.htm

    What we recommend is that you use the indicator wizard or strategy wizard to create the basic structure of the NinjaScript. From the Help Guide, "The NinjaScript Wizard is used to generate the minimum code to get started programming any supported NinjaScript type. This wizard will allow you to define any default properties, add custom input parameters, add additional data series, and add any relevant event methods. There are a number of different properties and options available in the NinjaScript Wizard depending on the type of NinjaScript object you are creating."

    Reference: https://ninjatrader.com/support/help...?ns_wizard.htm

    Let me know if you have any questions.
    Josh G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    639 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    572 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X