RealTest Strategies / RealTest Low Drawdown Nasdaq Mean Reversion Strategy

RealTest Low Drawdown Nasdaq Mean Reversion Strategy

A RealTest mean-reversion strategy for Nasdaq 100 stocks that sizes each position by current market volatility. It buys oversold pullbacks in the Connors and Alvarez style, then automatically holds less when markets turn turbulent, which is what keeps its drawdowns shallow. Tested on survivorship-free Norgate data with commissions modeled, and trading live since January 2025.

Live traded since Jan 2025Trading costs included Survivorship-bias-free data
$100k$300k$1.0M'02'04'06'08'10'12'14'16'18'20'22'24'26 Live $1.7M $592k
Strategy SPY buy & hold
Sharpe ratio?
1.42
+196%vs SPY 0.48
Best year?
+46.2%
1.7×SPY best: 27.0% in 2003
Max drawdown?
-8.6%
83% smallervs SPY -49.9%

Validated four ways

See how each test is run →

Live market performance
Performs in real market conditions since 2025-01-02
Verified
Statistical validation
Validated across in-sample & out-of-sample data
Passed
Walk forward analysis
Tests robustness across unseen data
Passed
Monte Carlo stress test
Resilient against 1,000+ sequence risk simulations
Passed

What happened in every crash

CrisisDatesStrategySPYSame $100k in
Dotcom crash Mar 2000 – Oct 2002 48.7% -41.8%
2008 financial crisis Oct 2007 – Mar 2009 0.6% -49.9%
COVID-19 crash Feb 2020 – Mar 2020 0.0% -28.7%
2022 bear market Jan 2022 – Oct 2022 2.5% -21.3%

Strategy monthly returns

JanFebMarAprMayJunJulAugSepOctNovDecYear
20001.67.08.38.56.70.22.51.61.9-1.10.71.246.2%
20011.30.1-0.00.01.73.12.40.70.00.00.13.313.4%
20020.31.10.70.01.6-1.0-0.40.00.60.00.00.93.8%
20032.00.20.53.92.52.82.52.7-2.17.74.20.831.1%
20040.43.3-0.41.01.31.11.20.31.11.70.41.613.7%
20052.22.52.20.50.01.81.4-3.30.61.0-0.14.213.7%
20063.61.51.01.40.84.40.80.10.11.11.03.220.7%
20071.41.00.40.31.10.9-0.61.62.30.53.60.513.6%
2008-5.11.71.20.12.60.01.20.8-3.3-0.00.00.0-1.2%
20090.1-1.0-0.90.00.9-1.01.32.43.6-1.23.32.09.8%
2010-2.42.71.40.3-0.0-1.82.71.40.40.41.00.76.7%
20110.61.0-0.60.42.3-2.4-0.2-3.6-0.01.23.21.53.2%
20120.00.81.00.30.40.61.0-0.4-0.30.80.10.64.9%
20131.12.7-0.60.60.22.10.42.51.41.02.80.916.3%
2014-2.91.00.30.90.40.6-0.40.0-0.20.30.42.22.4%
20152.6-0.21.12.11.5-0.51.20.90.10.00.81.511.6%
2016-2.00.00.80.70.60.4-0.20.4-0.41.00.80.52.6%
20172.2-0.1-0.5-0.00.90.31.10.60.21.30.40.87.5%
20181.2-2.30.72.01.1-0.6-0.60.21.2-2.90.6-1.9-1.5%
2019-0.00.73.10.5-2.72.31.70.31.30.71.50.810.5%
2020-0.5-0.12.00.01.40.40.62.73.8-1.16.23.920.7%
20211.01.82.92.00.41.41.91.4-2.00.5-1.52.012.3%
20220.32.4-0.11.20.1-0.30.2-0.1-1.81.10.62.56.2%
20230.2-0.42.5-1.21.63.80.9-0.1-1.6-0.10.11.67.3%
20240.61.30.90.3-0.61.21.20.13.01.00.8-4.06.0%
20256.60.1-0.40.20.20.30.6-0.10.61.8-3.60.46.7%
20262.30.8-1.20.2-0.81.112.92.618.6%

Strategy overview

Why it stays shallow

Mean reversion buys stocks that have sold off too hard and waits for the bounce. The usual problem is that the same volatility that creates those setups also creates the deep drawdowns, because a plain strategy is fully exposed exactly when the market is at its wildest. This one measures volatility as it changes and scales its exposure to match, holding smaller when conditions are turbulent and larger when they are calm. The mean-reversion edge is the same, and the ride is much smoother.

How it was tested

The backtest runs on Nasdaq 100 stocks including names later removed from the index, so survivorship bias does not inflate the results. Interactive Brokers commissions and a limit-order buffer are included, so the equity curve is after real costs. The rules build on the published Connors and Alvarez pullback approach and stay simple, and the strategy was checked with walk-forward analysis. The drawdown you can see on the equity curve is the whole point of the design.

How it fits your trading

This is the steady, low-stress strategy in the lineup. Because its drawdowns are shallow, it is easier to keep trading through a rough market, which is often where traders abandon better strategies at the worst time. It works well as a stable core that you can size larger with more confidence, and it pairs naturally with a higher-return, higher-swing strategy to lift the overall return without giving up the smooth base.

Strategy details & model assumptions

Details

StyleMean reversionUniverseNasdaq 100 current & past stocksTimeframeDailySideLongEntry executionLimit orderExit executionLimit & market

Costs included in results

Commission$0.005 / shareLimit price buffer0.1% past limitSPY benchmarkNo fees applied (favors SPY)

