Technical analysis

Best Stochastic Settings for Gold: 5,3,3 vs 14,3,3 Tested on XAUUSD

Stochastic settings like 5,3,3 and 14,3,3 are passed around gold trading groups as if one of them were the secret. We tested four common settings, plus a trend-filtered version, on two years of hourly XAUUSD data and eleven years of daily data with costs included. On the hourly chart, every one of them lost money. Here are the numbers and what they mean for how you use the stochastic.

Gold, last 60 daily candlesGold, last 60 daily candlesHigh $4,755 · low $3,975 · last session range $63.5 · 20-day average daily range $69.7$4,200$4,400$4,600$3,978Sep ’26Oct ’26
COMEX gold, daily open/high/low/close, last 60 sessions · data to 30 Oct 2026 · xauusdglobal.com

The short answer

The most common stochastic settings on gold are 14,3,3 (the default), 5,3,3 for fast scalping, 8,3,3 as a middle ground and 21,5,5 for slower, smoother signals. We tested all four on two years of hourly XAUUSD data with a $0.30 per ounce cost per trade. All four lost money on the hourly chart, and so did a version that only traded in the direction of the 200 EMA.

The useful lesson is not “find a better setting”. It is that the stochastic, like RSI, is a poor standalone reversal signal on a trending market. It works better as a timing tool inside a plan that already knows the trend and the level.

What the stochastic measures

The stochastic oscillator shows where the latest close sits within the recent high-to-low range, on a scale of 0 to 100. With a 14-period setting, a reading of 90 means the close is near the top of the last 14 bars’ range. The three numbers in a setting such as 14,3,3 are:

  • 14: the lookback for the high-low range (%K)
  • 3: smoothing applied to %K (the “slow” stochastic)
  • 3: the moving average of %K, called %D, the signal line

Readings above 80 are called overbought and below 20 oversold. The classic signal is %K crossing %D inside one of those zones.

The stochastic settings gold traders use

Setting Typical use Character
5,3,3 Scalping on M1 to M5 Very fast, very many signals
8,3,3 Intraday Fast but a little smoother
14,3,3 Default on most platforms Balanced
21,5,5 Swing trading Slow and smooth, fewer signals

Why gold’s volatility changes things

The stochastic is built from the high-low range, so it reacts directly to volatility. Gold’s average daily range on COMEX futures went from about $34 in 2024 to $64 in 2025 and about $123 so far in 2026. Over our test window the hourly ATR(14) averaged $17.49. When ranges are large and gold trends, the close sits at the top or bottom of the range for many bars in a row, so the stochastic pins near 100 or 0 and every small dip produces a “signal”. Faster settings suffer most.

We tested 5 stochastic setups on 2 years of hourly gold data

How we tested. COMEX gold futures (GC=F) 1-hour bars from 30 October 2024 to 30 October 2026, 11,445 bars, plus daily bars from January 2015. Rule: buy when %K crosses above %D with the lines below 20; sell short when %K crosses below %D with the lines above 80. Each trade has a stop of 1.5 × ATR(14) and a target of 3 × ATR(14), or closes on the opposite signal. Signals are taken on the close and filled at the next bar’s open. Each trade is 1 ounce and pays $0.30 per ounce for spread and slippage. Results are in US dollars per ounce; maximum drawdown is the largest fall in closed-trade equity. Year 1 ends on 30 October 2025.

For context, holding gold gained about $1,194 an ounce in year 1 and about $14 in year 2, although year 2 included a rally to about $5,627 in January 2026 and a steep fall.

Hourly (H1) results

Setting Trades Win rate Avg per trade Profit factor Net result Max drawdown Year 1 Year 2
Stoch 5,3,3 868 41.1% −$1.49 0.90 −$1,290 $1,484 −$672 −$617
Stoch 8,3,3 843 39.0% −$2.52 0.84 −$2,122 $2,263 −$1,050 −$1,072
Stoch 14,3,3 811 36.5% −$3.38 0.79 −$2,742 $2,845 −$899 −$1,842
Stoch 21,5,5 510 33.5% −$1.15 0.93 −$585 $780 −$358 −$227
Stoch 14,3,3 + 200 EMA filter 237 30.4% −$3.67 0.80 −$870 $1,030 −$205 −$665

Daily (D1) results since 2015

Setting Trades Win rate Avg per trade Profit factor Net result Max drawdown 2015–20 2021–26
Stoch 5,3,3 283 44.2% −$3.69 0.85 −$1,045 $1,656 +$98 −$1,143
Stoch 8,3,3 259 44.8% +$3.31 1.14 +$857 $842 +$219 +$638
Stoch 14,3,3 242 42.1% −$2.06 0.93 −$499 $1,216 +$236 −$735
Stoch 21,5,5 151 34.4% −$1.68 0.94 −$254 $977 +$77 −$331
Stoch 14,3,3 + 200 EMA filter 66 39.4% +$3.73 1.12 +$246 $958 +$12 +$234

What the results say, in plain English

  • Every hourly setting lost, in both years. That consistency is the most important finding. It was not one bad stretch; the rule was on the wrong side of gold’s moves throughout.
  • The default 14,3,3 was the worst hourly setting, losing about $2,742 an ounce over 811 trades, with a drawdown of about $2,845.
  • Shorts did more damage than longs. In all four unfiltered hourly settings, the short trades lost more. In a rising market, “sell when overbought” is fighting the tide.
  • The 200 EMA filter did not rescue it on H1. Taking only trades in the trend direction cut the number of trades by more than two-thirds, but the result was still a loss. Buying a stochastic turn in an uptrend often meant buying a dip that kept dipping.
  • One daily setting was positive. 8,3,3 on the daily chart made $857 an ounce since 2015 and was positive in both halves. With one success out of four plain settings, that could easily be chance. It is a candidate to test further, not a discovery.

The stochastic and RSI behaved in a very similar way in our tests. Compare the RSI settings results: both oscillators lost as reversal rules on hourly gold.

How to use the stochastic on different timeframes

Scalping (M1 to M5). 5,3,3 is popular because it moves quickly. On these charts it will cross many times an hour. Use it only at a level you marked beforehand, in the direction of the higher-timeframe trend, and accept that many crosses should be ignored. Check how much each move is worth with the gold pip calculator.

Intraday (M15 to H1). 14,3,3 is fine for reading momentum. Rather than trading every cross in the extreme zones, watch for the stochastic to turn back up from below 50 in an uptrend: a sign that a pullback is losing steam.

Swing (H4 to D1). Slower settings such as 14,3,3 or 21,5,5 give fewer readings. Our daily results suggest a turn from an extreme is a weak trigger on its own; combine it with weekly support and resistance.

A combination idea: stochastic for timing, structure for location

  1. Define the trend on H4 with market structure or the 200 EMA.
  2. Mark the zone where you would expect a pullback to stop, such as a prior breakout level.
  3. Wait for price to reach it. Only then look at the stochastic on M15 or H1.
  4. Take the trade when %K crosses back above %D, with the stop beyond the zone and size set by your risk, using the position size calculator.

Here the stochastic is the last item on a checklist, not the first. In ranging conditions, the ideas in our mean reversion lesson explain when fading extremes has a better chance, and the RSI divergence lesson shows how momentum divergence is combined with a structure break.

Common mistakes with the stochastic on gold

  • Selling every reading above 80. In a trend, the stochastic can stay above 80 for most of a session.
  • Running RSI and the stochastic together. They tell you almost the same thing; two agreeing oscillators are not two confirmations.
  • Using fast settings without counting costs. The 5,3,3 hourly rule traded 868 times, paying about $260 an ounce in costs.
  • Cherry-picking the one setting that worked. The daily 8,3,3 result looks good in isolation. Look at its neighbours: 5,3,3 and 14,3,3 lost.
  • Fixed-size stops. Gold’s hourly range in 2026 has often been several times what it was in 2024. Check current ATR on the gold volatility tool.

These are results of simple mechanical rules on past data, not recommendations. Indicator results depend heavily on the market period; 2025 and 2026 were unusually volatile and trending years for gold.

Test it yourself

Write your stochastic rule down exactly, including the stop, target and exit. Run it on a year or more of your broker’s XAUUSD data, with your real spread. Split the sample in half, as we did, and check whether both halves agree. If you want to test the daily 8,3,3 result, do it on a different period or a different gold feed: that is the only way to tell an edge from a fluke. Our backtesting lesson walks through the process, and the gold indicator settings hub shows all 12 indicators side by side.

Test it with other traders

Testing alone makes it easy to fool yourself. Inside the XAUUSD Global community, traders run settings like these on their own charts, post their results and challenge each other’s conclusions. The first month is free, then $19.99 a month.

Educational content only, not financial advice. Trading gold with leverage carries a high risk of loss.

Frequently asked questions

What is the best stochastic setting for gold?

In our two-year hourly test, none of the four common settings (5,3,3, 8,3,3, 14,3,3 and 21,5,5) made money as a simple crossover-in-the-extreme-zone rule after a $0.30 per ounce cost. The slow 21,5,5 setting lost the least because it traded least. The standard 14,3,3 is a reasonable default for reading momentum.

Is 5,3,3 good for scalping gold?

5,3,3 is a popular fast setting and gives many signals: 868 on the hourly chart over two years in our test. It lost $1,290 per ounce in total after costs, losing in both years. On lower timeframes it will fire even more often, so it needs a strong filter such as a level or a trend direction.

Why did the stochastic lose money on gold?

The test rule bought when the stochastic turned up below 20 and sold when it turned down above 80. Gold trended strongly in 2025 and 2026, and buying weakness or selling strength in a trend keeps catching the wrong side. Short trades lost more than long trades in all four unfiltered hourly settings.

Did any stochastic setting work on the daily chart?

One did: 8,3,3 on daily data since 2015 finished plus $857 per ounce over 259 trades, positive in both halves. The other three plain settings lost. One positive result out of four is weak evidence and could be luck, so treat it as something to test further, not a proven setting.

Stochastic or RSI for gold?

They measure similar things. RSI compares up and down closes; the stochastic compares the close with the recent high-low range. In our tests both lost money as standalone reversal rules on hourly gold. Use one, not both, and use it for timing within a plan built on trend and levels.

Sources and further reading

External sites are independent of XAUUSD Global. Check dates and data yourself.