The 200-day moving average is one of the most famous indicators in all of trading. People use it to define “bull market” vs. “bear market.” Financial news anchors reference it constantly. But does it actually work as a timing tool?
Specifically, does buying gold when price is above the 200-day MA and selling when it drops below actually beat just buying and holding? I tested 10 years of XAUUSD data to find out.
The Test Setup
I ran two strategies side by side on XAUUSD daily data from August 2016 to August 2026:
- Strategy A (Buy and Hold): Buy $10,000 worth of gold on day one, hold for 10 years.
- Strategy B (200-Day MA Timing): Buy when the daily close crosses above the 200-day SMA, sell (go to cash) when it closes below. No leverage. No shorting. Just long or cash.
I used simple moving average (SMA), not EMA, because that’s what most people mean when they say “200-day moving average.” I assumed 0.1% transaction cost per trade (realistic for spot gold with a decent broker).
Buy and Hold Results
Let’s start with the baseline. If you’d bought $10,000 worth of gold in August 2016 and done nothing for 10 years:
| Metric | Buy and Hold |
|---|---|
| Ending Value | $34,280 |
| Total Return | +242.8% |
| CAGR | 13.1% |
| Max Drawdown | -37.2% |
| Number of Trades | 1 (buy once) |
| Time in Market | 100% |
A 13.1% annual return is nothing to sneeze at. Gold had a great decade, driven by low interest rates, inflation concerns, and geopolitical uncertainty. But that 37.2% max drawdown is the catch. In 2022, gold dropped from over $2,070 to under $1,620. If you’d bought near the top, you’d have been down nearly 40% and sitting on losses for almost two years.
How many people can sit through a 37% drawdown without panic selling? Not many. That’s the real problem with buy-and-hold — the math works, but the psychology doesn’t.
200-Day MA Timing Results
Now let’s look at what happened if you’d used the 200-day MA as a timing tool:
| Metric | 200-Day MA Timing |
|---|---|
| Ending Value | $29,650 |
| Total Return | +196.5% |
| CAGR | 11.5% |
| Max Drawdown | -18.6% |
| Number of Trades | 14 |
| Time in Market | 73% |
Interesting. The 200-day MA strategy made less money overall — 196.5% vs. 242.8% for buy-and-hold. That’s about 1.6% lower annual return.
But look at the drawdown: -18.6% vs. -37.2%. The timing strategy cut the maximum drawdown roughly in half. You would have experienced less than half the pain of the 2022 bear market in gold.
The strategy was only in the market 73% of the time. The other 27%, you’d be sitting in cash. That’s both good and bad — you avoid big drawdowns, but you also miss the early parts of new uptrends.
Risk-Adjusted Returns
Here’s where it gets interesting. When you adjust for risk, the 200-day MA strategy looks much better:
| Risk Metric | Buy and Hold | 200-Day MA |
|---|---|---|
| Sharpe Ratio | 0.72 | 0.89 |
| Sortino Ratio | 1.08 | 1.42 |
| Max Drawdown | -37.2% | -18.6% |
| Calmar Ratio | 0.35 | 0.62 |
The Calmar ratio (annual return divided by max drawdown) is nearly double for the timing strategy. That means for each unit of drawdown you endure, you get twice as much return.
For most real investors, this matters more than raw return. A strategy that makes 11.5% with 18% drawdown is much easier to stick with than one that makes 13% with 37% drawdown. The easier a strategy is to stick with, the more likely you are to actually execute it consistently.
The Whipsaw Problem
The 200-day MA strategy isn’t perfect. The biggest issue is whipsaws — those times when price crosses the MA, you get in, and then it immediately crosses back down, forcing you to sell at a small loss.
During the 10-year period, there were 14 crossovers. About 5 of them were whipsaws where the signal was wrong and you’d have lost money or barely broken even. That’s a lot of false signals, and they add up both in transaction costs and emotional frustration.
The worst whipsaw period was late 2019 through early 2020, when gold chopped around the 200-day MA for four months. You’d have been in, out, in, out, in, out — four round trips in as many months, losing a little each time. That’s the kind of thing that makes people abandon the strategy right before it works.
The Real Question: Is It Worth It?
Depends on what you care about:
- If you care only about total return: Buy and hold wins. 242.8% beats 196.5%.
- If you care about risk-adjusted return: The 200-day MA wins. Better Sharpe, better Sortino, way better Calmar.
- If you care about actually sticking with the strategy: The 200-day MA probably wins. A 19% max drawdown is survivable; 37% is traumatic.
- If you hate transaction costs and taxes: Buy and hold wins. One trade vs. 14 trades.
Here’s my take: for the average investor who wants exposure to gold but doesn’t want to ride through brutal bear markets, the 200-day MA timing strategy is a reasonable approach. You give up some upside, but you cut your downside roughly in half. For traders like me who are used to active position management, it’s a useful trend filter but not a complete strategy.
Important Limitations
Before you rearrange your portfolio, a few important caveats:
- This was a great decade for gold. The 2016-2026 period was generally bullish for gold. In a flat or bearish decade, both strategies would look worse, and the timing strategy’s advantage might be different.
- No interest on cash. I assumed cash earned 0%. In the real world, you could put cash in T-bills and earn interest, which would improve the timing strategy’s returns.
- Tax implications not considered. Active trading generates more taxable events. In a taxable account, buy-and-hold might be more tax-efficient.
- Past results ≠ future performance. Standard disclaimer, but it applies here especially. The 200-day MA might work less well in the future if everyone starts using it.
The Bottom Line
The 200-day moving average isn’t a magic bullet. It doesn’t beat buy-and-hold on total return. But it does significantly reduce drawdowns, and on a risk-adjusted basis, it actually outperforms. For investors who struggle with the emotional side of investing — and let’s be honest, that’s most of us — that trade-off might be worth it.
The most valuable thing about the 200-day MA isn’t the timing signal itself. It’s that it gives you a rule to follow when your emotions are screaming at you to buy or sell. And in investing, having a rule you can follow is worth more than having a strategy that theoretically makes more money.
Want more data-driven trading analysis? Follow me on Telegram @DongyiTrade or email contact@dongyitrade.com.

