Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How do I learn Ninja Programming

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

    How do I learn Ninja Programming

    Does anyone have any ideas how I can learn to program my own indicators or strategies? I have Basic programming experience and believe this is a variation of C# programming. But I am hoping to find a "Ninja Programming for Dummies" book or something along those lines. Any thoughts and comments on the best way to approach learning this language are appreciated.

    #2
    Hello,

    There is not book, but you will find these links helpful in getting started:






    Then just start hacking away and trying to build stuff...You have to use it to learn it. Try modifying the strategies in your platform that start with "Sample..." in their name. Post your q's here for tips. The NT has full-time staff who give programming tips on this forum when people post. Every post is looked at by an NT support staff member.

    Comment


      #3
      Welcome to our forums canthony, thanks for the input mountainclimber!

      You should take a look at those indicator tutorials here for a smooth start into NinjaScript - http://www.ninjatrader-support.com/H...verview18.html

      Another convenient way is starting out with the Strategy Wizard - http://www.ninjatrader-support.com/H...rdScreens.html

      You can view or later unlock the underlying source code it generates to further learn the coding aspects for finetune it via custom programming then.
      BertrandNinjaTrader Customer Service

      Comment


        #4
        Learning Ninjascript/C#

        The home and learn C# course has been recommended on this forum previously http://www.homeandlearn.co.uk/csharp/csharp.html

        I personally like the Sams book Learning C# in 24 hours. The Murat C# book is also good. Try the MSDN site for some free C# Videos. You will find these are based around using Visual Studio but they will be fine for teaching C# basics. You can download Visual Studio express for free.

        If you like learning via videos try the learnvisualstudio.net site. They have loads of videos for a relatively small access fee. Again they are based around using Visual Studio but they have complete series on just making console applications which is ideal for learning the C# for Ninja.

        Finally if you really want to get into Advanced C# and go on to write your own applications the App Dev videos courses are really excellent.

        Comment


          #5
          Unless you want to be a C# programmer or you will do something super super advanced that NT doesn't support, I DON'T recommend taking the time to learn C# in a board sense. There is some much in C# that you don't need to know to be an expert programmer in NinjaScript. ....Unless you have time on your hands and just want to do it.... It can't hurt except for taking your time...

          Comment


            #6
            Many Thanks

            I would like to thank Mountainclimber, MicroAl and NinjaTrader_Bertrand for the great advice...its exactly what I was looking for. I am looking forward to jumping right in and will spend the weekend reviewing all your links.

            Many thanks.

            Comment


              #7
              I've recently published an e-book and video course that is a good introduction to NinjaScript Strategy development, assuming you have some C# development background:



              Enjoy!

              Comment


                #8
                Does anyone know if Ninjatrader allows for programming using 3rd party proprietary indicators without knowing the coding of those indicators? Most of the time that coding is locked up. But can't you code an indicator that simply uses the output from those proprietary indicators without having to see the construction of the proprietary indicators (which in most cases isn't possible).

                For instance, let's suppose you have a proprietary 3rd party moving average indicator. You want to program an indicator that signals when this moving average crosses over a threshold. Do you need to know the construction of the proprietary moving average to program your indicator, or can you simply reference the output of the proprietary moving average when constructing your indicator?

                Comment


                  #9
                  Originally posted by eschroeter View Post
                  Does anyone know if Ninjatrader allows for programming using 3rd party proprietary indicators without knowing the coding of those indicators? Most of the time that coding is locked up. But can't you code an indicator that simply uses the output from those proprietary indicators without having to see the construction of the proprietary indicators (which in most cases isn't possible).

                  For instance, let's suppose you have a proprietary 3rd party moving average indicator. You want to program an indicator that signals when this moving average crosses over a threshold. Do you need to know the construction of the proprietary moving average to program your indicator, or can you simply reference the output of the proprietary moving average when constructing your indicator?
                  It depends.

                  This thread is pretty relevant to your questions:

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by tsantospinto, 04-12-2024, 07:04 PM
                  5 responses
                  67 views
                  0 likes
                  Last Post tsantospinto  
                  Started by cre8able, Today, 03:20 PM
                  0 responses
                  6 views
                  0 likes
                  Last Post cre8able  
                  Started by Fran888, 02-16-2024, 10:48 AM
                  3 responses
                  48 views
                  0 likes
                  Last Post Sam2515
                  by Sam2515
                   
                  Started by martin70, 03-24-2023, 04:58 AM
                  15 responses
                  115 views
                  0 likes
                  Last Post NinjaTrader_Jesse  
                  Started by The_Sec, Today, 02:29 PM
                  1 response
                  8 views
                  0 likes
                  Last Post NinjaTrader_Jesse  
                  Working...
                  X