What you get

RealTest by MHP Trading logo
RealTest strategy code (.rts)
Complete RealTest (.rts) strategy code. Import, backtest, and modify.
Trading strategy rules plain text document
Plain text rules
Trade it on any platform without reading the code.

What you need

Market dataNorgate Data US Stocks. Platinum Plan to reproduce the backtest, because it carries delisted stocks. Silver Plan is enough to trade it live.SoftwareRealTest (since 2024 or later).Without RealTest or NorgateThe rules come as plain English, not only as code. You can use the strategy rules in TradingView, Python, AmiBroker or your own tools.

Quick start & live trading

RealTest trading software logo
Quick start guide
From download to first backtest in 1 minute
1
You download the .rts file
Click download
2
You open it in RealTest
File → Open → Select file
3
You import symbols
Click import
4
You run the backtest
Click test
OrderClerk automated trading execution interface
Daily live trading
For RealTest automated execution
1
Open OrderClerk
Click 'Connect to IB'
2
Import signals
Click 'Import' in RealTest
3
Generate orders
Click 'Orders' in RealTest
4
Execute trades
Click 'Place Orders'

What traders say

Buying a SetupAlpha strategy didn't save me money, it saved me research time. I estimate it replaced 70–90 hours of development, debugging, and validation. Even if I never trade the strategy exactly as delivered, the research process was worth the investment.

Roman Blackwood
Roman Blackwood
Founder of AI in Trading (+13K subscribers)

I've been using a strategy from SetupAlpha and I'm really impressed with its elegance and stability. The unique approach gives me a fresh perspective and ideas I can apply to other strategies I'm developing. I'm currently working on integrating it into my suite of trading strategies.

TradeQuantiX
TradeQuantiX
Multi-country systematic trader (+4.7K subscribers)

I traded discretionary for over a decade and kept putting off going systematic because I did not know where to start. Having a finished, tested system to take apart was what finally got me moving.

Daniel
Daniel
Crypto trader

I have run it live since 2024 and it is still in my portfolio. It also changed how I test the systems I build myself.

Systematic Traders
Systematic Traders
Algo trader & Substack writer (+6.4K subscribers)

FAQ

What is RealTest Low Drawdown Nasdaq Mean Reversion Strategy?
A RealTest mean-reversion strategy for Nasdaq 100 stocks that sizes each position by current market volatility. It buys oversold pullbacks in the Connors and Alvarez style, then automatically holds less when markets turn turbulent, which is what keeps its drawdowns shallow. Tested on survivorship-free Norgate data with commissions modeled, and trading live since January 2025.
Why should this edge keep working?
Mean reversion buys stocks that have sold off too hard and waits for the recovery. The usual problem is that the same volatility that creates those setups also drives the deep drawdowns, because a plain strategy is fully exposed when the market is at its wildest. This strategy measures volatility as it changes and scales its exposure to match, holding smaller in turbulent conditions and larger in calm ones, so the drawdowns stay shallow while the mean-reversion edge stays intact. Volatility-scaled position sizing is a standard, well-tested risk technique.
What is RealTest and what software do I need?
RealTest is a backtesting and trade automation platform for systematic traders, built by Martin Parker at MHP Trading. Each strategy comes as an .rts file you import directly. To trade it live you add OrderClerk and an Interactive Brokers account.
How was this backtested?
Survivorship-free Norgate data from January 2000 to the present, with out-of-sample walk-forward analysis and over 1000 Monte Carlo simulations to test stability.
Are transaction costs included?
Yes. The results include Interactive Brokers commissions, and a limit-order buffer of 0.1% past limit, so the equity curve is after costs.
When did live trading start?
Live trading started in January 2025. The equity curve shows the backtest from 2000 and real performance from that point on.
What's included in the download?
RealTest .rts file (complete source). Plain-text trading rules. Full documentation with parameter explanations.
How does it compare to SPY?
The chart at the top plots this strategy against SPY, the S&P 500 ETF, from 2000 with both starting at $100,000. The Full metrics panel lists the exact numbers side by side, including CAGR, maximum drawdown, Sharpe and Sortino for the strategy and for SPY over the same period.
Can I modify the code?
Yes. You get the complete source code with a perpetual license, so you can adjust parameters, change position sizing, combine it with other systems, or use it as a starting point for your own research.
What market data do I need?
Norgate Data (recommended) for survivorship-free US equities. Yahoo Finance works for basic testing but lacks delisted stocks. The backtest results shown here use Norgate Platinum.
Can I automate execution?
RealTest to OrderClerk to Interactive Brokers. Generate signals daily in RealTest, execute automatically via OrderClerk to IBKR. Setup course available.
Can I ask questions about the code or the strategy?
Yes. Email setupalpha.capital@gmail.com and you will get an answer, before or after you buy.
Portfolio growth since 2000
1,558.8%
SPY same period: 491.9%
$999one-time
Instant download
Full metrics
MetricStrategySPY
Sharpe1.420.48
ROR11.13%
Sortino1.320.45
MAR1.3
Net profit$1.6M$492k
Expectancy1.01%
Max exposure99.73%100%
Worst year-1.5%-33.2%

Download the complete strategy now

Active Script - C:\REALTEST\Strategies\low_drawdown_nasdaq_mean_reversion.rts
RealTest Low Drawdown Nasdaq Mean Reversion Strategy full RealTest script
Trading strategy rules plain text document
Plain text rules
Trade it on any platform without reading the code.
RealTest Low Drawdown Nasdaq Mean Reversion Strategy
$999one-time
Instant download