RSI / Stoch RSI Combo (Overlay)RSI + Stoch RSI Overlay combines two of TradingView’s most-used momentum tools into a single clean oscillator pane: Relative Strength Index (RSI) for broader momentum/strength and Stochastic RSI (K/D) for faster timing signals.
What you see
RSI line (classic momentum/strength)
Stoch RSI K & D lines (fast momentum/timing)
Optional RSI zones (70/50/30) with gradient fills
Optional Stoch RSI zones (80/50/20) with background fill
Why it’s useful
RSI is great to judge the “bigger” momentum regime, while Stoch RSI is great for entries/exits timing inside that regime. Overlaying both helps you quickly answer:
Is momentum bullish/bearish overall (RSI)?
Is price stretched or resetting (Stoch RSI 80/20 + K/D crosses)?
Are reversals supported by RSI structure or just a quick Stoch RSI fluctuation?
How it’s calculated
RSI is calculated from the selected source (default: close) and length.
Stoch RSI is calculated using the RSI values (not price), then smoothed into:
- K = SMA of Stoch(RSI) over “K” smoothing
- D = SMA of K over “D” smoothing
Optional features
RSI Smoothing: Add an RSI-based moving average (SMA/EMA/SMMA/WMA/VWMA) to reduce noise.
Bollinger Bands on RSI MA: If “SMA + Bollinger Bands” is selected, bands are plotted around the smoothing MA.
Divergence (optional): Enable classic regular bullish/bearish divergence detection on RSI (hidden by default to keep the UI clean) and use alert conditions.
Signals traders often look for
Trend bias: RSI above 50 = bullish pressure; below 50 = bearish pressure.
Overbought/oversold:
-> RSI 70/30 zones for broader momentum extremes
-> Stoch RSI 80/20 zones for faster “stretch / reset”
Timing: Stoch RSI K/D crosses near 20 or 80 can help time pullbacks or reversals—best when aligned with RSI context.
Alerts
Regular Bullish Divergence
Regular Bearish Divergence
(Enable “Calculate Divergence” in settings to activate.)
Notes
This is an oscillator tool, not a standalone trading system.
Works on any market/timeframe; consider combining with structure/trend confirmation.
Indikator Pine Script®






















