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.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
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
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.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source
source
close
src
RSI Length
int
14
rsiLen
Logit Smoothing
int
3
smoothLen
Fast Center Length
int
42
fastCenterLen
Structural Center Length
int
126
slowCenterLen
Tactical Residual Sigma Length
int
63
sigmaLen
Tactical z Percentile Length
int
126
rankLen
Momentum Regime Deadband (sigma)
float
0.10
regimeThreshold
Inner Zone z
float
1.00
zInner
Outer Zone z
float
2.00
zOuter
Extreme Zone z
float
2.75
zExtreme
Center Slope Lookback
int
10
centerSlopeLen
Show all 28 settings
Setting
Type
Default
Variable
Center Slope Smoothing
int
3
centerSlopeSmoothLen
Center Slope Deadband (sigma/window)
float
0.05
centerSlopeThreshold
Trend EMA Length
int
200
trendLen
Trend Slope Lookback
int
10
trendSlopeN
ATR Length
int
14
atrLen
Volatility Rank Window
int
252
volRankLen
Require Empirical Tail Confirmation
bool
true
useTailConfirmation
Lower Tail Percentile
float
10.0
lowerTailPercentile
Upper Tail Percentile
float
90.0
upperTailPercentile
Show Classified Context Signals
bool
true
showSignals
Show Regime Table
bool
true
showTable
Shade Extreme Background
bool
true
showBg
Show Line of Structural Center
bool
true
showStructuralCenter
Table Size
string
Small
tableSizeInput
Table Position
string
Top Right
tablePosInput
Metric Column Text Color
color
color.white
metricTextColor
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.
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
The 8-Factor Composite Screener evaluates equities across fundamental and technical criteria, including valuation ratios, earnings and revenue growth, 12-month return momentum, proximity to 52-week highs, Stage 2 moving average alignment, benchmark relative st
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
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
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