The Stochastic Oscillator is George Lane’s indicator from the late 1950s. It asks one question: where did today’s close land inside the range of the last 14 days? 0 is the lowest low of those days, 100 the highest high. The Slow version, the one most charting sites show, smooths that reading over three days. Under 20 counts as oversold, over 80 as overbought.
The textbook trade is to buy when it climbs back above 20 and sell when it drops back under 80. I tested exactly that on the S&P 500 since 1980, long only: 216 closed trades.
The rules
- Buy when the Slow Stochastic (14, 3) crosses back above 20: the S&P 500 is climbing off the bottom of its 14-day range.
- Sell when it crosses back below 80, after the index has been near the top of its range.
- Daily high, low and close from January 1980. Long only; in cash between trades.
Market: S&P 500 index (^GSPC), price only, dividends not included.
The result
| Slow Stochastic back above 20 | Buy-and-hold | |
|---|---|---|
| Annual return | 3.91% | 9.42% |
| Total return | 505% | 6709% |
| Max drawdown | −54.5% | −56.8% |
| Worst fall, from – to | Sep 2000 – Mar 2009 | Oct 2007 – Mar 2009 |
| Time in the market | 39% | 100% |
| Trades | Value |
|---|---|
| Closed trades | 216 (+1 open) |
| Winners | 136 (63.0%) |
| Average winner | +3.23% |
| Average loser | −2.87% |
| Win/loss ratio | 1.13 |
| Profit factor | 1.92 |
| Best / worst trade | +15.8% / −25.8% |
| Average holding time | 22 sessions |
My read
On the scoreboard most traders look at first, it did well: 63% of trades won, the median trade made 1.10%, and the profit factor was 1.92. A trade lasted about 22 trading days on average.
It still made 3.91% a year, less than half of the 9.42% a year for holding the index. It was in the market only 39% of the days, and in a market that rises most years, sitting out costs money. And sitting out did not protect it: its worst fall was 54%, from Sep 2000 to Mar 2009, against 57% for holding.
One trade shows why. It bought on Sep 19, 2008, as the 2008 crash was getting going, and the rule had no way out until the indicator had been back above 80. That took until Nov 7, 2008, and the trade lost 25.8%. No other trade lost even 15%. My RSI under 30 test on Bitcoin had the same problem: an oversold buy signal with an exit that only comes after a rally.
My read: the Stochastic tells you where the close sits in a short range, and that is useful context on a chart. As a stand-alone rule it buys dips with no plan for the dip that keeps going. If I used it, the stop would come from the chart, as I explain in my stop-loss post, not from the oscillator.
Every trade
Open at the end of the data: bought Oct 28, 2026 at 7,744, −7.0% at the last close (Nov 24, 2026). Not counted in the trade statistics.
216 closed trades, newest first
| Bought | Price | Sold | Price | Result |
|---|---|---|---|---|
| 2026-08-28 | 7,712 | 2026-09-25 | 7,743 | +0.4% |
| 2026-07-29 | 7,316 | 2026-08-20 | 7,641 | +4.4% |
| 2026-03-26 | 6,477 | 2026-05-20 | 7,433 | +14.8% |
| 2025-12-22 | 6,878 | 2026-01-02 | 6,858 | −0.3% |
| 2025-11-25 | 6,766 | 2025-12-16 | 6,800 | +0.5% |
| 2025-03-05 | 5,843 | 2025-05-23 | 5,803 | −0.7% |
| 2024-12-24 | 6,040 | 2025-01-30 | 6,071 | +0.5% |
| 2024-11-06 | 5,929 | 2024-11-18 | 5,894 | −0.6% |
| 2024-09-11 | 5,554 | 2024-10-03 | 5,700 | +2.6% |
| 2024-07-31 | 5,522 | 2024-09-04 | 5,520 | −0.0% |
| 2024-04-24 | 5,072 | 2024-05-28 | 5,306 | +4.6% |
| 2024-01-09 | 4,757 | 2024-01-17 | 4,739 | −0.4% |
| 2023-11-02 | 4,318 | 2023-12-07 | 4,586 | +6.2% |
| 2023-10-09 | 4,336 | 2023-10-16 | 4,374 | +0.9% |
| 2023-08-09 | 4,468 | 2023-09-07 | 4,451 | −0.4% |
| 2023-03-06 | 4,048 | 2023-04-24 | 4,137 | +2.2% |
| 2022-12-13 | 4,020 | 2023-01-20 | 3,973 | −1.2% |
| 2022-08-26 | 4,058 | 2022-11-03 | 3,720 | −8.3% |
| 2022-06-24 | 3,912 | 2022-07-27 | 4,024 | +2.9% |
| 2022-04-21 | 4,394 | 2022-06-10 | 3,901 | −11.2% |
| 2022-02-28 | 4,374 | 2022-04-06 | 4,481 | +2.5% |
| 2022-01-27 | 4,327 | 2022-02-14 | 4,402 | +1.7% |
| 2021-12-07 | 4,687 | 2021-12-17 | 4,621 | −1.4% |
| 2021-09-16 | 4,474 | 2021-11-11 | 4,649 | +3.9% |
| 2020-11-04 | 3,443 | 2020-11-12 | 3,537 | +2.7% |
| 2020-09-16 | 3,385 | 2020-10-19 | 3,427 | +1.2% |
| 2020-03-03 | 3,003 | 2020-04-23 | 2,798 | −6.8% |
| 2019-10-07 | 2,939 | 2019-11-22 | 3,110 | +5.8% |
| 2019-08-08 | 2,938 | 2019-09-24 | 2,967 | +1.0% |
| 2019-06-06 | 2,843 | 2019-06-27 | 2,925 | +2.9% |
| 2018-12-13 | 2,651 | 2019-01-30 | 2,681 | +1.2% |
| 2018-11-29 | 2,738 | 2018-12-06 | 2,696 | −1.5% |
| 2018-10-17 | 2,809 | 2018-11-13 | 2,722 | −3.1% |
| 2018-07-03 | 2,713 | 2018-07-31 | 2,816 | +3.8% |
| 2018-04-04 | 2,645 | 2018-04-24 | 2,635 | −0.4% |
| 2018-02-08 | 2,581 | 2018-03-02 | 2,691 | +4.3% |
| 2017-08-15 | 2,465 | 2017-09-07 | 2,465 | +0.0% |
| 2017-03-28 | 2,359 | 2017-05-15 | 2,402 | +1.9% |
| 2017-01-04 | 2,271 | 2017-01-11 | 2,275 | +0.2% |
| 2016-11-08 | 2,140 | 2016-12-02 | 2,192 | +2.4% |
| 2016-06-30 | 2,099 | 2016-08-03 | 2,164 | +3.1% |
| 2016-05-11 | 2,064 | 2016-06-14 | 2,075 | +0.5% |
| 2016-02-16 | 1,896 | 2016-03-29 | 2,055 | +8.4% |
| 2016-01-25 | 1,877 | 2016-02-04 | 1,915 | +2.0% |
| 2015-12-16 | 2,073 | 2016-01-04 | 2,013 | −2.9% |
| 2015-11-18 | 2,084 | 2015-12-04 | 2,092 | +0.4% |
| 2015-10-02 | 1,951 | 2015-11-10 | 2,082 | +6.7% |
| 2015-08-28 | 1,989 | 2015-09-21 | 1,967 | −1.1% |
| 2015-07-06 | 2,069 | 2015-07-24 | 2,080 | +0.5% |
| 2015-06-11 | 2,109 | 2015-06-26 | 2,101 | −0.3% |
| 2015-03-17 | 2,074 | 2015-03-26 | 2,056 | −0.9% |
| 2015-01-21 | 2,032 | 2015-01-28 | 2,002 | −1.5% |
| 2014-12-19 | 2,071 | 2015-01-05 | 2,021 | −2.4% |
| 2014-09-29 | 1,978 | 2014-12-02 | 2,067 | +4.5% |
| 2014-08-12 | 1,934 | 2014-09-10 | 1,996 | +3.2% |
| 2014-04-17 | 1,865 | 2014-05-07 | 1,878 | +0.7% |
| 2014-02-10 | 1,800 | 2014-03-13 | 1,846 | +2.6% |
| 2013-12-18 | 1,811 | 2014-01-07 | 1,838 | +1.5% |
| 2013-10-11 | 1,703 | 2013-11-08 | 1,771 | +4.0% |
| 2013-08-26 | 1,657 | 2013-09-25 | 1,693 | +2.2% |
| 2013-06-10 | 1,643 | 2013-07-31 | 1,686 | +2.6% |
| 2012-10-17 | 1,461 | 2012-12-14 | 1,414 | −3.2% |
| 2012-05-11 | 1,353 | 2012-06-25 | 1,314 | −2.9% |
| 2012-04-13 | 1,370 | 2012-05-04 | 1,369 | −0.1% |
| 2011-12-01 | 1,245 | 2011-12-13 | 1,226 | −1.5% |
| 2011-10-06 | 1,165 | 2011-11-02 | 1,238 | +6.3% |
| 2011-08-12 | 1,179 | 2011-09-06 | 1,165 | −1.2% |
| 2011-05-19 | 1,344 | 2011-07-13 | 1,318 | −1.9% |
| 2011-03-16 | 1,257 | 2011-04-13 | 1,314 | +4.6% |
| 2010-08-18 | 1,094 | 2010-09-24 | 1,149 | +5.0% |
| 2010-07-08 | 1,070 | 2010-07-20 | 1,083 | +1.2% |
| 2010-05-26 | 1,068 | 2010-06-23 | 1,092 | +2.3% |
| 2010-02-03 | 1,097 | 2010-03-29 | 1,173 | +6.9% |
| 2009-11-03 | 1,045 | 2009-11-24 | 1,106 | +5.8% |
| 2009-10-07 | 1,058 | 2009-10-26 | 1,067 | +0.9% |
| 2009-06-26 | 919 | 2009-08-12 | 1,006 | +9.5% |
| 2009-01-26 | 837 | 2009-04-01 | 811 | −3.0% |
| 2008-11-25 | 857 | 2008-12-15 | 869 | +1.3% |
| 2008-09-19 | 1,255 | 2008-11-07 | 931 | −25.8% |
| 2008-05-30 | 1,400 | 2008-08-14 | 1,293 | −7.7% |
| 2008-03-06 | 1,304 | 2008-03-31 | 1,323 | +1.4% |
| 2007-12-21 | 1,484 | 2008-03-03 | 1,331 | −10.3% |
| 2007-10-25 | 1,514 | 2007-12-13 | 1,488 | −1.7% |
| 2007-08-08 | 1,497 | 2007-09-10 | 1,452 | −3.1% |
| 2007-03-09 | 1,403 | 2007-03-30 | 1,421 | +1.3% |
| 2006-07-20 | 1,249 | 2006-08-09 | 1,266 | +1.3% |
| 2006-05-30 | 1,260 | 2006-07-10 | 1,267 | +0.6% |
| 2006-04-19 | 1,310 | 2006-04-25 | 1,302 | −0.6% |
| 2006-02-10 | 1,267 | 2006-03-02 | 1,289 | +1.7% |
| 2006-01-04 | 1,273 | 2006-01-19 | 1,285 | +0.9% |
| 2005-09-27 | 1,216 | 2005-12-01 | 1,265 | +4.0% |
| 2005-09-01 | 1,222 | 2005-09-15 | 1,228 | +0.5% |
| 2005-06-30 | 1,191 | 2005-08-02 | 1,244 | +4.4% |
| 2005-04-01 | 1,173 | 2005-05-13 | 1,154 | −1.6% |
| 2005-01-19 | 1,185 | 2005-02-22 | 1,184 | −0.0% |
| 2004-10-28 | 1,127 | 2004-11-24 | 1,182 | +4.8% |
| 2004-09-30 | 1,115 | 2004-10-11 | 1,124 | +0.9% |
| 2004-07-29 | 1,100 | 2004-09-23 | 1,108 | +0.7% |
| 2004-05-06 | 1,114 | 2004-06-15 | 1,132 | +1.6% |
| 2004-03-19 | 1,110 | 2004-04-15 | 1,129 | +1.7% |
| 2003-11-25 | 1,054 | 2003-12-08 | 1,069 | +1.5% |
| 2003-10-02 | 1,020 | 2003-10-23 | 1,034 | +1.3% |
| 2003-08-11 | 981 | 2003-08-26 | 997 | +1.6% |
| 2003-06-27 | 976 | 2003-07-11 | 998 | +2.2% |
| 2003-02-18 | 851 | 2003-03-27 | 869 | +2.0% |
| 2002-12-19 | 884 | 2003-01-17 | 902 | +2.0% |
| 2002-09-10 | 910 | 2002-11-01 | 901 | −0.9% |
| 2002-06-18 | 1,037 | 2002-08-28 | 918 | −11.5% |
| 2002-04-01 | 1,147 | 2002-05-22 | 1,086 | −5.3% |
| 2002-01-28 | 1,133 | 2002-03-22 | 1,149 | +1.4% |
| 2001-12-19 | 1,150 | 2002-01-03 | 1,165 | +1.4% |
| 2001-08-27 | 1,179 | 2001-10-19 | 1,073 | −9.0% |
| 2001-06-05 | 1,284 | 2001-08-07 | 1,204 | −6.2% |
| 2001-02-27 | 1,258 | 2001-04-26 | 1,235 | −1.9% |
| 2000-12-27 | 1,329 | 2001-02-05 | 1,354 | +1.9% |
| 2000-12-04 | 1,325 | 2000-12-15 | 1,312 | −1.0% |
| 2000-09-25 | 1,439 | 2000-11-10 | 1,366 | −5.1% |
| 2000-08-03 | 1,453 | 2000-08-31 | 1,518 | +4.5% |
| 2000-05-15 | 1,452 | 2000-06-13 | 1,469 | +1.2% |
| 2000-02-01 | 1,409 | 2000-03-31 | 1,499 | +6.3% |
| 2000-01-10 | 1,458 | 2000-01-21 | 1,441 | −1.1% |
| 1999-10-21 | 1,284 | 1999-12-01 | 1,398 | +8.9% |
| 1999-09-29 | 1,268 | 1999-10-14 | 1,283 | +1.2% |
| 1999-08-13 | 1,328 | 1999-08-31 | 1,320 | −0.5% |
| 1999-06-07 | 1,335 | 1999-06-25 | 1,315 | −1.4% |
| 1999-02-12 | 1,230 | 1999-03-24 | 1,269 | +3.1% |
| 1998-10-12 | 998 | 1998-11-13 | 1,126 | +12.8% |
| 1998-07-29 | 1,125 | 1998-09-29 | 1,049 | −6.8% |
| 1997-12-30 | 971 | 1998-01-08 | 956 | −1.5% |
| 1997-10-29 | 919 | 1997-11-28 | 955 | +3.9% |
| 1997-08-20 | 939 | 1997-09-26 | 945 | +0.6% |
| 1997-03-25 | 789 | 1997-04-28 | 773 | −2.0% |
| 1996-12-20 | 749 | 1997-01-02 | 737 | −1.6% |
| 1996-07-15 | 630 | 1996-08-27 | 666 | +5.8% |
| 1996-06-25 | 668 | 1996-07-08 | 653 | −2.4% |
| 1996-05-09 | 645 | 1996-05-31 | 669 | +3.7% |
| 1996-04-15 | 642 | 1996-05-03 | 642 | −0.1% |
| 1996-01-17 | 606 | 1996-02-20 | 641 | +5.7% |
| 1995-12-22 | 612 | 1996-01-08 | 618 | +1.1% |
| 1994-11-29 | 455 | 1995-01-05 | 460 | +1.1% |
| 1994-09-29 | 462 | 1994-10-25 | 462 | −0.2% |
| 1994-06-29 | 448 | 1994-07-22 | 453 | +1.2% |
| 1994-05-17 | 449 | 1994-06-09 | 458 | +1.9% |
| 1994-04-06 | 448 | 1994-05-09 | 442 | −1.3% |
| 1994-02-10 | 469 | 1994-03-24 | 464 | −1.0% |
| 1993-11-09 | 460 | 1993-12-13 | 466 | +1.2% |
| 1993-07-09 | 448 | 1993-08-13 | 450 | +0.5% |
| 1993-06-15 | 446 | 1993-07-06 | 441 | −1.1% |
| 1993-04-13 | 449 | 1993-05-14 | 440 | −2.2% |
| 1993-02-23 | 435 | 1993-03-16 | 451 | +3.8% |
| 1993-01-13 | 433 | 1993-01-29 | 439 | +1.3% |
| 1992-08-27 | 414 | 1992-09-17 | 420 | +1.5% |
| 1992-06-16 | 408 | 1992-07-08 | 410 | +0.5% |
| 1992-02-05 | 414 | 1992-04-23 | 412 | −0.5% |
| 1991-11-21 | 380 | 1991-12-20 | 387 | +1.8% |
| 1991-10-14 | 386 | 1991-10-23 | 388 | +0.4% |
| 1991-09-19 | 388 | 1991-10-04 | 381 | −1.6% |
| 1991-06-28 | 371 | 1991-07-24 | 379 | +2.0% |
| 1991-05-20 | 372 | 1991-06-07 | 379 | +1.9% |
| 1991-03-27 | 375 | 1991-04-08 | 379 | +0.9% |
| 1991-01-17 | 328 | 1991-02-27 | 368 | +12.1% |
| 1990-08-14 | 339 | 1990-10-29 | 302 | −11.1% |
| 1990-06-22 | 355 | 1990-07-20 | 362 | +1.7% |
| 1990-05-03 | 336 | 1990-06-08 | 359 | +6.9% |
| 1990-02-27 | 330 | 1990-03-16 | 342 | +3.5% |
| 1990-02-02 | 331 | 1990-02-21 | 328 | −1.0% |
| 1989-12-22 | 347 | 1990-01-08 | 354 | +1.8% |
| 1989-11-09 | 337 | 1989-12-08 | 349 | +3.6% |
| 1989-09-19 | 347 | 1989-10-16 | 343 | −1.1% |
| 1989-03-30 | 293 | 1989-05-05 | 308 | +5.2% |
| 1989-03-06 | 295 | 1989-03-21 | 291 | −1.2% |
| 1988-11-23 | 269 | 1988-12-15 | 274 | +2.0% |
| 1988-08-29 | 262 | 1988-09-28 | 269 | +2.6% |
| 1988-07-29 | 272 | 1988-08-09 | 266 | −2.0% |
| 1988-04-26 | 264 | 1988-06-21 | 272 | +2.9% |
| 1988-04-07 | 266 | 1988-04-15 | 260 | −2.4% |
| 1988-01-14 | 246 | 1988-02-04 | 252 | +2.6% |
| 1987-10-23 | 248 | 1987-12-30 | 248 | −0.1% |
| 1987-09-11 | 322 | 1987-10-08 | 314 | −2.4% |
| 1987-05-27 | 289 | 1987-07-01 | 303 | +4.9% |
| 1987-04-20 | 286 | 1987-05-13 | 294 | +2.8% |
| 1987-01-05 | 252 | 1987-01-27 | 274 | +8.5% |
| 1986-09-24 | 236 | 1986-10-14 | 235 | −0.4% |
| 1986-07-11 | 242 | 1986-09-03 | 250 | +3.2% |
| 1986-05-07 | 236 | 1986-06-05 | 246 | +4.1% |
| 1986-04-09 | 234 | 1986-04-30 | 236 | +0.8% |
| 1986-01-16 | 209 | 1986-03-06 | 225 | +7.6% |
| 1985-09-24 | 183 | 1985-12-04 | 204 | +11.8% |
| 1985-08-02 | 191 | 1985-09-04 | 187 | −2.1% |
| 1985-06-18 | 187 | 1985-07-23 | 193 | +2.8% |
| 1985-05-07 | 181 | 1985-05-29 | 188 | +3.8% |
| 1985-03-21 | 179 | 1985-04-04 | 179 | −0.2% |
| 1984-11-26 | 166 | 1985-02-13 | 183 | +10.8% |
| 1984-10-12 | 164 | 1984-10-24 | 167 | +1.8% |
| 1984-09-13 | 168 | 1984-09-20 | 167 | −0.3% |
| 1984-07-17 | 152 | 1984-08-16 | 164 | +7.5% |
| 1984-06-04 | 154 | 1984-06-27 | 152 | −1.7% |
| 1984-04-11 | 155 | 1984-05-07 | 159 | +2.9% |
| 1984-02-17 | 156 | 1984-03-07 | 155 | −0.8% |
| 1983-12-23 | 163 | 1984-01-04 | 167 | +2.2% |
| 1983-11-11 | 166 | 1983-12-02 | 165 | −0.5% |
| 1983-08-12 | 162 | 1983-08-23 | 163 | +0.4% |
| 1983-07-21 | 169 | 1983-07-29 | 163 | −3.8% |
| 1982-12-01 | 139 | 1982-12-10 | 140 | +0.6% |
| 1982-10-06 | 126 | 1982-10-27 | 135 | +7.4% |
| 1982-08-03 | 108 | 1982-09-21 | 125 | +15.8% |
| 1982-06-14 | 110 | 1982-07-27 | 109 | −0.5% |
| 1981-12-21 | 123 | 1982-03-30 | 112 | −9.0% |
| 1981-09-14 | 121 | 1981-10-15 | 120 | −0.8% |
| 1981-07-10 | 129 | 1981-08-11 | 134 | +3.5% |
| 1981-05-08 | 132 | 1981-06-01 | 132 | +0.6% |
| 1981-01-14 | 133 | 1981-03-05 | 130 | −2.7% |
| 1980-12-16 | 131 | 1981-01-08 | 133 | +1.9% |
| 1980-11-05 | 131 | 1980-11-26 | 140 | +6.7% |
| 1980-09-03 | 126 | 1980-09-26 | 126 | +0.2% |
| 1980-03-05 | 111 | 1980-04-17 | 101 | −9.1% |
How it was tested
- Signals are read on the daily close; each trade happens at the next day’s close. No look-ahead.
- Long only, fully in or fully out. No commissions, slippage, interest or dividends.
- The test starts on the first day every indicator has a value (Jan 2, 1980); buy-and-hold covers the same days.
- Prices: Yahoo Finance daily data (^GSPC), snapshot
spx-2026-11-25.csv. Checked by a second, independent program before publishing.
Not financial advice. This is educational content, shared for information and entertainment only, and it is not a recommendation to buy or sell any asset. Backtests and past results do not guarantee future results, and the numbers or charts here may contain mistakes. Trading carries risk, including losing all the money you put in. Do your own research before you make any decision.