Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Does anybody have recommendations or suggestions for tutorials on Ninjatrader programming besides the Ninjatrader website? My primary use for this tutorial would be for programming indicators. Thanks in advance!
Can you help answer these questions from other members on NexusFi?
If anybody else has additional resources they can share, please feel free to share that information. I'm sure that there are other people besides myself that may find the information you suggest here useful.
Ninjascript is a customized version of C#, so get a C# book and learn its fundamentals. I already knew the basics of event driven object oriented programming, so learned Ninjascript by copying bits and pieces from existing indicators on nexusfi.com (formerly BMT) and the Ninjatrader forum. Eventually I got a C# book that answered some of my lingering questions and helped me to progress.
Be careful. There are plenty of bad Ninjascript coders and tons of bad programming advice. Even many of the Ninjatrader "stock" indicators are showcases of coding worst practices. There seems to be almost fanatical devotion to doing a lot of things that do not make any sense, just because others have always done things that way. One of my pet peeves is the useless, commented, "Wizard Created Gibberish". That is just the tip of the iceberg.
Learn from the best. There are a few coders who stand far above the rest. For example, absolutely incredible indicators have been posted by @Fat Tails and @gomi. Study the work of people like that, and emulate it. That will give you a big head start in the right direction.
Look at this thread for some ideas about how to write code that will run efficiently:
Anyone have any hints for optimizing C# code? Currently using Visual Studio for C#. Want to run some indicators through the process to see if there are any excessive computational issues.
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett
Also, besides a book for C # there are many videos on the microsoftvirtualacademy.com site that has many tutorials of the C # language. From the very basic programming techniques to the very advanced.
FWIW Udemy.com is offering 75% off for the next few hours on many of their courses.
They have some C#, Programming Language, Visual Studio, and lots of others.
They have VS for $5 after discount and an advanced course in VS (normally $150 or $37.00 with the discount)