Evidence-based investing research
Value Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
Cash TLT LQD SPY
Momentum Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
1st ETF 2nd ETF 3rd ETF

QQQ:IWM for Risk-on and GLD:TLT for Risk-off?

Steve LeCompte | | Posted in: Bonds, Equity Premium, Gold, Technical Trading

Guide Asset Allocation and Portfolios Tactical allocation

Key Insight

QQQ:IWM-GLD:TLT switching strategy (S&P 500 SMA200 signal) outperformed SPY gross but underperformed net (6.7% vs 8.8% CAGR with frictions; Nov 2004–Nov 2020; risk-on/risk-off allocation).

A subscriber asked about a strategy that switches between an equal-weighted portfolio of Invesco QQQ Trust (QQQ) and iShares Russell 2000 ETF (IWM) when the S&P 500 Index is above its 200-day simple moving average (SMA200) and an equal-weighted portfolio of SPDR Gold Shares (GLD) and iShares 20+ Year Treasury Bond ETF (TLT) when below. Also, more generally, is an equal-weighted portfolio of GLD and TLT (GLD:TLT) superior to TLT only for risk-off conditions? To investigate, we (1) backtest the switching strategy and (2) compare performances of GLD:TLT versus TLT when the S&P 500 Index is below its SMA200. We consider both gross and net performance, with the latter accounting for 0.1% portfolio switching frictions 0.001% daily portfolio rebalancing frictions (rebalancing one hundredth of portfolio value). As benchmarks, we consider buying and holding SPDR S&P 500 ETF Trust (SPY) and a strategy that holds SPY (TLT) when the S&P 500 Index is above (below) its SMA200. Using daily S&P 500 Index levels starting February 5, 2004 and daily dividend-adjusted levels of QQQ, IWM, GLD, TLT and SPY starting November 18, 2004 (limited by inception of GLD), all through November 25, 2020, we find that:

The following table summarizes gross (no frictions) daily performance statistics over the full sample period, including number of risk-on/risk-off switches, average daily return, standard deviation of daily returns, daily reward/risk (average return divided by standard deviation), compound annual growth rate (CAGR) and maximum drawdown (MaxDD), for:

  1. SPY – buying and holding SPY.
  2. SPY-TLT – holds SPY (TLT) when the S&P 500 Index is above (below) its SMA200.
  3. QQQ:IWM-GLD:TLT – the risk-on/risk-off switching strategy specified above.

Based on all metrics, QQQ:IWM-GLD:TLT is preferable to both benchmarks.

What happens when we incorporate switching and rebalancing frictions.

SP500 SMA200 timing of QQQ IWM and GLD TLT with no frictions

The next table summarizes daily performance statistics with frictions. Buying and holding SPY is preferable based on average return and CAGR, while QQQ:IWM-GLD:TLT is preferable based on MaxDD.

Net strategy performance is sensitive to assumed levels of frictions. For example, doubling daily rebalancing friction to 0.002% reduces QQQ:IWM-GLD:TLT to 7.2%. Doubling frictions based on SMA200 switching reduces SPY-TLT and QQQ:IWM-GLD:TLT CAGRs to 4.2% and 6.1%, respectively.

For perspective, we look at annual returns and cumulative performances.

SP500 SMA200 timing of QQQ IWM and GLD TLT with frictions

The next table summarizes calendar year returns with baseline frictions (2020 partial through 11/25). The relative performance of QQQ:IWM-GLD:TLT is not consistent by year.

SP500 SMA200 timing of QQQ IWM and GLD TLT annual returns with frictions

The following chart tracks cumulative values of $1.00 initial investments in each strategy with frictions, reinforcing the finding of inconsistency in QQQ:IWM-GLD:TLT relative performance.

Is GLD:TLT generally superior to TLT alone when the equity market is stressed?

SP500 SMA200 timing of QQQ IWM and GLD TLT with frictions cumulatives

The following table summarizes GLD:TLT and TLT daily return statistics when the S&P 500 Index is below its SMA200 over the full sample period with no frictions. Results suggest that GLD:TLT may be superior to TLT alone for this definition of equity market stress, depending on assumed level of daily rebalancing frictions.

For all days in the sample, the return correlation for GLD and TLT is 0.14. When the S&P 500 Index is below its SMA200, the correlation is 0.12. These low correlations confirm mutual diversification value (at the cost of daily rebalancing frictions).

Is this finding consistent over time?

TLT and GLD average daily returns when SP500 below SMA200 by year

The final chart summarizes GLD:TLT and TLT average daily returns by year when the S&P 500 Index is below its SMA200 with no frictions (2020 partial through 11/25). Results indicate that outperformance of GLD:TLT is somewhat consistent on a gross basis, winning 9 of 14 years containing bear market conditions. However, years that are close may flip after accounting for daily rebalancing frictions.

TLT and GLD average daily return when SP500 below SMA200 by year

In summary, evidence suggests that the QQQ:IWM-GLD:TLT strategy may have value for investors who can achieve very low levels of trading frictions.

