MR-14 · Mean Reversion

Detrended Price Oscillator

Detrended Price Oscillator (DPO) removes longer-term trend by comparing a shifted price to its moving average. This strategy buys when DPO is deeply negative and exits near the zero line.

Mean ReversionOscillator

At a glance

Best onRange-bound markets
Signal frequencyDaily
Typical holding periodDays
Asset classesIndex, Commodity, FX
Markets tested10
Data through2026-11-10

What the backtest shows

  • Beat buy-and-hold on 3 of 10 markets by annual return over 5 years.
  • Had a smaller maximum drawdown than buy-and-hold on 8 of 10 markets.
  • Best market by Sharpe ratio: DBA (Sharpe 0.68, CAGR 3.8%).
  • Weakest market: UNG (Sharpe -0.57, CAGR -27.0%).

Equity curve

0.542.795.057.309.55 201020122014201620182020202220242026
Detrended Price Oscillator Buy & hold · SPY, 2010-01-04 → 2026-11-10, growth of 1

Score and risk profile

Arena Score: 29.9SPY, 5 years
Return quality · 30%12
Drawdown control · 25%50
Consistency · 20%9
Robustness · 15%38
Significance · 10%62

Each bar is a percentile against every strategy on the same market and window (100 = best).

How it held up in sell-offs (SPY)

PeriodStrategyBuy & hold
Q4 2018 sell-off-4.1%-19.2%
COVID crash (Feb–Mar 2020)-1.8%-33.7%
2022 bear market+1.9%-24.5%
Market above its 200-day average (annualized) · 81%+1.0%+12.5%
Market below its 200-day average (annualized) · 19%+13.1%+19.8%

Sell-off dates follow the US stock market. Above/below the 200-day average uses the previous day's position, so there is no look-ahead.

Out-of-sample check (SPY)

CheckValue
Chosen parameters on their 3-year training windows (average Sharpe)0.94
Same parameters in the following 6 months, when traded (Sharpe)0.44
Default parameters over the same months (Sharpe)0.41
Parameter re-selections / changes28 / 13
Parameter settings with a positive Sharpe (full history)9 of 9
Sharpe across settings: worst / median / best0.26 / 0.40 / 0.53

Out-of-sample periods start on 2013-01-04. Training-window figures are flattered by picking the best of 9 settings; the out-of-sample figure is what the strategy actually earned. A large drop, or a result that depends on one setting, points to overfitting. How walk-forward testing works.

Results by market (5 years)

MarketCAGRBuy & hold CAGRSharpeMax drawdownBuy & hold max DDVolatilityArena Score
DBAInvesco DB Agriculture3.8%8.8%0.68-7.7%-15.9%5.7%65
GLDSPDR Gold Shares3.5%16.4%0.35-13.9%-28.3%11.8%44
SLViShares Silver Trust1.6%15.2%0.20-44.5%-57.8%26.5%41
ETH-USDEthereum-0.3%-15.1%0.16-48.0%-79.0%34.6%60
SPYSPDR S&P 5000.7%11.6%0.14-7.5%-24.5%6.7%30
BTC-USDBitcoin-5.8%2.6%-0.06-59.1%-75.9%23.4%27
USOUnited States Oil Fund-9.0%20.2%-0.28-55.8%-36.2%23.7%13
EURUSD=XEUR/USD-0.3%-0.7%-0.34-2.5%-17.2%0.9%—
DBCInvesco DB Commodity Index-4.1%10.8%-0.35-30.6%-27.3%10.4%12
UNGUnited States Natural Gas-27.0%-30.7%-0.57-81.9%-93.3%40.8%16

Strategy metrics use daily returns without trading costs. Buy-and-hold figures are for the same market and window. Rows are sorted by Sharpe ratio.

SPY across time windows

WindowTotal returnCAGRSharpeSortinoMax DDWin daysTrades
1 year+3.4%3.4%1.370.97-1.5%5%8
3 years+3.4%1.1%0.340.21-7.5%8%43
5 years+3.5%0.7%0.140.10-7.5%9%86
Full history+70.2%3.2%0.470.23-12.7%8%248

Rules

Entry

Go long when DPO% < Entry_Level

Exit

Exit when DPO% > Exit_Level

Indicators

SMA(Period)
DPO = Close.shift(Period/2 + 1) - SMA

Inputs

Period = 20
Entry_Level = -2.0
Exit_Level = 0.0

Position sizing

Fixed 100% allocation

Risk controls

Detrending reduces long-cycle bias

Strategy evidence

Only available, validated bundles appear below. Missing evidence is not a passing validation result.

Evidence coverage

10 / 10 declared strategy–market pairs validated

Notes

  • DPO is a cycle indicator, not a trend indicator

Related strategies

Embed this score

Add the live badge to a blog post, README or forum signature. It updates with the daily data.

<a href="https://quantarenas.com/strategy/mr-14-detrended-price-oscillator/"><img src="https://quantarenas.com/badge/mr-14-detrended-price-oscillator.svg" alt="Detrended Price Oscillator Arena Score on Quant Arena" height="20"></a>
[![Detrended Price Oscillator Arena Score](https://quantarenas.com/badge/mr-14-detrended-price-oscillator.svg)](https://quantarenas.com/strategy/mr-14-detrended-price-oscillator/)

Backtests are historical simulations on daily data and do not include commissions or slippage. They do not guarantee future results and are not investment advice. See the methodology for how every strategy is tested.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.