A separate-pane oscillator that combines a Z-score of price with a Z-score of volatility into one score, then applies bands from a band length with separate positive and negative multipliers.
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
163 lines of Pine Script v6 from indicator/olg_7_6_26/LyroRS/20.txt, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
A signal type setting chooses how it is read, and optional signs mark oversold and overbought zones and trend changes. A background tint can be shown with adjustable transparency, and palettes are selectable.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Price Z Length
int
35
len1
Volatility Z Length
int
35
len2
Band Length
int
100
len3
+ Band Multiplier
float
1.5
pmult
- Band Multiplier
float
-0.4
nmult
Select Signal Type
string
Trend
signal_type
Display Signs
bool
true
d_signs
d_bgcol
bool
true
d_bgcol
Display Oversold/Overbought Signs
bool
true
d_obos_sigs
Background Transparency
int
70
bgTransp
Custom Color Palette
string
Mystic
ColMode
Use Custom Palette
bool
true
cpyn
Show all 14 settings
Setting
Type
Default
Variable
Custom Up
color
#00ff00
cp_UpC
Custom Down
color
#ff0000
cp_DnC
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 indicator calculates standardized z-scores of price data across four different lookback periods (6, 14, 26, and 100). Standardizing data subtracts the moving average from the price and divides by the standard deviation. It applies a Double Exponential Mov
This indicator measures statistical price deviations using the mean and standard deviation of logarithmic price. Plotted in a separate pane, it identifies overvalued and undervalued market conditions relative to a calculated fair-value baseline. Standard devia
This indicator calculates a normalized volatility oscillator plotted in a separate pane. It measures the distance between the closing price and a simple moving average, standardized by a scaled standard deviation band. The script plots the resulting ratio alon
A separate-pane indicator for counter-trend reversal setups that are filtered by a baseline EMA trend. A bearish setup needs price at a wide upper Bollinger Band, high volume or an overbought RSI, and a rejection wick; the bullish setup mirrors this. In a stro
This indicator plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre
This indicator combines Bollinger Bands, RSI, Stochastic RSI, and volume spike detection to identify mean-reversion conditions during range-bound market regimes. It calculates Bollinger Band width to identify low-volatility states and triggers buy or sell sign