Futures trader · International · 2026
Modular rebuild of a NinjaTrader 8 strategy with an order-flow layer
A strategy and its indicator, written with no structure, became testable modules, with a lightweight order-flow layer and hardening after every live incident.
The problem
The original strategy had filters that did nothing and brackets computed from stale averages. It needed a base that could be audited.
What I built
- Full diagnostic of the original code with a list of reproducible defects.
- Modular architecture: signal, filters, order management and risk kept apart.
- OHLCV-derived order-flow layer with frozen formulas and pinned tests.
- Chain of fixes after each live incident, all logged.
- 1Diagnostic
- 2Signal
- 3Filters
- 4Order-flow layer
- 5Orders & risk
Result
Each live incident was closed with an identified cause and a test that covers it, and the client checks every version against the client's own criteria.