RealTest strategies / RealTest NASDAQ Momentum Rotation

RealTest NASDAQ Momentum Rotation

A RealTest momentum rotation strategy that holds the strongest NASDAQ 100 stocks and re-ranks once a month. It scores momentum across two timeframes rather than one, so it leans toward stocks with steady strength rather than names that have just spiked. An entry filter and automatic position scaling manage the risk. Tested on survivorship-free Norgate data with commissions modeled, and trading live since February 2026.

Live traded since Feb 2026Trading costs included Survivorship-bias-free data
$100k$300k$1.0M$3.0M$10.0M'02'04'06'08'10'12'14'16'18'20'22'24'26 Live $25.6M $595k
Strategy SPY buy & hold
Sharpe ratio?
0.9
+88%vs SPY 0.48
Best year?
+109.7%
4.1×SPY best: 27.0% in 2003
Max drawdown?
-49.7%
1% smallervs SPY -49.9%

Validated four ways

See how each test is run →

Live market performance
Performs in real market conditions since 2026-02-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 -35.7% -41.8%
2008 financial crisis Oct 2007 – Mar 2009 -23.3% -49.9%
COVID-19 crash Feb 2020 – Mar 2020 -27.1% -28.7%
2022 bear market Jan 2022 – Oct 2022 -24.5% -21.3%

Strategy monthly returns

JanFebMarAprMayJunJulAugSepOctNovDecYear
2000-4.353.4-9.8-9.0-8.212.04.517.3-4.7-10.4-19.51.45.8%
20010.00.00.00.00.00.00.00.00.00.00.00.00.0%
20020.00.00.00.00.00.00.00.00.00.00.00.00.0%
20030.00.00.00.017.3-1.32.88.9-1.312.10.3-3.339.2%
20041.7-1.2-3.2-4.06.85.0-10.7-2.76.29.56.4-1.311.1%
2005-5.04.50.8-4.23.8-3.14.83.26.44.98.42.329.3%
20068.3-3.97.01.4-8.00.10.0-0.62.05.93.70.416.4%
20071.2-0.70.41.87.06.93.910.214.26.9-7.0-0.651.9%
2008-16.01.91.91.16.2-9.0-1.8-0.8-0.8-1.2-0.00.0-18.6%
20090.00.00.00.0-1.60.13.82.06.0-6.110.42.217.2%
2010-7.28.45.84.1-8.1-4.95.3-4.09.74.62.31.316.5%
20111.15.24.74.9-3.11.6-1.6-4.9-3.22.01.01.08.4%
20125.24.96.52.6-4.80.90.84.71.8-6.90.21.017.3%
20133.71.97.20.16.5-0.77.8-0.311.6-1.76.82.855.3%
20146.87.7-7.0-0.56.68.1-3.48.30.82.05.1-1.037.1%
2015-0.36.2-1.3-3.05.8-2.73.8-5.9-3.45.03.6-0.07.1%
2016-8.5-3.15.21.05.70.77.12.23.5-0.97.94.126.5%
20179.70.73.9-0.215.3-3.36.22.11.79.0-1.1-4.345.2%
201817.3-0.9-3.4-0.712.50.70.56.40.7-14.72.0-1.916.1%
2019-0.85.04.03.0-3.46.62.4-0.4-0.84.94.08.137.0%
20202.1-4.3-6.86.914.311.411.321.71.8-3.230.7-3.0109.7%
202113.7-5.9-6.57.4-0.68.615.23.6-3.14.7-0.0-9.926.3%
2022-13.70.82.0-11.1-3.1-1.30.6-2.2-0.10.00.00.0-25.7%
20230.00.00.0-0.65.06.24.20.6-7.6-1.79.59.025.9%
20246.510.33.6-4.49.97.0-7.71.26.23.64.6-4.440.6%
20251.7-9.1-5.38.17.15.7-0.6-0.516.98.2-2.53.435.2%
20268.91.8-5.718.525.417.8-25.73.59.454.0%

Strategy overview

Why it rotates into strength

Stocks that are already leading tend to keep leading for months at a time, and NASDAQ 100 names trend more cleanly than the broad market when risk appetite is high. The strategy ranks the index each month and holds the strongest, then rotates out of a stock once it falls out of the ranking. It stays with what is working rather than trying to call tops and bottoms.

How the ranking works

A basic momentum rotation ranks stocks by a single return period, which often rotates into names that have just run up and are ready to stall. This strategy scores momentum across two timeframes at once, so it selects stocks that have shown steady strength rather than a single sharp move. Each top-ranked stock also has to pass an entry filter before it is bought, and any that fail are skipped for that month regardless of rank. The backtest runs from 2000 on survivorship-free Norgate data with Interactive Brokers commissions and per-side slippage included.

How it fits your trading

This is a growth-oriented strategy that leans into strong trends, so it does its best work in sustained bull phases. Two controls keep that in check. The entry filter holds it back when the setups are weak, and position size scales down automatically when the index itself turns shaky. It runs in a few minutes once a month, and it pairs well with a mean-reversion or defensive strategy that behaves differently in a downturn.

Specification

StyleDual-momentumUniverseNasdaq 100 current & past stocksTimeframeDailySideLongAverage hold69 trading daysTrade frequency2.3 per monthEntry executionMarket on openExit executionMarket on openDataNorgate Data (US Stocks Platinum) SoftwareRealTest or PythonCommission$0.005 / shareSlippage10 bps per sideSPY 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.
Python programming logo for quantitative trading backtest
Python backtest code (.py)
Full Python script. Implements the exact same strategy rules for independent backtesting.

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 NASDAQ Momentum Rotation?
A RealTest momentum rotation strategy that holds the strongest NASDAQ 100 stocks and re-ranks once a month. It scores momentum across two timeframes rather than one, so it leans toward stocks with steady strength rather than names that have just spiked. An entry filter and automatic position scaling manage the risk. Tested on survivorship-free Norgate data with commissions modeled, and trading live since February 2026.
Why should this edge keep working?
Stocks that are already leading tend to keep leading for months at a time, which is the momentum effect. This strategy ranks NASDAQ 100 stocks each month and holds the strongest, rotating out once a stock falls out of the ranking. It scores momentum across two timeframes so it leans toward steady strength rather than a single sharp move, and an entry filter skips weak setups. Momentum is one of the most studied and persistent effects across markets.
Do I need RealTest to run this strategy, or can I use Python?
No, you do not need RealTest if you use Python. This strategy includes a complete, standalone Python implementation (.py) alongside the RealTest (.rts) script and plain-text rules. You can run, backtest, and modify the strategy directly in Python (using libraries like pandas, NumPy, vectorbt, etc.) with your own data source. If you prefer a turnkey trading platform, RealTest is fully supported for one-click backtests and automated live execution via OrderClerk and Interactive Brokers.
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, slippage of 10 bps per side, so the equity curve is after costs.
When did live trading start?
Live trading started in February 2026. The equity curve shows the backtest from 2000 and real performance from that point on.
What's included in the download?
Complete RealTest .rts source code. Full Python implementation (.py script for independent backtesting). Plain-text trading rules document. 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. A metrics table lists the exact numbers side by side: Sharpe, Sortino, net profit and worst year, for the strategy and for SPY over the same period.
Can I modify the code?
Yes. You get the complete source code (both RealTest and Python) with a perpetual single-user license. You can freely adjust parameters, rewrite position sizing, combine rules with other strategies, or embed the logic into your own custom quant pipeline.
What market data do I need?
For RealTest, Norgate Data (US Stocks Platinum) is recommended for survivorship-free testing. For Python, you can use your own historical data (CSV/Parquet), Norgate, or free sources like Yahoo Finance for exploratory testing. The benchmark backtest metrics shown here use survivorship-free Norgate Platinum data.
Can I automate execution?
Yes. For RealTest users: daily signals are generated in RealTest and automated via OrderClerk directly to Interactive Brokers (automation course available). For Python users: you can generate signals directly in your Python workflow and route orders to Interactive Brokers (via the IBKR API / ib_insync) or any broker that supports an API.
Can I ask questions about the code or the strategy?
Yes. Email info@setupalpha.com and you will get an answer, before or after you buy.

Changelog

2026-02-02Rules finalised. Live tracking starts.

No rule changes since.

Portfolio growth since 2000
25,461.9%
SPY same period: 494.5%
$990one-time
Instant download
MetricStrategySPY
Sharpe0.90.48
ROR23.14%–
Sortino0.810.46
MAR0.47–
Net profit$25.5M$495k
Expectancy10.57%–
Max exposure106.23%100%
Worst year-25.7%-33.2%

Download the complete strategy now

Active Script - C:\REALTEST\Strategies\nasdaq_momentum_rotation.rts
RealTest NASDAQ Momentum Rotation full RealTest script
Python programming logo for quantitative trading backtest
Python backtest code (.py)
Full Python script. Implements the exact same strategy rules for independent backtesting.
RealTest NASDAQ Momentum Rotation
$990one-time
Instant download