Indicator · Pine Script v6 · Own pane

Calibrated RSI Position Zones

by ChartsLector

This indicator transforms standard RSI calculations into logit space, estimating rolling distributions to derive empirical z-scores mapped back to the 0–100 RSI scale.

View on GitHub

GitHub stars41on the repository
Pine versionv6current
Lines of code981
Settings28inputs
LicenceNone stated
Last update2 days ago26 Oct 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

Plotted in a separate pane, it features multi-horizon central lines—fast and structural centers—along with adaptive standard deviation zones (inner, outer, and extreme). The script includes optional tail confirmation, background shading for extreme zones, context signal plots, and an informational regime status table. Users can customize lookback lengths for RSI, logit smoothing, centers, residual sigma, z-thresholds, and trend settings.

Details

Published by

ChartsLector on GitHub

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Oscillators & momentum, Volatility & bands, Screeners & dashboards

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
Sourcesourceclosesrc
RSI Lengthint14rsiLen
Logit Smoothingint3smoothLen
Fast Center Lengthint42fastCenterLen
Structural Center Lengthint126slowCenterLen
Tactical Residual Sigma Lengthint63sigmaLen
Tactical z Percentile Lengthint126rankLen
Momentum Regime Deadband (sigma)float0.10regimeThreshold
Inner Zone zfloat1.00zInner
Outer Zone zfloat2.00zOuter
Extreme Zone zfloat2.75zExtreme
Center Slope Lookbackint10centerSlopeLen
Show all 28 settings
SettingTypeDefaultVariable
Center Slope Smoothingint3centerSlopeSmoothLen
Center Slope Deadband (sigma/window)float0.05centerSlopeThreshold
Trend EMA Lengthint200trendLen
Trend Slope Lookbackint10trendSlopeN
ATR Lengthint14atrLen
Volatility Rank Windowint252volRankLen
Require Empirical Tail ConfirmationbooltrueuseTailConfirmation
Lower Tail Percentilefloat10.0lowerTailPercentile
Upper Tail Percentilefloat90.0upperTailPercentile
Show Classified Context SignalsbooltrueshowSignals
Show Regime TablebooltrueshowTable
Shade Extreme BackgroundbooltrueshowBg
Show Line of Structural CenterbooltrueshowStructuralCenter
Table SizestringSmalltableSizeInput
Table PositionstringTop RighttablePosInput
Metric Column Text Colorcolorcolor.whitemetricTextColor
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

Test 009 Stat Mining

by ricardosantos79
261 stars

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

Indicator v4 Oscillators & momentumVolatility & bands
Updated 4 years ago · None stated GitHub repository of Test 009 Stat Mining

Market Speedometer

by TradersPost
218 stars

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

Indicator v6 Volatility & bandsOscillators & momentum
Updated 3 months ago · None stated GitHub repository of Market Speedometer

This indicator calculates the Relative Strength Index (RSI) alongside a simple moving average to generate directional momentum signals in a separate pane. It supports Break Flip and Break Continuous scanning modes for long and short setups. A wide array of opt

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of Momentum Setup: RSI Direction Confirmation

Manias, Panics and Crashes

by MeridianAlgo
9 stars

Manias, Panics and Crashes is a separate-pane market regime indicator that quantifies market sentiment and systemic risk. It processes technical metrics including RSI, moving averages, and volume alongside optional intermarket data such as VIX volatility and c

Indicator v6 Oscillators & momentumVolatility & bands
Updated 4 months ago · MIT GitHub repository of Manias, Panics and Crashes

This overlay indicator plots a Supertrend from an ATR length and factor, four exponential moving averages, and a selectable VWAP or TWAP taken from a chosen timeframe on the price chart. It also shows MACD and stochastic with adjustable lengths, smoothing, ver

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup: Vijay Thakare Option Buying Scalping Setup

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