RealTest Strategies / The Dual-Engine Alpha Portfolio

The Dual-Engine Alpha Portfolio

A RealTest portfolio that pairs momentum in established uptrends with mean reversion in pullbacks. By running four uncorrelated strategies simultaneously, it turns diversification into a structural edge that controls drawdowns without sacrificing recovery speed. Tested on survivorship-free Norgate data with commissions, slippage, and borrow fees fully modeled.

Uncorrelated AlphaTrading costs included Survivorship-bias-free data
$100k$1.0M$10.0M$100.0M'02'04'06'08'10'12'14'16'18'20'22'24'26 $392.7M $588k
Portfolio SPY buy & hold
Sharpe ratio?
1.48
+208%vs SPY 0.48
Best year?
+100.6%
3.7×SPY best: 27.0% in 2003
Max drawdown?
-31.7%
36% smallervs SPY -49.9%

What happened in every crash

CrisisDatesPortfolioSPYSame $100k in
Dotcom crash Mar 2000 – Oct 2002 163.8% -41.8%
2008 financial crisis Oct 2007 – Mar 2009 25.4% -49.9%
COVID-19 crash Feb 2020 – Mar 2020 -22.3% -28.7%
2022 bear market Jan 2022 – Oct 2022 -3.4% -21.3%

Portfolio monthly returns

JanFebMarAprMayJunJulAugSepOctNovDecYear
2000-5.632.6-5.50.22.86.91.913.5-2.76.2-2.117.979.8%
20014.38.31.3-0.40.46.75.90.9-9.122.48.53.262.4%
20024.9-2.04.52.51.5-1.3-2.66.74.612.0-2.31.933.7%
20034.82.22.16.48.64.42.95.8-1.98.02.10.356.0%
20041.21.90.2-0.86.64.7-9.40.24.76.43.82.022.6%
2005-8.42.33.2-3.35.70.34.62.04.02.07.92.824.5%
20066.8-1.45.71.8-7.11.21.85.83.56.54.5-0.232.1%
20071.4-2.33.13.36.07.26.59.38.05.3-3.40.454.0%
2008-16.13.01.510.86.7-4.5-1.1-1.39.7-0.25.312.525.3%
20095.9-2.1-0.211.40.32.0-0.82.68.5-4.77.74.639.9%
2010-6.89.03.83.4-3.0-5.06.4-2.98.84.2-1.52.518.7%
2011-0.73.45.43.71.3-1.1-0.2-3.72.75.12.72.322.5%
2012-1.03.13.70.8-2.83.04.93.12.1-3.91.92.418.4%
20136.03.54.11.32.12.55.12.27.91.25.84.456.9%
201410.45.6-4.74.34.54.8-0.44.70.11.53.40.940.4%
20151.73.60.8-1.65.1-0.12.30.21.33.33.82.225.0%
2016-4.74.04.7-0.25.42.42.01.32.5-0.45.75.331.5%
20174.30.92.40.77.5-0.62.32.41.66.7-1.9-1.726.9%
20189.1-2.4-0.2-0.68.0-0.5-0.04.20.5-7.52.0-3.18.7%
20190.33.62.61.3-5.45.81.4-1.40.24.92.16.022.8%
2020-0.5-2.3-2.814.29.218.610.312.62.4-5.819.30.5100.6%
20215.5-5.9-3.55.01.16.78.10.40.41.82.50.924.4%
2022-11.37.36.4-2.90.7-5.51.2-2.54.22.39.92.310.6%
20233.44.11.92.02.78.03.01.1-4.2-0.24.93.734.4%
20244.810.34.4-1.47.06.6-8.41.24.04.92.80.842.4%
20258.3-4.5-4.710.42.35.52.64.211.05.8-1.64.851.8%
20265.33.9-5.39.917.614.4-10.30.51.440.0%

Portfolio overview

The Dual-Engine Alpha Portfolio is a high-performance system combining four distinct strategies to capture momentum and mean reversion across both bull and bear markets.

Underlying strategies:

Specification

TimeframeDailySideLong & ShortAverage hold11 trading daysTrade frequency20.9 per monthEntry executionMarket on open + limit ordersExit executionMarket on open + limit ordersDataNorgate Data (US Stocks Platinum) SoftwareRealTestCommission $0.005 / share + 2% annual borrow feeSlippage0.05% per sideLimit price buffer 0.1% past limitSPY benchmarkNo fees applied (favors SPY)

What you get

RealTest by MHP Trading logo
RealTest portfolio code (.rts)
Complete RealTest (.rts) portfolio code. Import, backtest, and modify.

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 The Dual-Engine Alpha Portfolio?
A RealTest portfolio that pairs momentum in established uptrends with mean reversion in pullbacks. By running four uncorrelated strategies simultaneously, it turns diversification into a structural edge that controls drawdowns without sacrificing recovery speed. Tested on survivorship-free Norgate data with commissions, slippage, and borrow fees fully modeled.
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, slippage of 0.05% per side, and a limit-order buffer of 0.1% past limit, so the equity curve is after costs.
When did live trading start?
See the equity curve for the live trading start date.
What's included in the download?
RealTest .rts file (complete source). 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 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
392,587.0%
SPY same period: 488.4%
$3,490one-time
Instant download
MetricPortfolioSPY
Sharpe1.480.48
ROR36.4%
Sortino1.50.45
MAR1.15
Net profit$392.6M$488k
Expectancy2.21%
Max exposure109.5%100%
Worst year8.7%-33.2%

Download the complete portfolio now

Active Script - C:\REALTEST\Strategies\the_dual_engine_alpha_portfolio.rts
The Dual-Engine Alpha Portfolio full RealTest script
The Dual-Engine Alpha Portfolio
$3,490one-time
Instant download