Skip to main content

Source Code Walkthroughs

This section provides developer-level walkthroughs of the built-in strategy source files — class structure, indicator wiring, signal implementations, decision tree construction, and data export schemas. Use them as reference implementations when building your own strategies.

Where these files live

Each walkthrough lists its source file as [INSTALL PATH]/API/Strategies/<Name>/…. [INSTALL PATH] is your MZpack for NinjaTrader 8 installation folder — see Source Code Location for the full installation folder layout and how to compile a sample.

Built-in Strategies

StrategyWhat It Demonstrates
Footprint Action10 signals, AND/OR tree with mandatory grouping, runtime signal toggle, EMA indicator, per-signal bar filters
Ghost Resistance3 indicators, AND tree with OR sub-node, signal dependency, limit orders, one-entry-per-bar filter
Data ExportNon-trading utility, conditional indicators, per-indicator export schemas, 100+ export fields
Drawing Objects ExportMinimal strategy, XML schema loading, ChartObjectDescriptor mappings