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
109 lines of Pine Script v5 from suite/algoalpha/supertrended_rsi.pine, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Supertrended RSI [AlgoAlpha] first computes standard RSI, with an optional Hull Moving Average smoothing step, and computes a secondary moving average of the oscillator across multiple selectable types. It then applies a customized Supertrend algorithm directly to the RSI values using an adapted Average True Range calculation. The indicator tracks oscillator direction shifts when the RSI crosses its upper or lower dynamic bands.
Relative Strength Index with optional Hull MA smoothing
Supertrend bands calculated directly on RSI values
Multiple selectable moving average types for oscillator smoothing
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
RSI Length
int
14
relativeStrengthIndexLength
RSI Smoothing Length
int
21
smoothingLength
RSI Source
source
close
rsiInputSource
Smooth RSI?
bool
false
isSmoothed
MA Length
int
14
movingAverageLength
MA Type
string
HMA
movingAverageType
Factor
float
0.8
trendFactor
ATR Length
int
10
averageTrueRangeLength
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.
MultiIndicator combines multiple technical indicators into a single separate pane to save chart space. It calculates and displays market regime detection based on ordinary least squares regression, a Holt exponential smoothing crossover, normalized RSI, ADX, a
This indicator computes and plots multiple technical analysis features on a separate pane. It calculates EMA-based trend indicators including fast and slow EMAs along with their slope, momentum oscillators such as RSI, Stochastic RSI, and MACD histogram, WaveT
Double Screened Decision is a multi-timeframe trend and momentum indicator overlaid directly on the price chart. It dynamically selects a higher timeframe based on the active chart resolution to evaluate higher-timeframe MACD, Bollinger Bands, RSI, and Stochas
This indicator plots Bollinger Bands on the price chart alongside a baseline moving average to identify trend-aligned swing setups. It calculates trend bias by comparing the Bollinger Bands basis to a customizable moving average, such as a 200 EMA. Trade signa
Index Intraday Analyst overlays CBOE cash indices such as SPX, NDX, RUT, and DJX. It plots a multi-EMA ribbon, a session-anchored TWAP with standard-deviation bands, and session levels such as prior-day high, low, and close, the opening range, and the high and
RePaNoCHa V4 is an overlay alert indicator that plots a Tillson T3 moving average on the price chart and colors it by whether the line is rising or falling. It combines that slope with a range filter, ADX, parabolic SAR, RSI, and MACD to mark long and short si