Cautions regarding findings include:

  • The sample period is short for reliable inference about annual performance.
  • Assumed levels of switching and rebalancing frictions are more likely too low than too high for most investors.
  • Daily rebalancing may not be necessary to achieve most QQQ:IWM-GLD:TLT benefits.
  • Some specification of risk-on/risk-off other than S&P 500 Index SMA200 crosses may change findings.
  • Testing multiple asset choices in the same model introduces data snooping bias, such that the best-performing choice overstates expectations (incorporates luck). This caution becomes acute when the modeler selecting assets is familiar with their past performance.

See also “Best Safe Haven ETF?”.

Frequently Asked Questions

What is a risk-on/risk-off switching strategy based on the 200-day moving average?

A risk-on/risk-off switching strategy based on the 200-day simple moving average (SMA200) holds growth-oriented assets when the S&P 500 Index is above its SMA200 and shifts to defensive assets when it is below. In the article's version, the strategy holds an equal-weighted QQQ and IWM portfolio when risk-on and an equal-weighted GLD and TLT portfolio when risk-off. The test used daily data from November 2004 through November 2020.

Does a QQQ:IWM and GLD:TLT switching strategy beat buy-and-hold SPY?

The QQQ:IWM-GLD:TLT switching strategy beat buy-and-hold SPY gross of frictions but not net of them. With baseline frictions (0.1% per switch and 0.001% daily rebalancing), the strategy's CAGR was 6.7% versus 8.8% for SPY from November 2004 to November 2020. The strategy still had the better maximum drawdown, and its year-by-year relative performance was inconsistent.

How do you backtest a strategy that switches between stocks and gold/Treasuries using the S&P 500 200-day average?

The backtest holds an equal-weighted QQQ and IWM portfolio when the S&P 500 Index is above its SMA200 and an equal-weighted GLD and TLT portfolio when below, using daily dividend-adjusted ETF levels from November 18, 2004 through November 25, 2020. Performance is measured gross and net, with net results assuming 0.1% switching frictions and 0.001% daily rebalancing frictions. Metrics include number of switches, average daily return, standard deviation, daily reward/risk, CAGR and maximum drawdown, compared against buy-and-hold SPY and a SPY-TLT switching benchmark.

Is holding gold and long-term Treasuries together better than holding only Treasuries during stock market downturns?

An equal-weighted GLD:TLT portfolio may be superior to TLT alone when the S&P 500 Index is below its SMA200, depending on the assumed daily rebalancing frictions. GLD and TLT have low return correlations of 0.14 across all days and 0.12 when the S&P 500 is below its SMA200, supporting diversification value. On a gross basis, GLD:TLT beat TLT in 9 of 14 years containing bear market conditions, though close years may flip after rebalancing frictions.

What are the limitations and risks of backtesting a QQQ:IWM and GLD:TLT switching strategy?

The QQQ:IWM-GLD:TLT backtest has several limitations: the sample period is short for reliable inference about annual performance, and the assumed switching and rebalancing frictions are more likely too low than too high for most investors. Net results are sensitive to frictions; doubling SMA200 switching frictions cuts the strategy's CAGR to 6.1%. Other risk-on/risk-off definitions may change the findings, and testing multiple asset choices introduces data snooping bias that overstates expected performance.

Asset Allocation and Portfolios guide

More on tactical allocation

  • Growth-inflation Regimes and Asset Class Returns Premium Claude-generated charts of annual SPY, TLT, VNQ, GLD and DBC returns across four growth-inflation regimes show no obvious patterns; stagflation favored TLT and GLD…
  • Regime-Optimal Trend Following Premium Regime-dependent optimal allocation (OPT) improved gross Sharpe ratios versus conventional time series momentum in both 2-regime and 4-regime models (U.S. equities from 1926, 14…
  • Tactical Signals from a Gold/Silver Ratio? Premium GLD/SLV:SMA12 switching (hold SLV when the GLD/SLV price ratio is above its 12-month SMA, else GLD; monthly) showed higher gross CAGR than GLD, with…
  • Gold Price Regime Changes? Premium Gold showed -0.02 average and 0.20 maximum 10-year rolling monthly return correlation with the S&P 500 Index (Jan 1975–Mar 2025); gold ETF demand correlates…
  • Extension of “A Quantitative Approach to Tactical Asset Allocation” Premium Faber's five-index SMA200 tactical allocation strategy (monthly; S&P 500, MSCI EAFE, 10-year Treasuries, GSCI, NAREIT; T-bills when below) earned 6.0% gross CAGR, 0.68 Sharpe…

All 247 articles in the Asset Allocation and Portfolios guide

Guru Grades

1,206 predictions by 42 market gurus since 2022: 41% right. Always saying stocks will go higher: 62%.

As of the Nov 19, 2026 close

  1. 1 Ed Yardeni A 71%
  2. Always bullish B 62%
  3. 2 Jim Paulsen B 61%
  4. 3 Sam Stovall B 58%
  5. 4 Adam Turnquist B 58%
  6. 5 Ryan Detrick B 56%

Full leaderboard ›