Skip to content
lin
Is Gold Really an Inflation Hedge? A Backtest Changed My Answer
Trading JournalOctober 7, 2026

Is Gold Really an Inflation Hedge? A Backtest Changed My Answer

L
Lin's Take

Writing this from my desk after the NY close. Real trades, real results, real lessons.

✦Key Takeaways

  • ✦Could I build a rule around inflation data alone?。
  • ✦Gold does not hedge inflation reliably.
  • ✦I was ignoring the wrong variable.
  • ✦If gold is a real-yield asset, then trading it off inflation headlines is tradin。

Is Gold Really an Inflation Hedge? A Backtest Changed My Answer

I spent a weekend buried in a spreadsheet. It killed a ten-year idea.

Simple idea, really. Inflation rises, gold rises. That's what every macro primer says. Every talking head. Every "gold is a store of value" line I've absorbed since I started trading. Felt like physics. Felt obvious.

Then I plotted it. Gold against CPI. Rolling correlation, decade by decade.

The line flipped. Positive through one stretch. Negative through another. Then positive again. If gold were a dependable inflation hedge, that line should sit steady in positive territory. It does not.

So what is gold actually hedging?

That question cost me a few weekends. It also rewired how I read every CPI print now.

Short answer, after all that spreadsheet time: real yields. Not CPI. But getting there meant killing a rule I wanted to work.

The Bet I Was Trying To Settle

My goal was narrow. Could I build a rule around inflation data alone? Clean idea. CPI comes in hot, gold rallies. CPI comes in cool, gold sells off. If that held together with enough consistency, I'd have a mechanical edge. No need to sit at the screen through every US session.

That last part mattered. I've spent a decade in XAUUSD. Most of it staring at a D1 chart, drawing Fibs from the last swing high and low, waiting for NY open to confirm a level. It works. But it's labor. A CPI rule would've let me step back.

So I pulled the data I could find, going back as far as the reliable series allowed. Lagged gold against trailing inflation. Checked year over year and month over month. Split the sample by decade because the first pass looked unstable and I wanted to see exactly where it broke.

What came back wasn't a rule. It was a map of regimes.

What The Data Actually Did

Gold does not hedge inflation reliably. That's the honest version, messier than the marketing.

Some periods, gold and inflation moved together the way the textbooks promise. Others, they moved in opposite directions. Sometimes for years at a time. A third set of periods? The relationship just disappeared. No signal. Noise.

That's not how a hedge behaves. A hedge has a job. Shouldn't it pay off when the thing you're hedging against shows up? If gold only works against inflation in certain regimes, is it really hedging inflation? It's hedging something that sometimes travels with inflation and sometimes walks the other way.

Which raises the question I couldn't shake. What is the market actually pricing when it buys gold?

My answer, after all that spreadsheet time, is real yields. Not nominal inflation and not the headline CPI number. The gap between the yield you can earn on a government bond and the inflation eating into it. When that gap is deeply negative, holding a metal that pays you nothing starts to make sense, because cash and bonds are paying you less than nothing. When real yields are strongly positive, gold has to compete with an income stream, and it usually loses.

That reframe explains the flipping correlation. In the 1970s, as I understand the history, real yields were deeply negative and gold tore higher alongside inflation. Through the 1980s and into the 1990s, central banks pushed real yields up and gold spent years going nowhere. Inflation didn't vanish in that second stretch. The metal just stopped caring.

The Variable I Was Ignoring

I was ignoring the wrong variable. Not just in the model. In my own head.

I'm a structure guy. Give me a D1 chart and a Fib retracement and I'm comfortable. Macro was never my lane. So when I first built the model, I treated CPI as a trigger. Number prints, position goes on. Clean. Mechanical. Wrong.

The CPI number itself is often the least informative input in the chain. The reaction depends on what the market already expected, what the Fed is signaling about its next move, and where the dollar is sitting. A hot print into a dovish Fed is a different animal from a hot print into a hawkish one. Same number, opposite trade.

I got burned on this in a way I still remember. A CPI print came in hotter than consensus and I bought gold off the number because my rule said so. Price popped for a few minutes, then reversed hard and never looked back. What I'd missed was that real yields were climbing the whole time and the dollar was bid. The inflation headline was noise. The discount rate was the signal.

