1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
165 lines of Pine Script v6 from indicators/oscillators/rsi/rsi.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.
Includes options for smoothing the RSI line using various moving averages or Bollinger Bands, gradient fill zones, and regular divergence detection. The indicator plots optional buy and sell signal markers directly on the price chart or RSI pane and features a status table summarizing current conditions.
Customizable RSI calculation with variable length and source
Multiple smoothing moving average types and Bollinger Bands
Regular bullish and bearish divergence calculation
Signal markers on price chart and status summary table
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source
source
close
rsiSource
Length
int
14
rsiLength
Overbought
int
70
obLevel
Oversold
int
30
osLevel
Type
string
SMA
maTypeInput
Length
int
14
maLengthInput
BB StdDev
float
2.0
bbMultInput
Calculate divergences
bool
false
calculateDivergence
Zone gradient
bool
true
showZones
Signals (markers on price)
bool
true
showSignals
BUY CLOSE / BUY OPEN markers
bool
false
showLabels
Status table
bool
true
showTable
Show all 14 settings
Setting
Type
Default
Variable
Marker shape
string
Triangle
shapeName
Marker size
string
Small
sizeName
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
GEKO HYBRID MASTER is a custom oscillator indicator that merges RSI, Stochastic, MFI, MACD, and SATS volatility filters for signal confirmation. It calculates composite momentum with normalized MACD, body-proportional CVD, divergences, HTF EMA slope and ADX tr
This indicator projects a dual-asset momentum matrix visualizer directly onto the price chart overlay. It calculates normalized momentum for the chart symbol using either RSI or Stochastic inputs adjusted by ATR volatility, and compares it against a benchmark
This indicator scans a pasted list of symbols for RSI directional momentum and shows matching long and short signals in a table in a separate pane. The user chooses continuous break, continuous retracement, flip break, flip retracement, divergence, or hidden d
This indicator plots a TTM Squeeze momentum oscillator and a MACD line in a separate pane. It builds the squeeze oscillator from a linear regression of price against a high-low and simple moving average midpoint, and colors the area by slope and sign. Circles
This statistical analysis tool mines historical relationships between RSI values and candle volatility. It calculates a 14-period RSI from the previous bar and normalizes absolute price change using a 14-period Average True Range (ATR). Based on the normalized
Market Speedometer plots a 0-100 market speed reading in a separate pane. It measures movement by bar-to-bar change, true range, or a short average of recent bars, then ranks that movement against ATR and a percentile lookback. An EMA smooths the reading, and