
Explore the essentials of NinjaTrader 8 strategy design with a practical, hands-on crash course focused on a reusable strategy template, exits, debugging, and parameter handling.
Learn to create a basic NinjaTrader 8 strategy template, including a public strategy class, on state change, on bar update, and on execution update.
Modify and organize strategy parameters in NinjaTrader 8 by reordering categories, naming parameters, and limiting input ranges with the range indicator for optimization with min, max, and increment.
Learn to use type converters to modify strategy parameters in NinjaTrader 8 by building a custom example converter and a strategy-based converter that toggles read-only parameters.
Create an entry module for NinjaTrader 8 by evaluating boolean entry signals on each bar update, setting long and short rules using open, close, and color.
Learn to implement stops and profit orders in NinjaTrader 8 using a custom approach, including setting stop ticks, profit ticks, tracing orders, and debugging with on execution update.
Learn how to implement a trailing stop in NinjaTrader 8 using an ADR-based rule or a static exit, including initial stop setup and ADR period calculation.
Explore splitting a NinjaTrader 8 position with profit targets and a position split percentage, closing 50% at target 1 and 80% at target 2, then move stop to break even.
Implement break-even exits for long and short trades in NinjaTrader 8 by using a break-even flag, profit targets, and stop reset logic to manage split positions.
Speed up ninja trader optimization by about tenfold by disabling a feature, restarting the optimizer, and resetting state data and variables between iterations.
Learn to debug inside the strategy analyzer by using the output window instead of print statements, and reset the output when running to keep new messages clear.
Explore how NinjaTrader 8 handles on tick execution versus on bar close, indexing the first bar with time zero and time one, and contrast historical, simulated, and live data behavior.
Learn to filter ignored orders in trace orders, output them to a tab, and investigate why they are ignored by converting messages to lowercase and searching for the ignore keyword.
Examine granularity causes stop orders to be ignored at bar close in NinjaTrader 8, and apply the master instrument size value workaround to align stop orders.
Hello!!!
This course is a quintessence of the other 120 lecture course on NinjaTrader and is completely dedicated to strategy development. It is a quick way to get up and running with the code and demonstrates the most essential techniques I use to develop strategies demonstrating common scenarios.
In the course we buid everything together in a modular approach and I provide all the code that is used in the resources. The course is very hands and provides a very usefull framework that you can use in the future to build your own strategies for NinjaTrader.