Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

NinjaScript Programmer's Launch Pad
NinjaScript Programmer's Launch Pad
NinjaScript Programmer's Launch Pad
Ebook95 pages1 hour

NinjaScript Programmer's Launch Pad

Rating: 4.5 out of 5 stars

4.5/5

()

Read preview

About this ebook

NOTE: There is a new edition of this eBook called The NinjaScript Programmer's Launch Pad V8 that addresses NinjaTrader 8.

The NinjaScript Programmer's Launch Pad is a tutorial designed for programmers new to NinjaTrader's NinjaScript programming environment. It begins by providing the new NinjaScript programmer with a clear understanding of the underlying structure, data, key classes, and efficient programming techniques for writing NinjaScript indicators. This same foundation of knowledge is necessary for creating automation strategies in NinjaScript. The Launch Pad can shave days off the learning curve, and is an excellent supplement to NinjaTrader's own excellent documentation.

Since NinjaTrader's documentation and support forum is so good, why use a tutorial? Simply because many of us benefit from a "yellow brick road" approach to learning—something that starts at the beginning and has a clear path to guide you along the way. Once you have established a strong foundation of knowledge, building on it becomes very easy. The Launch Pad is designed to help you build that foundation quickly. Let the Launch Pad be your guiding hand.

LanguageEnglish
PublisherScott Daggett
Release dateMay 22, 2012
ISBN9781476335834
NinjaScript Programmer's Launch Pad
Author

Scott Daggett

Scott Daggett is a long-time software developer and IT manager with a keen interest in technical analysis of the financial markets. In addition to writing software on more platforms and in more languages than he can remember, he has studied trading for years and enjoys writing indicators for trading platforms.

Related to NinjaScript Programmer's Launch Pad

Related ebooks

Teaching Methods & Materials For You

View More

Related articles

Reviews for NinjaScript Programmer's Launch Pad

Rating: 4.5 out of 5 stars
4.5/5

2 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    NinjaScript Programmer's Launch Pad - Scott Daggett

    ***~~~***

    NinjaScript Programmer’s Launch Pad

    The NinjaScript Tutorial that Should Have Been

    by Scott Daggett

    Published by Scott Daggett at Smashwords

    Copyright Scott Daggett 2012

    http://ninjalaunchpad.com

    First Edition (1.10)

    Smashwords Edition, License Notes

    This ebook is licensed for your personal enjoyment only. This ebook may not be re-sold or given away to other people. If you would like to share this book with another person, please purchase an additional copy for each recipient. If you’re reading this book and did not purchase it, or it was not purchased for your use only, then please return to Smashwords.com and purchase your own copy. Thank you for respecting the hard work of this author.

    eBook ISBN: 9781476335834

    NinjaTrader is a Registered Trademark of NinjaTrader, LLC.

    ***~~~***

    Table Of Contents

    Preface

    1. First Things First

    2. Key Concept—Where’s the Data?

    3. Creating Indicators

    4. Making Properties Available in the Indicators Dialog Box

    5. Making Sure Data is There Before You Use It

    6. Input Series and the Input Keyword

    7. Value Series and the Value and Values Keywords

    8. Drawing Text and Images on a Chart

    9. A Meaningful Example

    10. Creating Custom Methods and External Assemblies

    11. Where to Go From Here

    Appendix A: References

    Appendix B: Estimating Up and Down Volume

    About Scott Daggett

    Connect with the Author

    ***~~~***

    Preface

    This book exists because of my desire to come up to speed quickly on how to write NinjaScript indicators for NinjaTrader. I've always been the type of person who learns best in a well-structured, guided environment. As a long-time software developer, though, I have often found myself digging into brand-new, bleeding-edge software tools, discovering how to make use of them, and then documenting them so others could gain the same knowledge without as much effort. I've been doing this for years, and it has become a bit of a habit with me.

    I have been writing computer programs since the late 1970’s. (Yes, I have mostly gray hair, and I actually used punch cards.) I am fairly proficient at writing TradeStation Easy Language indicators, and I wanted to convert some of my indicators to the NinjaTrader platform (I really like the platform!). This seemed like it would be easy because NinjaScript is based on C#.NET, and I was already quite experienced with that.

    I found the instructional materials available from NinjaTrader to be very good, and the support from their support forum is downright awesome. Without all that, I would not have been able to learn how to program in NinjaScript. Even still, there was room for a book like this. There was room for a book that takes the yellow brick road approach to learning—an approach that starts at the beginning, has a clear path and a clear destination (the place where the wizard lives).

    This book is an attempt to pave that road. It is not a book that will teach you how to program, and it won’t even teach you C#. There are ample high-quality resources for that already. For example, there is a free C# tutorial at http://www.csharp-station.com/tutorial.aspx. This book is for people who already understand object oriented programming, especially in C#. It assumes you can make your way around a code editor and that you have some troubleshooting skills. This is not a kitchen sink guide. It is intended to quickly give the experienced programmer a fundamental understanding of NinjaScript indicators, their structure, key classes and interfaces, and workable approaches to putting indicators together. When you finish studying this book, you will still have much to learn, but you’ll have a good foundation to build on. You won’t have to spend much time getting to that important starting point. This is simply your launch pad.

    Note: The format of this book is designed to support ebook readers, so you won’t see a lot of hyperlinks littered throughout the content. However, at the end of each chapter, you

    Enjoying the preview?
    Page 1 of 1