Stochastic RSI and Other Oscillators
StochRSI construction and use, Williams %R, CCI, one-oscillator discipline, and multi-oscillator divergence for equities.
The trading platform default is to install every available oscillator and observe them simultaneously. The professional default is to install one and understand it thoroughly. The proliferation of oscillators — RSI, Stochastic, StochRSI, Williams %R, CCI, and dozens of derivatives — tempts traders into a false sense of confirmation when correlated indicators align. They align because they are mathematically related, not because each provides independent evidence. This course covers the construction, analytical value, and specific use cases of the principal oscillators used in equity markets, with particular emphasis on when each adds information that a simpler indicator does not already provide.
1. StochRSI: Applying Stochastic Formula to RSI Values
The Stochastic RSI was developed by Tushar Chande and Stanley Kroll and published in 1994. It applies the Stochastic formula — which measures the position of a value within its historical high-low range — to RSI readings rather than to price. The result is an oscillator that is substantially more sensitive than standard RSI and reaches overbought and oversold extremes more frequently.
The construction in three steps. First, calculate the standard 14-period RSI from price data (as covered in Course 11). Second, apply the Stochastic formula to the RSI series over a defined lookback period (typically 14 periods): StochRSI = (RSI − Lowest RSI[14]) ÷ (Highest RSI[14] − Lowest RSI[14]). The result oscillates between 0 and 1 (or 0 and 100 when scaled by 100). Third, apply smoothing: the raw StochRSI is further smoothed by a 3-period SMA to produce %K, and %K is smoothed by another 3-period SMA to produce %D. The %K/%D crossover — analogous to the Stochastic %K/%D crossover — is the primary trade signal.
The practical implication of applying Stochastic to RSI: StochRSI reaches overbought (above 0.8) and oversold (below 0.2) much more frequently than RSI reaches 70 and 30. This makes StochRSI more responsive for identifying momentum turning points in ranging markets, but also more prone to false signals in trending markets — the same regime dependency that characterises RSI, amplified. In a confirmed daily uptrend, StochRSI can remain near 1.0 for days while providing no actionable reversal signal. The rule from market structure analysis applies without exception: establish structural context before applying any oscillator.
2. Practical Application of StochRSI in Equity Markets
StochRSI is most effectively applied as an intraday momentum tool rather than as a primary signal generator on daily charts. On 5-minute and 15-minute timeframes for stocks with sufficient liquidity, StochRSI rapidly cycles through overbought and oversold readings, providing momentum context for intraday entries. The %K/%D crossover in oversold territory (both below 0.2, then %K crossing above %D) while price tests a known structural support level or VWAP constitutes a credible intraday long entry signal.
The standard application for intraday traders using StochRSI: apply it on the intraday chart (5m or 15m) while determining directional bias from the daily chart’s structure and EMA stack. When the daily structure is bullish and StochRSI on the 15-minute chart reaches oversold during the intraday pullback, this confluence of higher-timeframe bullish structure with lower-timeframe oversold momentum reset constitutes a timing signal for long entry. The VWAP level then provides the price reference for entry: wait for StochRSI oversold at or near VWAP support, then enter on %K/%D bullish crossover.
3. Williams %R: The Inverted Stochastic
Williams %R, developed by Larry Williams, measures the relationship of the current closing price to the highest high over a specified lookback period. Formula: %R = (Highest High − Close) ÷ (Highest High − Lowest Low) × −100. The result oscillates between −100 and 0. Readings near 0 (above −20) indicate overbought conditions; readings near −100 (below −80) indicate oversold conditions. The scale is inverted relative to RSI and Stochastic, which is a persistent source of confusion but has no analytical significance.
Williams %R is essentially a fast-smoothing Stochastic with identical analytical properties. It responds rapidly to price changes because it compares the current close to the highest high of the lookback period (rather than to both the high and low as Stochastic does in its %D computation). Where %R diverges analytically from Stochastic is in its directional asymmetry: because it only references the highest high (not the highest high and lowest low symmetrically), it has a slight downside bias and reacts more sharply to new highs than to new lows. This asymmetry makes %R modestly better at identifying approaching overbought conditions and slightly less sensitive to oversold conditions.
The most reliable %R signal in equity markets is the failure to reach overbought on a rally in a downtrend: if %R consistently fails to reach the −20 overbought level on each successive rally while price makes lower highs, this bearish regime confirmation — %R failing to recover above −20 — mirrors the RSI 50 centerline concept from Course 11. The rally is running out of momentum before recovering to levels consistent with a healthy uptrend.
4. CCI: The Commodity Channel Index Applied to Equities
The Commodity Channel Index measures the deviation of the Typical Price from its simple moving average, normalised by the mean deviation of the Typical Price over the lookback period. The formula: CCI = (Typical Price − MA(Typical Price, N)) ÷ (0.015 × Mean Deviation), where Typical Price = (High + Low + Close) ÷ 3. The 0.015 constant scales the result so that approximately 70–80% of values fall between −100 and +100 under normally distributed price data.
CCI readings above +100 signal that price is significantly above its recent average — an overbought reading analogous to RSI above 70. Readings below −100 signal oversold. The zero line serves as a neutral-to-bullish boundary, similar to the RSI 50 centerline. CCI is particularly useful in two equity applications that RSI handles less cleanly. First, CCI reacts to absolute price deviation, not to the ratio of gains to losses, making it more sensitive to spike moves that occur in earnings or news-driven stocks. Second, CCI has no upper bound (RSI is bounded at 0 and 100), meaning it can reach extreme values (±200, ±300) in highly directional moves, providing information about the magnitude of momentum that bounded oscillators cannot convey. A CCI reading of +400 during a breakout indicates a statistically extreme momentum move — which may be a warning of imminent mean reversion or evidence of a parabolic move requiring dynamic trailing stop management.
5. The One-Oscillator Discipline
The most important practical lesson of this course is not the construction of any individual oscillator but the discipline of selection and restraint. Each oscillator covered here — RSI, StochRSI, Williams %R, CCI, Stochastic — is derived from price and volume data. They measure related aspects of momentum and mean reversion; their signals are correlated. When three oscillators simultaneously show overbought readings, you have not received three independent buy signals; you have received one momentum signal expressed in three correlated visual formats.
The correct approach: select the oscillator that best fits your trading style and timeframe, and use it consistently. For longer-timeframe swing traders operating on daily charts, RSI (14-period) is the standard for good reason: it is slow enough to filter noise, reaches extremes infrequently enough to preserve the significance of each signal, and its analytical properties are thoroughly documented across decades of equity market data. For intraday traders seeking faster signals, StochRSI (14,14,3,3) on 5-minute or 15-minute charts provides more frequent actionable readings while remaining anchored to an RSI calculation. For traders who want CCI’s unbounded readings to identify magnitude of momentum (not just direction), add CCI as a single secondary indicator.
The maximum appropriate oscillator setup: one primary (RSI or Stochastic), one secondary if needed (CCI or Williams %R for specific analytical purposes). Never more. The analytical value of adding a third correlated oscillator is zero; the visual complexity it introduces is real. Use the saved space for volume analysis, which provides genuinely independent information that no price-derived oscillator replicates. Our stock position size calculator provides more actionable alpha per minute than monitoring a fifth oscillator.
6. Divergence Across Multiple Oscillators
When two or more oscillators simultaneously show divergence against price at the same swing high or low, the signal has more analytical weight than a single oscillator divergence. This is one of the few legitimate reasons to have two oscillators visible simultaneously: if RSI and Stochastic both show bearish divergence at a new price high (price makes a higher high, but both oscillators make lower highs), the probability of a reversal is higher than if only one oscillator diverges.
The key criterion: the divergence must be genuine in both oscillators — each showing a lower high at the same price swing high. If one oscillator shows divergence and a second shows a flat or ambiguous pattern, the multi-oscillator confirmation does not exist. Do not manufacture confirmation by selecting oscillators that happen to agree and ignoring those that do not. This selective confirmation bias is one of the most systematically destructive habits in technical trading. Apply the same discipline here as in the confluence framework from Course 9: each confirming signal must come from a genuinely independent analytical source.
Key Takeaways
| Oscillator | Best use in equity markets |
|---|---|
| RSI (14) | Daily chart trend filter (50 centerline), divergence, failure swings. Most balanced speed/noise trade-off. |
| StochRSI (14,14,3,3) | Intraday timing on 5m/15m charts. %K/%D crossover in extreme zones for entry timing. |
| Williams %R (14) | Failure to reach −20 in downtrend = bearish regime confirmation. Similar to RSI 50 application. |
| CCI (20) | Unbounded readings identify magnitude of momentum. Extreme ±200+ = climax or parabolic move warning. |
| Oscillator limit | One primary + one secondary maximum. More = correlated noise, not independent signals. |
| Multi-oscillator divergence | Valid only if both show genuine divergence simultaneously. Do not manufacture confirmation by ignoring contradicting signals. |
- Stock Position Size Calculator — once oscillator divergence or extreme identifies the entry zone, size with a structural stop for defined risk.