Shows four tools in one separate pane: RSI with divergence detection, a squeeze momentum histogram from Bollinger and Keltner bands, an ADX and DMI block, and WaveTrend with overbought levels.
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
Each can be switched on or off and has its own length inputs, with RSI at 14 and ADX key level at 23 by default. Regular and optional hidden divergences are labelled on the RSI line using pivot lookbacks, which means they appear only after the pivot is confirmed.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Show RSI Divergence
bool
true
show_RSI
RSI Period
int
14
len
RSI Source
source
close
src
Pivot Lookback Right
int
5
lbR
Pivot Lookback Left
int
5
lbL
Max of Lookback Range
int
60
rangeUpper
Min of Lookback Range
int
5
rangeLower
Plot Bullish
bool
true
plotBull
Plot Hidden Bullish
bool
false
plotHiddenBull
Plot Bearish
bool
true
plotBear
Plot Hidden Bearish
bool
false
plotHiddenBear
Show Squeeze Momentum
bool
true
show_Momentum
Show all 33 settings
Setting
Type
Default
Variable
BB Length
int
20
length_sqz
BB MultFactor
float
2.0
mult_bb
KC Length
int
20
lengthKC_sqz
KC MultFactor
float
1.5
multKC_sqz
Use TrueRange (KC)
bool
true
useTrueRange_sqz
Normalization Lookback
int
100
norm_length_sqz
Normalized Scale
float
50.0
norm_scale_sqz
Show ADX/DMI Indicator
bool
true
show_ADX_Indicator
Show DMI
bool
true
show_DMI_adx
DI Length
int
14
dilen_adx
Type
string
RMA
type_ma_adx
Show ADX
bool
true
show_ADX_adx
ADX Smoothing
int
14
adxlen_adx
Key level for ADX
int
23
keyLevel_adx
Show WaveTrend
bool
true
show_WaveTrend
Channel Length
int
10
n1_wt
Average Length
int
21
n2_wt
Over Bought Level 1
int
60
obLevel1_wt
Over Bought Level 2
int
42
obLevel2_wt
Over Sold Level 1
int
-60
osLevel1_wt
Over Sold Level 2
int
-42
osLevel2_wt
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 plots a TTM Squeeze momentum oscillator and a MACD line in a separate pane. It builds the squeeze oscillator from a linear regression of price against a high-low and simple moving average midpoint, and colors the area by slope and sign. Circles
The Bubbles Indicator measures volatility squeezes and expansion bursts using Bollinger Bands combined with a sinusoid oscillator and RSI divergence. It processes price data through scaled Bollinger Bands to highlight volatility changes while confirming trend
The TTM Squeeze Divergence indicator plots a classic TTM Squeeze momentum oscillator in a separate pane alongside Bollinger Bands and Keltner Channels squeeze status dots on the zero line. It detects regular and hidden bullish and bearish divergences between p
This indicator plots the Relative Strength Index in a separate pane from smoothed up and down price changes. It draws the RSI line with horizontal bands at 70, 50 and 30, plus overbought and oversold gradient fills. Optional settings add a smoothing moving ave
This indicator plots a smoothed fear index in a separate pane. It measures how far the current low sits below the highest close over a lookback, scales that reading by an ATR percentile, and smooths it with a zero-lag EMA. A volatility regime raises or lowers
Adaptive RSI Divergence Engine calculates a Relative Strength Index with dynamic overbought and oversold bands that adapt to market volatility via an ATR percentile rank. It identifies both regular and hidden divergences by scanning confirmed pivot highs and l