When you’re building indicators or strategies in NinjaScript, you’ll often find yourself needing to repeat an action—like…

Learn NinjaScriptA collection of 19 posts
Step-by-step tutorials to help you build custom indicators, tools, and logic inside NinjaTrader 8. Whether you’re just getting started or refining your coding skills, this category breaks down NinjaScript concepts in a way that’s practical, beginner-friendly, and focused on real trading use cases.
In the last post, we kicked things off with the big idea: build a better moving average…
In the world of automated trading and indicator building, logic is everything. Whether you’re trying to trigger…
👋 So… you’ve used moving averages. And let’s be honest—they’re fine. Maybe useful. Maybe just noise. Maybe…
Enums (short for enumerations) are a powerful yet simple tool available to NinjaScript developers. They help you…
When you’re developing indicators in NinjaTrader, it’s easy to focus only on the visuals — plotting lines,…
If you’ve written even a little bit of NinjaScript, you’ve probably used a draw object. They’re one…
When you first start coding indicators in NinjaScript, it’s common to think bar-by-bar: But sometimes, you need…
In NinjaScript, the built-in tools like Series<T> and Values[] are powerful — but sometimes you need more…
If you’ve been building indicators or strategies in NinjaTrader 8 for more than five minutes, you’ve probably…