• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fastest way to learn ninjascript???

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

    Fastest way to learn ninjascript???

    I would like to start creating my own custom stuff but do not know where to start.

    I am fluent with EasyLanguage/PowerLanguage, but feel a bit lost with Ninja's script.

    I keep seeing C#, C++, and .net...

    Do I need to know all 3 or is there one path that I can take to learn how to program indicators???

    Thanks for the help

    #2
    Hello,

    Thank you for the question.

    NinjaScript is C# and only C# just for reference. When you hear .NET framework, C# is included with this framework but the .NET framework encompasses multiple languages.

    for simplicity, when someone mentions .NET or C# when speaking about NinjaTrader, they are referring only to C#.

    You would not need to learn anything other than C# fundamentals as you are not going to be creating a whole application but rather using the syntax from C# which NinjaTrader understands.

    For learning NinjaScript I usually recommend if you have never used or programmed in C# to first look online for some general C# tutorials involving Operators, Branching statements (if statements), or general syntax.

    The syntax will look different and perform slightly different for each language you learn so this will be similar but different than what you are currently doing.

    Once you have a grasp on the general syntax of C# the NinjaScript documentation will make a lot more sense. There are many examples and help items for NinjaScript I will put some links below to help get you started.

    The NinjaScript reference: http://www.ninjatrader.com/support/h..._reference.htm

    The NinjaScript Forum: http://www.ninjatrader.com/support/f...isplay.php?f=6

    The Reference Samples Forum: http://www.ninjatrader.com/support/f...splay.php?f=29

    These links will help in learning NinjaScript, you can also view indicators source code in Ninjatrader by going to Tools -> Edit NinjaScript -> Indicator or Strategy -> Select an item and press ok.
    This would open a NinjaScript editor and allow you to see how indicators or strategies are created.

    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      IMO, the fastest way is to edit sample indicators, assuming you have already had basic understandings about C#. If you have not, please first google and learn the basics of C# first.

      Regards,
      Pi
      Last edited by ninZa; 01-05-2015, 05:58 PM.
      ninZa
      NinjaTrader Ecosystem Vendor - ninZa.co

      Comment


        #4
        Originally posted by SinatraFan View Post
        I would like to start creating my own custom stuff but do not know where to start.

        I am fluent with EasyLanguage/PowerLanguage, but feel a bit lost with Ninja's script.

        I keep seeing C#, C++, and .net...

        Do I need to know all 3 or is there one path that I can take to learn how to program indicators???

        Thanks for the help
        In addition, go through the tutorials in the help to get an idea of flow.

        Also, Scott Daggett has an ebook for sale. I have not read it (I'm a programmer by trade and pick things up quick)... but it should help explain things.

        http://ninjalaunchpad.com/

        And it's only $5.99.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by jayfutures23, Today, 09:32 AM
        0 responses
        3 views
        0 likes
        Last Post jayfutures23  
        Started by dshalom9, Today, 08:36 AM
        9 responses
        17 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by stock_wizard_49, 07-11-2020, 06:57 PM
        1 response
        16 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by asmmbillah, Yesterday, 03:03 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by AspenHiker, Today, 08:37 AM
        0 responses
        7 views
        0 likes
        Last Post AspenHiker  
        Working...
        X