Free NinjaTrader 8 strategies with honest test results
Well-known strategy ideas written for NinjaTrader 8, with free source code, the exact rules and a five-year MNQ test shown as it came out, wins and losses alike. Learn how each idea behaves before you risk money on it.
The strategies
| Strategy | 5-year net (with costs) | Profit factor | Win rate |
|---|---|---|---|
| EMA Crossover (9/21) Trend following | $400 | 1.00 | 32% |
| Opening Range Breakout (30 min) Breakout | $7,086 | 1.07 | 55% |
| Donchian Channel Breakout (20/10) Breakout / trend | $9,921 | 1.05 | 36% |
| RSI(2) Pullback Mean reversion | -$8,583 | 0.91 | 62% |
| Bollinger Bands Reversion (20, 2) Mean reversion | -$19,304 | 0.93 | 50% |
| SMA Crossover (20/50) Trend following | $5,639 | 1.05 | 37% |
| MACD Signal Cross (12/26/9) Momentum | -$18,909 | 0.94 | 34% |
| Supertrend (10, 3) Trend following | -$2,745 | 0.98 | 35% |
| VWAP Reversion (2 sigma) Mean reversion | -$9,264 | 0.95 | 47% |
| Prior-Day High/Low Breakout Breakout | $11,863 | 1.17 | 30% |
| EMA Ribbon (8/13/21/34/55) Trend following | $3,889 | 1.03 | 36% |
| ADX + DI Cross (14, 20) Trend following | -$7,364 | 0.94 | 29% |
| Parabolic SAR (0.02, 0.2) Trend following | -$22,503 | 0.94 | 37% |
| Inside Bar Breakout Price action | -$18,526 | 0.91 | 48% |
| Bollinger Squeeze Breakout (20, 2) Breakout | -$475 | 0.98 | 32% |
| Keltner Channel Breakout (20, 2 x ATR) Breakout | $16,477 | 1.13 | 36% |
| Stochastic Reversal (14, 3, 3) Mean reversion | -$12,245 | 0.95 | 48% |
| CCI Reversal (20, 100) Mean reversion | -$12,849 | 0.94 | 61% |
| Gap Fade (gap fill) Mean reversion | $1,150 | 1.06 | 50% |
| Floor Pivot Reversal (S1/R1) Levels | $2,351 | 1.05 | 42% |
| Fibonacci Retracement (61.8%) Levels | -$5,501 | 0.90 | 52% |
| Heikin-Ashi Trend Flip Trend | -$47,164 | 0.92 | 34% |
| Renko-Style Trend (20-point bricks) Trend | -$11,890 | 0.96 | 37% |
| Ichimoku Cloud Breakout (9/26/52) Trend | -$2,975 | 0.97 | 32% |
| Engulfing Candle (pullback) Price action | -$6,420 | 0.93 | 40% |
One MNQ contract, 5-minute bars, regular hours, October 2021 to October 2026, simulated with commission and slippage. Not a prediction. Each page explains how it was tested and what the numbers hide.
Watch: I tested all 25 (3:38)
The scoreboard, the results that held up and the ones that did not, using the same numbers as this page. Captions only, no voiceover.
Simulated results, not trading results. Education only, not financial advice. Pressing play loads the video from YouTube (privacy-enhanced mode); see the privacy policy. Watch on YouTube instead.
What to take from the numbers
- Most simple strategies do not survive costs. Most of them lose money once commission and slippage are counted, and we show them anyway.
- Look past the headline. A result that comes from five lucky trades, or from the market simply rising, is not an edge. Each page shows the profit without the best trades.
- Use them to learn. The source code is plain NinjaScript. Read it, change it, test it, and start on a simulated account.
Using them in NinjaTrader 8
- Open a strategy page and download the
.csfile. - Save it in
Documents\NinjaTrader 8\bin\Custom\Strategies, then open the NinjaScript Editor and press F5 to compile (do this only when you have no open position). - Backtest it in Strategy Analyzer on a 5 Minute MNQ series, or add it to a simulated-account chart.
Not sure your NinjaTrader plan can run a backtest? Read can you backtest in NinjaTrader 8 for free? for what NinjaTrader says and what we could not confirm.
Also: the one-day pass strategy (high risk, education only). Also free: the Vortex Drawdown Panel, the Monte Carlo calculator and the consistency calculator. Read the risk disclosures.