NinjaScript Programmer's Launch Pad
4.5/5
()
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.
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
NinjaScript Programmer's Launch Pad V8 Rating: 3 out of 5 stars3/5Algorithmic Trading Complete Self-Assessment Guide Rating: 4 out of 5 stars4/5An Introduction to Algorithmic Trading: Basic to Advanced Strategies Rating: 5 out of 5 stars5/5Algorithmic Trading A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsAlgorithmic Trading A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsDay Trading Using the MEJT System: A proven approach for trading the S&P 500 Index Rating: 0 out of 5 stars0 ratingsHandbook of High Frequency Trading Rating: 3 out of 5 stars3/5Learn Algorithmic Trading: Build and deploy algorithmic trading systems and strategies using Python and advanced data analysis Rating: 0 out of 5 stars0 ratingsVoice of Foreign ExchangeTM Rating: 0 out of 5 stars0 ratingsBuilding Winning Algorithmic Trading Systems: A Trader's Journey From Data Mining to Monte Carlo Simulation to Live Trading Rating: 0 out of 5 stars0 ratingsThe Compleat Day Trader, Second Edition Rating: 5 out of 5 stars5/5Power Trading Rating: 0 out of 5 stars0 ratingsAlpha Trading: Profitable Strategies That Remove Directional Risk Rating: 2 out of 5 stars2/5Trading the Hard Right Edge Rating: 0 out of 5 stars0 ratingsBuilding Automated Trading Systems: With an Introduction to Visual C++.NET 2005 Rating: 4 out of 5 stars4/5Trade Secrets: Powerful Strategies for Volatile Markets Rating: 2 out of 5 stars2/5Trading Summit: A Modern Look to Trading Strategies and Methods Rating: 0 out of 5 stars0 ratingsProfessional Automated Trading: Theory and Practice Rating: 4 out of 5 stars4/5How to Trade Using Easy End of Day Signals Rating: 0 out of 5 stars0 ratingsForex The Art of Speculation Rating: 0 out of 5 stars0 ratingsFOREX Perfection In Manual, Automated And Predictive Trading Rating: 0 out of 5 stars0 ratingsSimple Strategies in Complex Financial Markets Rating: 0 out of 5 stars0 ratingsAlgorithmic Trading Methods: Applications Using Advanced Statistics, Optimization, and Machine Learning Techniques Rating: 0 out of 5 stars0 ratingsA Guide to Creating A Successful Algorithmic Trading Strategy Rating: 4 out of 5 stars4/5Finding Alphas: A Quantitative Approach to Building Trading Strategies Rating: 4 out of 5 stars4/5High-Frequency Trading: A Practical Guide to Algorithmic Strategies and Trading Systems Rating: 0 out of 5 stars0 ratingsTrading by Numbers: Scoring Strategies for Every Market Rating: 5 out of 5 stars5/5Trading Systems 2nd edition: A new approach to system development and portfolio optimisation Rating: 5 out of 5 stars5/5
Teaching Methods & Materials For You
Speed Reading: Learn to Read a 200+ Page Book in 1 Hour: Mind Hack, #1 Rating: 5 out of 5 stars5/5The Three Bears Rating: 5 out of 5 stars5/5Praxis Elementary Education For Dummies with Online Practice Tests Rating: 0 out of 5 stars0 ratingsBecoming Cliterate: Why Orgasm Equality Matters--And How to Get It Rating: 4 out of 5 stars4/5How to Take Smart Notes. One Simple Technique to Boost Writing, Learning and Thinking Rating: 4 out of 5 stars4/5How to Think Like a Lawyer--and Why: A Common-Sense Guide to Everyday Dilemmas Rating: 3 out of 5 stars3/5Fluent in 3 Months: How Anyone at Any Age Can Learn to Speak Any Language from Anywhere in the World Rating: 3 out of 5 stars3/5The 5 Love Languages of Children: The Secret to Loving Children Effectively Rating: 4 out of 5 stars4/5Speed Reading: How to Read a Book a Day - Simple Tricks to Explode Your Reading Speed and Comprehension Rating: 4 out of 5 stars4/5The Science of Making Friends: Helping Socially Challenged Teens and Young Adults Rating: 5 out of 5 stars5/5Weapons of Mass Instruction: A Schoolteacher's Journey Through the Dark World of Compulsory Schooling Rating: 4 out of 5 stars4/5From 150 to 179 on the LSAT Rating: 4 out of 5 stars4/5Personal Finance for Beginners - A Simple Guide to Take Control of Your Financial Situation Rating: 5 out of 5 stars5/5Principles: Life and Work Rating: 4 out of 5 stars4/5Better Grammar in 30 Minutes a Day Rating: 3 out of 5 stars3/5Jack Reacher Reading Order: The Complete Lee Child’s Reading List Of Jack Reacher Series Rating: 4 out of 5 stars4/5Good to Great: Why Some Companies Make the Leap...And Others Don't Rating: 4 out of 5 stars4/5Verbal Judo, Second Edition: The Gentle Art of Persuasion Rating: 4 out of 5 stars4/5Grit: The Power of Passion and Perseverance Rating: 4 out of 5 stars4/5Financial Feminist: Overcome the Patriarchy's Bullsh*t to Master Your Money and Build a Life You Love Rating: 5 out of 5 stars5/5Lies My Teacher Told Me: Everything Your American History Textbook Got Wrong Rating: 4 out of 5 stars4/5The 5 Love Languages of Teenagers: The Secret to Loving Teens Effectively Rating: 4 out of 5 stars4/5Competent to Counsel: Introduction to Nouthetic Counseling Rating: 4 out of 5 stars4/5A study guide for Frank Herbert's "Dune" Rating: 3 out of 5 stars3/5A Failure of Nerve: Leadership in the Age of the Quick Fix (10th Anniversary, Revised Edition) Rating: 4 out of 5 stars4/5Summary of The Dawn of Everything by David Graeber and David Wengrow Rating: 4 out of 5 stars4/5The Chicago Guide to Grammar, Usage, and Punctuation Rating: 5 out of 5 stars5/5
Reviews for NinjaScript Programmer's Launch Pad
2 ratings0 reviews
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