Stochastic, CCI and Williams %R: does it work?
Last updated
In-sample, not a promise. Every figure we measured here comes from a backtest on past data.
Did Stochastic, CCI and Williams %R beat the benchmark in Tickfloor's test?
No. We tested Stochastic, CCI and Williams %R on two US stock universes (40 stocks and 8 stocks), 18 crypto pairs, 2016 to 2025. After costs, it returned 14.4 to 107.9 percentage points a year less than the benchmark. None held up once we allowed for the many other rules we tested. This was a historical test, not advice.
The stochastic oscillator, the Commodity Channel Index (CCI) and Williams %R all try to flag when a price has stretched too far and is due to snap back.
The rule we tested. Four rules: buying a stochastic %K cross up from below 30 while price is above its 200‑day average, on eight large US stocks, holding five days, trading a CCI(20) reading beyond plus or minus 200 on crypto, trading Williams %R overbought and oversold readings on crypto, and a CCI(20) trend version that stays long while CCI is above +100 on 40 US stocks.
- Stochastic oversold cross −17.5 pts/yr vs the benchmark, 252 trades, p=1.000, corrected q=1.000
- CCI(20) extreme reversal (±200) −98.8 pts/yr vs the benchmark, 1,064 trades, p=1.000, corrected q=1.000
- Williams %R overbought/oversold reversal −107.9 pts/yr vs the benchmark, 2,973 trades, p=1.000, corrected q=1.000
- CCI(20) trend: long while CCI > +100, US stocks 1d x40 −14.4 pts/yr vs the benchmark, 4,756 trades, p=1.000, corrected q=1.000
Receipt: parameters, data, window and result file
Stochastic oversold cross
- Run id
- r30-stoch, run 6 October 2026
- Frozen parameters
- timeframe 1d; rule="Long 5 bars when %K14 crosses above its 3-bar mean below 30 and close > SMA200.", signalLagBars=1, warmupBars=200
- Data source
- vendor not recorded in the result file; data fingerprint sha256 5dd0b1be488475b4...
- Instruments and coverage
- 8 assets: AAPL, AMZN, GOOGL, JPM, XOM, JNJ, V, COST. 3 corrupt vendor bar-day(s) across 3 assets were dropped, never repaired
- Date window
- 15 September 2016 to 14 March 2025 (discovery cutoff 15 March 2025)
- Sample
- 252 completed trades over 15 September 2016 to 14 March 2025 (8.5 years)
- Cost rule
- 0.05% per side; charged on every change in position/weight; benchmark pays none; no funding/borrow on shorts
- Fill rule
- not recorded
- Benchmark
- equal-weight long of the same assets, rebalanced daily across assets trading that day (no costs)
- Rule source (public)
- research/hunt2/strategies/r30-stoch.mjs
- Run record (public)
- research/hunt2/ledger.jsonl, line with id r30-stoch
- Full result file
- not published yet
CCI(20) extreme reversal (±200)
- Run id
- social-ta-cci-extreme-reversal, run 6 October 2026
- Frozen parameters
- timeframe 1d; cciPeriod=20, upperThreshold=200, lowerThreshold=-200, exitUpper=100, exitLower=-100, maxHold=15
- Data source
- vendor not recorded in the result file; data fingerprint sha256 e7098c5c15a8401c...
- Instruments and coverage
- 18 assets: BTCUSDT, BNBUSDT, XRPUSDT, ADAUSDT, DOGEUSDT, LTCUSDT, LINKUSDT, TRXUSDT, BCHUSDT, ATOMUSDT, ETCUSDT, DASHUSDT and 6 more (full list in the result file)
- Date window
- 18 August 2017 to 14 March 2025 (discovery cutoff 15 March 2025)
- Sample
- 1,064 completed trades over 18 August 2017 to 14 March 2025 (7.6 years)
- Cost rule
- 0.10% to 0.17% per side; charged on every change in position/weight; benchmark pays none; no funding/borrow on shorts
- Fill rule
- not recorded
- Benchmark
- equal-weight long of the same assets, rebalanced daily across assets trading that day (no costs)
- Rule source (public)
- research/hunt2/strategies/social-ta-cci-extreme-reversal.mjs
- Run record (public)
- research/hunt2/ledger.jsonl, line with id social-ta-cci-extreme-reversal
- Full result file
- not published yet
Williams %R overbought/oversold reversal
- Run id
- social-ta-williams-r-reversal, run 6 October 2026
- Frozen parameters
- timeframe 1d; window=14
- Data source
- vendor not recorded in the result file; data fingerprint sha256 e7098c5c15a8401c...
- Instruments and coverage
- 18 assets: BTCUSDT, BNBUSDT, XRPUSDT, ADAUSDT, DOGEUSDT, LTCUSDT, LINKUSDT, TRXUSDT, BCHUSDT, ATOMUSDT, ETCUSDT, DASHUSDT and 6 more (full list in the result file)
- Date window
- 18 August 2017 to 14 March 2025 (discovery cutoff 15 March 2025)
- Sample
- 2,973 completed trades over 18 August 2017 to 14 March 2025 (7.6 years)
- Cost rule
- 0.10% to 0.17% per side; charged on every change in position/weight; benchmark pays none; no funding/borrow on shorts
- Fill rule
- not recorded
- Benchmark
- equal-weight long of the same assets, rebalanced daily across assets trading that day (no costs)
- Rule source (public)
- research/hunt2/strategies/social-ta-williams-r-reversal.mjs
- Run record (public)
- research/hunt2/ledger.jsonl, line with id social-ta-williams-r-reversal
- Full result file
- not published yet
CCI(20) trend: long while CCI > +100, US stocks 1d x40
- Run id
- t1010-cci100-s, run 10 October 2026
- Frozen parameters
- timeframe 1d; n=20, level=100
- Data source
- vendor not recorded in the result file; data fingerprint sha256 f8bd56551e6502b2...
- Instruments and coverage
- 40 assets: AAPL, NVDA, AMZN, GOOGL, META, TSLA, JPM, V, UNH, XOM, JNJ, COST and 28 more (full list in the result file). 9 corrupt vendor bar-day(s) across 9 assets were dropped, never repaired
- Date window
- 15 September 2016 to 14 March 2025 (discovery cutoff 15 March 2025)
- Sample
- 4,756 completed trades over 15 September 2016 to 14 March 2025 (8.5 years)
- Cost rule
- 0.05% per side; charged on every change in position; benchmark pays none; no funding/borrow on shorts
- Fill rule
- not recorded
- Benchmark
- equal-weight long of the same assets, rebalanced daily across assets trading that day (no costs)
- Rule source (public)
- research/hunt2/strategies/t1010-cci100-s.mjs
- Run record (public)
- research/hunt2/ledger.jsonl, line with id t1010-cci100-s
- Full result file
- not published yet
No. None of the versions we tested passed. None held up once we allowed for how many other rules we tested. That covers the versions, costs and benchmark described here, not every version of the rule.
Tested a rule of your own? Check whether your backtest is just luck. It is free and needs no account.
Scope: Stochastic oversold cross is a Tickfloor research-desk hypothesis, not a rule published by a named source, so it says nothing about any published version.
This is one line in a bigger check. The research desk has run 1,346 strategies, most against an equal-weight benchmark of the same assets rebalanced daily that pays no costs (the strategies pay theirs). After correcting for how many we tried (the luck check, Benjamini‑Hochberg, 1,778 tests), 0 passed. That does not prove no strategy works, and it says nothing about versions we did not test.
Short answers: the verdict and the rule, as questions
Do the stochastic oscillator, CCI and Williams %R work?
No. None of the versions we tested passed. After costs: US stocks −17.5 pts/yr vs the benchmark; crypto pairs −98.8 pts/yr vs the benchmark; crypto pairs −107.9 pts/yr vs the benchmark; US stocks −14.4 pts/yr vs the benchmark. None held up once we allowed for how many other rules we tested. That covers the versions, costs and benchmark described here, not every version of the rule.
What exact rule did Tickfloor test?
Four rules: buying a stochastic %K cross up from below 30 while price is above its 200-day average, on eight large US stocks, holding five days, trading a CCI(20) reading beyond plus or minus 200 on crypto, trading Williams %R overbought and oversold readings on crypto, and a CCI(20) trend version that stays long while CCI is above +100 on 40 US stocks.
What about the StochRSI?
The StochRSI cross has its own page with a claimed-versus-measured win rate, linked below.
Is this financial advice?
No. This measures a publicly claimed strategy rule, not a recommendation. General information only, not personal advice.
See the full numbers on the Pairs and stat arb, Mean reversion, Popular indicator rules family pages, or the full method and every result.
Linked from this page
Other rules we've tested
Terms explained
Next steps
- See a full worked example (free, no account)
- Start lesson 1 of the course (free)
- Run your own version of this rule in the Backtest Lab (needs a pass)
General information only. It doesn't consider your objectives, finances or needs. Tickfloor holds no financial services licence and never places trades.