MACRO-02 · Regime Detection

Risk-On/Risk-Off Switch

Constructs a composite risk sentiment indicator from multiple signals (volatility, momentum, correlation). Risk-On regime favors equities and commodities. Risk-Off regime shifts to gold and reduces exposure. Dynamic allocation based on regime probability.

MacroRegimeRisk Sentiment

At a glance

Best onMulti-asset portfolio with risk diversification
Signal frequencyDaily
Typical holding periodDays to weeks
Asset classesIndex, Commodity, FX
Markets tested1
Data through2026-11-10

What the backtest shows

  • Beat buy-and-hold on 0 of 1 markets by annual return over 5 years.
  • Had a smaller maximum drawdown than buy-and-hold on 0 of 1 markets.
  • Best market by Sharpe ratio: SPY (Sharpe 0.40, CAGR 5.8%).

Equity curve

0.671.883.094.305.50 2017201820192020202120222023202420252026
Risk-On/Risk-Off Switch Equal-weight basket · SPY, 2017-11-09 → 2026-11-10, growth of 1

Score and risk profile

Arena Score: 42.8SPY, 5 years
Return quality · 30%50
Drawdown control · 25%15
Consistency · 20%47
Robustness · 15%43
Significance · 10%82

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%-13.9%
COVID crash (Feb–Mar 2020)-8.0%-25.5%
2022 bear market-8.7%-9.1%
Market above its 200-day average (annualized) · 67%+21.0%+20.1%
Market below its 200-day average (annualized) · 33%+15.5%+8.7%

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)1.29
Same parameters in the following 6 months, when traded (Sharpe)0.95
Default parameters over the same months (Sharpe)1.09
Parameter re-selections / changes12 / 5
Parameter settings with a positive Sharpe (full history)9 of 9
Sharpe across settings: worst / median / best1.07 / 1.13 / 1.17

Out-of-sample periods start on 2020-11-09. 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
SPYSPDR S&P 5005.8%9.1%0.40-28.2%-25.1%18.0%43

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-0.3%-0.3%0.180.23-24.1%50%30
3 years+60.6%17.1%0.961.38-24.1%52%57
5 years+32.8%5.8%0.400.59-28.2%51%104
Full history+381.4%19.1%1.071.50-28.9%47%152

Rules

Entry

Risk-On: SPY trend up + low vol
Risk-Off: SPY trend down + high vol

Exit

Regime switches

Indicators

Realized volatility percentile
Trend indicator (MA)
Momentum
Composite risk score

Inputs

Vol_Lookback = 20
Mom_Lookback = 63
Vol_Threshold = 0.20

Position sizing

100% risk assets or 100% safe haven

Risk controls

Gradual transitions to avoid whipsaws

Strategy evidence

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

Evidence coverage

1 / 1 declared strategy–market pairs validated

Notes

  • Multi-signal approach is more robust
  • Volatility is key regime indicator
  • Safe haven allocation protects in crises

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/macro-02-risk-on-risk-off-switch/"><img src="https://quantarenas.com/badge/macro-02-risk-on-risk-off-switch.svg" alt="Risk-On/Risk-Off Switch Arena Score on Quant Arena" height="20"></a>
[![Risk-On/Risk-Off Switch Arena Score](https://quantarenas.com/badge/macro-02-risk-on-risk-off-switch.svg)](https://quantarenas.com/strategy/macro-02-risk-on-risk-off-switch/)

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.