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
Modules include a percentage envelope, 52-week high and low, Bollinger Bands, Knoxville divergence, a set of four SMA lines, automatically merged support and resistance levels, a marker for price falling a set distance below its all-time high, a rally marker, an RSI bounce marker, a swing sequence on bands, and cup and handle and reverse head and shoulders pattern checks. Level lookback, merge tolerance and line count are adjustable.
Support and resistance levels with merge tolerance
Envelope, 52-week range and Bollinger Bands
Knoxville divergence and RSI bounce markers
Cup and handle and reverse head and shoulders checks
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Envelope
bool
true
show_envelope
52 Week High Low
bool
true
show_52whl
Bollinger Bands
bool
true
show_bb
Knoxville Divergence
bool
true
show_knoxville
SMA A-B-C-D
bool
true
show_sma_abcd
Support/Resistance Levels
bool
true
show_sr
67% Down From ATH
bool
true
show_ath67
20% Green Rally
bool
true
show_20rally
Short-Term SnR (Mini-Range)
bool
true
show_shortsnsr
RSI 25% Short-Term Bounce
bool
true
show_rsi_bounce
WM Bands – Swing Entry (Seq B-T-B-T-B)
bool
true
show_wm_swing_seq
Cup & Handle Final
bool
true
show_cup_handle
Show all 40 settings
Setting
Type
Default
Variable
Reverse Head & Shoulders
bool
true
modOn
Lookback (300W/600D/1200-4H/1800-1H/2000-15m)
int
600
srLookback
Level Merge Tolerance %
float
0.2
srTolerancePercent
Min Gap Between Levels (%)
float
12.0
minLevelGap
Max S&R Lines to Show
int
6
maxSRLines
Length
int
20
len_env
Percent
float
10.0
percent_env
Source
source
close
src_env
Exponential
bool
false
exponential_env
Enable Envelope ABCD
bool
false
enable_env_abcd
ABCD Step %
float
10
step_env_abcd
Period
int
251
per_52whl
Enable 52WHL ABCD
bool
false
enable_52whl_abcd
ABCD Step %
float
10
step_52whl_abcd
length_bb
int
20
length_bb
Basis MA Type
string
SMA
maType_bb
Source
source
close
src_bb
StdDev
float
2.0
mult_bb
Offset
int
0
offset_bb
Enable BB ABCD
bool
false
enable_bb_abcd
ABCD Step %
float
10
step_bb_abcd
Knoxville RSI
int
17
KnoxRSILength
Knoxville Mom
int
20
KnoxMOMLength
Knoxville Divergences
bool
true
KnoxDivergence
Knoxville Divergence Labels
bool
true
KnoxLabel
Knoxville Divergence Triangles
bool
true
KnoxTriangle
Reversal Tabs
bool
true
ReversalTabs
Reversal Tabs - MACD Fast Period
int
12
macd_fast_period
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.
SAB PRO Pivot Master is a price-chart overlay that builds an RSX-style oscillator from a chosen source and length, then compares price extremes with that oscillator over a lookback window to mark pivots and bullish or bearish divergence. Overbought and oversol
This overlay indicator maps market structure on the price chart. It marks confirmed swing points and draws continuation breaks and reversal breaks, with optional higher-high and lower-low labels. A baseline and volatility envelope can sit on price, and an opti
A multi-part chart overlay that draws fan lines from short, mid and long lookback windows and shows a forecast label gated by a minimum confidence level. It adds head and shoulders and double top or bottom detection, a regime filter using ADX and a higher-time
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
This overlay indicator marks ICT liquidity void fills on the price chart and can show long and short signals. It places a Fibonacci level inside a displacement candle, defaulting to the midpoint, and draws lines in a chosen style. Optional filters limit the fi