Indicator · Pine Script v6 · On the chart

Dynamic RSI Regression Bands (Zeiierman)

by regalouisei· code credited to Zeiierman {

This indicator overlays a linear regression channel on the price chart and resets it when RSI crosses user-defined overbought or oversold levels.

View on GitHub

GitHub stars2on the repository
Pine versionv6current
Lines of code229
Settings17inputs
LicenceNone stated
Last update8 months ago25 Feb 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Dynamic RSI Regression Bands (Zeiierman) plots an optional central regression line plus upper and lower standard-deviation bands. RSI length, threshold levels, maximum regression lookback, band multiplier, and minimum bars after a reset control how quickly the channel rebuilds and how wide it is. Optional markers show RSI resets and price rejections at the bands. It does not generate trade entries or exits.

Details

Published by

regalouisei on GitHub

Code credit

Zeiierman {, as written in the script's header

Type

Indicator, Pine Script v6

Draws

On the price chart

Category

Oscillators & momentum, Volatility & bands, Support & resistance, Trend

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
RSI Lengthint5rsiLen
OBfloat90.0rsiObLevel
OSfloat10.0rsiOsLevel
Regression Channelbooltrueshowreg
Regression Bandsbooltrueshowregband
Base Regression Length (Max)int1000lrBaseLen
StdDev Channel Multiplierfloat2.0stdevMult
Min Bars After Resetint2minChannelLen
plotColorUppercolorcolor.new(color.fuchsia, 60)plotColorUpper
plotColorLowercolorcolor.new(color.aqua, 60)plotColorLower
Line Widthint1plotLineWidth
Show Reset MarkersbooltrueshowResetMarker
Show all 17 settings
SettingTypeDefaultVariable
markerObColorcolorcolor.new(color.red, 0)markerObColor
markerOsColorcolorcolor.new(color.green, 0)markerOsColor
Show Rejection MarkersbooltrueshowRejection
rejectionObColorcolorcolor.new(color.red, 0)rejectionObColor
rejectionOsColorcolorcolor.new(color.green, 0)rejectionOsColor
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.

Similar Pine Scripts

Moon Dev Lunar Sniper

by moondevonyt
92 stars

Moon Dev Lunar Sniper is a multi-indicator overlay that scores confluence across fast and slow EMAs, RSI, MACD, DMI, and BB width to fire signals only when score meets the minimum threshold. It plots buy and sell signals on the price chart, highlights cosmic b

Indicator v6 TrendOscillators & momentum Repaints
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev Lunar Sniper
14 stars

Self-Aware Trend System calculates volatility-adaptive ATR trailing bands using a Trend Quality Index engine that evaluates market efficiency, momentum persistence, and structural pivots. It plots adaptive trend bands and character-flip trend signals directly

Indicator v6 TrendVolatility & bands
Updated 2 weeks ago · MIT GitHub repository of Self-Aware Trend System [WillyAlgoTrader]

Cerebr Wave

by jerryinyang
5 stars

Cerebr Wave is an overlay indicator that combines multi-timeframe Keltner Channels with a Wave Trend oscillator to analyze market structure and momentum. It calculates higher-timeframe and lower-timeframe Keltner Channels alongside Wave Trend crossover signals

Indicator v4 TrendOscillators & momentum
Updated 2 years ago · None stated GitHub repository of Cerebr Wave

Cyber HUD XAU

by panzmoravylab
3 stars

Cyber HUD XAU is an overlay indicator designed for XAUUSD that combines trend, momentum, and volatility filters. It calculates fast and slow ATR ratios alongside local price ranges to detect consolidation and chop filter states. The script evaluates candle bod

Indicator v6 Volatility & bandsOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Cyber HUD XAU

Setup-1

by IAMATOMIC001
3 stars

This indicator plots multiple technical analysis components directly on the price chart, including a Nadaraya-Watson envelope, pivot-based trendlines, and a kernel regression oscillator. It also renders visual overlay panels for the Relative Strength Index and

Indicator v5 TrendOscillators & momentum Repaints
Updated 12 months ago · None stated GitHub repository of Setup-1

Skew Weighted Average Price (SWAP) calculates a skew-weighted average price for nuanced analysis of price dynamics and potential trading opportunities. The script determines skew by comparing smoothed positive and negative true ranges derived from price direct

Indicator v5 Volatility & bandsSupport & resistance
Updated 2 years ago · GPL-3.0 GitHub repository of Skew Weighted Average Price (SWAP)

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers