No announcement yet.

Partner 728x90


Basic tutorial for starting with indicator development

  • Filter
  • Time
  • Show
Clear All
new posts

    Basic tutorial for starting with indicator development

    Hi all,

    I really would like to dive into the NinjaScript development but I'm struggling because I have no C# knowledge. I have basic coding knowledge and certainly some day I will learn to understand C#. I do not intend to teach myself raw C# because I have no affordable time for it. I want to learn everything needed for NinjaScript purpose only. I just need to understand the C# parts which are needed for coding effectively for NinjaScript8.

    Can you suggest any good tutorial for NinjaScripting to start with? I don't mean the help file which I believe is good but I feel overwhelmed when reading through it. I'm looking for some basic primer which will explain how to start with a basic indicator and adjust it to the needs. Of course with examples! I am aware that NinjaScript Editor is the way one should go, but I guess in the beginning for learning purposes it would be better to start with the wizard and create the basics first. Then switch to NS editor for fine tuning. Where can I get a good and understandable lesson which is effective for beginners?

    Any helpful video or pdf/web tutorial is appreciated. Looking for any helpful assistance. Thank you.

    Hello patricia70,

    Thanks for your post.

    NinjaScripts are built on C#. While we do not provide programming education services in the Support Department, there are a vast number of educational C# resources external to NinjaTrader and we do have some tutorials and tools that can assist in the learning process.

    Many users report that a good way to start before fully learning C# is to go through the NinjaTrader 7 NinjaScript tutorials in the help documentation to get a fundamental grasp on .NET framework and how it is used in NinjaScript. From there I suggest looking at the Code Breaking changes for NinjaTrader 8 to understand the differences between NinjaTrader 7 and NinjaTrader 8.

    You can view the tutorials for NinjaTrader 7 here:

    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.

    You can find the educational resources here:

    Once you have a basic understanding of C#, I suggest following the documented Code Breaking changes between NinjaTrader 7 and NinjaTrader 8. This page also gives an overview for NinjaScripts in NinjaTrader 8.

    You can find the Code Breaking changes here:

    Other users have wrote in about this information in our support forums here:

    Also available are webinars on the NinjaScript editor and the Strategy Builder. The Strategy Builder can be used to generate NinjaScript syntax for NinjaScript strategies. You may wish to create a strategy and clicking View Code after each piece of logic created in the Builder to observe the generated syntax.

    Strategy Builder 301:

    NinjaScript Editor 401:

    You can register for live webinars here:

    Our documentation will be your best friend while developing, and the complete supported NinjaScript interface can be referenced here:

    The information above is publicly available.

    Finally, we also have a vast EcoSystem of NinjaScript Consultants that would be happy to write or modify any NinjaScript at your request. If those services interest you, we can have a representative of our EcoSystem reach out with more information.
    Paul H.NinjaTrader Customer Service


    Latest Posts


    Topics Statistics Last Post
    Started by Hyper, Today, 05:23 PM
    0 responses
    Last Post Hyper
    by Hyper
    Started by ballboy11, Today, 05:20 PM
    0 responses
    Last Post ballboy11  
    Started by Hyper, Today, 03:02 PM
    1 response
    Last Post NinjaTrader_ChrisL  
    Started by aworldnervelink, Yesterday, 11:55 AM
    7 responses
    Last Post NinjaTrader_Kate  
    Started by PhilT, Today, 02:18 PM
    4 responses
    Last Post PhilT
    by PhilT