
RSI and the Stochastic Oscillator are the two momentum oscillators most traders meet first. They look similar, both bounce between 0 and 100, and both get misused in the same way: treating "overbought" as "sell." This guide covers how each is calculated, what settings make sense by timeframe, and where each one breaks. For the wider family of tools, see Trend & Momentum Indicators Explained.
How RSI Is Calculated
The Relative Strength Index (J. Welles Wilder) compares average gains to average losses over a lookback period, conventionally 14 bars.
- Over 14 bars, average the up-closes (average gain) and the down-closes (average loss).
- RS = average gain / average loss. Later values use Wilder's smoothing rather than a simple average.
- RSI = 100 − (100 / (1 + RS)).
RSI measures the speed and size of recent closes, not price direction itself. Readings above 70 and below 30 are the traditional thresholds, but they are conventions, not laws.
How the Stochastic Oscillator Is Calculated
The Stochastic (George Lane) asks where the latest close sits within the recent high-low range.
- %K = (close − lowest low) / (highest high − lowest low) × 100, over N bars (commonly 14).
- %D = a moving average (commonly 3 periods) of %K.
- The "slow" version smooths %K first (typically 3), then applies %D to that. Most platforms default to slow.
Because it is anchored to the range, the Stochastic reacts faster and flips more often than RSI. It is a range-position tool; RSI is a momentum-magnitude tool.
Quick comparison
| Feature | RSI | Stochastic |
|---|---|---|
| Measures | Average gains vs losses | Close relative to recent range |
| Typical default | 14 | 14, 3, 3 |
| Common zones | 30 / 70 | 20 / 80 |
| Speed | Smoother | Faster, noisier |
| Best suited to | Divergence, trend-regime reading | Ranging markets, timing entries |
Timeframe Settings
There is no proven "best" setting; what follows are reasonable starting points to test, not optimized values.
- M5–M15: Default 14 produces many signals. Some traders lengthen RSI to 21 or the Stochastic to 21 to cut noise, at the cost of lag.
- H1–H4: Defaults are usually fine. Signals are fewer and spread costs matter less relative to the move.
- Daily and up: Defaults work, though readings stay extreme for long stretches in strong trends. Shorter settings (e.g., RSI 9) respond faster but whipsaw more.
Shorter periods mean more signals and more false ones; longer periods mean fewer, later ones. That tradeoff cannot be tuned away. Test on a demo account or backtest across different market conditions before risking capital.
A Practical Way to Read Them
Step 1: Identify the regime first
Check whether price is trending or ranging. A moving average slope or ADX reading can help. See also Moving Averages in Forex.
Step 2: Match the tool to the regime
- Ranging: Overbought/oversold exits (crossing back below 80 or above 20 on the Stochastic) can mark fades toward the range middle.
- Trending: Use pullbacks instead. In an uptrend, RSI often holds roughly 40–80 and dips toward 40–50 can mark pullbacks. Treat this as a tendency, not a rule.
Step 3: Require confirmation
Wait for price structure, such as a break of a recent swing or a rejection at support/resistance, before acting. Define your stop and position size before entry.
Recommended for youMoving Averages in Forex: SMA vs EMA, Calculation, Best Settings by Timeframe and Failure ModesFailure Modes
- Pinned in extremes: In strong trends, RSI and Stochastic can stay above 70/80 (or below 30/20) for many bars while price keeps going. Fading these readings is a classic way to take repeated losses.
- Divergence that doesn't resolve: Price makes a new high while RSI doesn't, yet the trend continues. Divergence is a warning of slowing momentum, not a reversal trigger.
- Chop and whipsaw: Stochastic %K/%D crossovers fire constantly in low-volatility drift.
- News spikes: Data releases can push oscillators to extremes instantly, and the reading says nothing about what follows.
- Over-optimization: Settings tuned to past data often degrade on new data.
- Redundant stacking: Using RSI and Stochastic together mostly shows the same information twice. See Which Trend and Momentum Indicators to Combine Without Redundant Signals.
Pairing With Other Tools
An oscillator tells you about momentum, not trend or volatility. Pairing one with a trend or volatility tool covers more ground. MACD offers a different momentum view, and Bollinger Bands add volatility context.
Are Enhanced Versions Worth It?
Many vendors sell modified RSI or Stochastic indicators promising fewer false signals. Since they are built on the same inputs, check whether the changes are documented and testable rather than assuming an improvement. Our comparison, Enhanced MACD, RSI and Stochastic Indicators vs the Standard Versions, walks through what to look for. Confirm current pricing, features and any refund terms on the official site, and test on a demo first.
Bottom Line
Use RSI for momentum context and divergence, the Stochastic for timing within ranges, and neither as a standalone signal. No setting removes losing trades. Forex and leveraged trading carry substantial risk of loss; size positions conservatively and consider speaking with a licensed financial professional if you are unsure whether it suits your situation.
Keep reading
MACD Explained: How It Is Calculated, Best Settings, Signals and When It FailsMACD (Moving Average Convergence Divergence) is one of the most widely used momentum indicators in…
Which Trend and Momentum Indicators to Combine Without Redundant SignalsMost cluttered charts share one flaw: five indicators that all say the same thing. A moving average…
Enhanced MACD, RSI and Stochastic Indicators vs the Standard Versions: Are the Upgrades Worth Buying?The short answer Usually, no: not as a standalone purchase. An "enhanced" MACD, RSI or Stochastic i…