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
| Strategy | What It Demonstrates |
|---|---|
| Footprint Action | 10 signals, AND/OR tree with mandatory grouping, runtime signal toggle, EMA indicator, per-signal bar filters |
| Ghost Resistance | 3 indicators, AND tree with OR sub-node, signal dependency, limit orders, one-entry-per-bar filter |
| Data Export | Non-trading utility, conditional indicators, per-indicator export schemas, 100+ export fields |
| Drawing Objects Export | Minimal strategy, XML schema loading, ChartObjectDescriptor mappings |