I was wrong. Not about direction forever, just about the driver. That trade is the tuition I paid for this lesson.

Why Real Yields Change Everything

If gold is a real-yield asset, then trading it off inflation headlines is trading the wrong variable. That's the piece most people skip.

Think about what a CPI print actually does. It moves expectations about future policy. It shifts the market's view of where real yields are heading. Gold is reacting to that shift, not to the inflation itself. Two traders can read the same hot print and take opposite positions, and both can be right, because the print isn't the trade. The regime is the trade.

This is also why gold can fall on an inflation surprise. If the surprise pushes real yields higher, the metal has a reason to sell even though the headline says "inflation." The number and the reaction point in opposite directions. Traders who only watch the number get run over.

So I stopped asking what CPI did and started asking three questions before I touch a gold position around a release.

  • Are real yields falling or rising? Falling is a tailwind. Rising means I need a much better reason to be long.
  • Is the dollar bid or offered? A strong dollar is a headwind that can overwhelm any inflation narrative. When the dollar and gold move together, something unusual is happening and I want to understand it before I size up.
  • Is the Fed more worried about inflation or about growth? That tells me whether a hot print gets treated as a reason to tighten or a reason to look through.

None of this is a precise timing tool. I'm not claiming I can call a top or a bottom off macro. What I claim is that this framework keeps me out of trades where the story and the structure disagree. And most of my worst trades were exactly that: a good narrative sitting on top of a bad structure.

How I Trade CPI Now

On the D1, I still start with structure. Mark the last meaningful swing high and low, draw my Fib retracement, note where price has repeatedly turned. That part of my process hasn't changed in years. What changed is the context I read it in.

Before a CPI release I check the macro backdrop first. If real yields are falling and the dollar is soft, a pullback into a Fib zone is something I'll buy, because macro and structure agree. If real yields are rising and the dollar is firm, a pullback into the same zone is a setup I skip or fade, because I'm fighting the current.

I wait for the US session to confirm. The Asian session around an inflation print is often a fakeout machine, thin liquidity and stop runs. NY open is where real positioning shows up. I'd rather give up a little of the move and trade the confirmed direction than guess at the knee-jerk.

And I size down around the release itself. The volatility is real. A stop that looks generous on a quiet day means nothing in the first minute after a print. I respect that gap risk instead of pretending I can out-execute it.

One more thing I've learned the hard way. The first move after a print is usually a lie. Price spikes into the number, grabs the stops on both sides, and then the real direction sets in. If you're not positioned before the release, the first few minutes are not your trade. They're the market shaking out the people who had to be right immediately.

What Ten Years Did Not Tell Me

Ten years of screen time taught me structure. It did not teach me this. The backtest did.

Gold is not an inflation hedge in the way the marketing says. In my reading of the data, it's a real-yield asset that occasionally gets dragged around by inflation because the two are related but not the same thing.

That distinction changes how you trade it. If you trade the headline CPI number in isolation, aren't you just trading a coin flip dressed up as a strategy? If you trade the regime, real yields, the dollar, the Fed's tone, you're trading a story with a spine.

I still love this market. Ten years in, XAUUSD is where I do my best work. But I respect the simple stories less now, and I trust the regime more. The chart will tell you where price is. It will not tell you why. For that you have to zoom out and read the macro underneath.

So here's the question I'd put to you. If you've been trading gold off CPI prints alone, has it actually been working? Or have you just been getting paid by luck in the good regimes? Because those regimes end. When they do, the traders who understand the why are the ones still standing.

"I don't predict. I prepare." — Every trade I share here is placed with real money, in real time, during the US session. No indicators, no noise — just price action and experience.

— Happy trading, Lin

📩 Get Free Gold Trading Signals

Daily XAUUSD analysis + weekly market report. Join 500+ traders.

🤖

Next Tool

Optimize your next trade with data?

🎯Risk/Reward Calculator →

Today's Signal

Live

Latest trade setup published by Lin

Short 📉XAUUSDConfidence: 6/10
Entry
4026.87
Stop Loss
4030.34
Take Profit
4019.93

Continue Reading