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.
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
Overbought and oversold thresholds can optionally highlight breakout conditions. Separate inputs set Bollinger Band length and deviation, RSI and stochastic lengths, SMA smoothing, RSI extreme labels, and Phoenix-style periods. In the visible code the oscillator plot is commented out, and the script defines no entries, exits, or stops.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Length
int
14
length
Source
source
hlc3
src
OB Level
int
70
obLevel
OS Level
int
30
osLevel
Highlight Overbought/Oversold Breakouts ?
bool
false
highlightBreakouts
Hide pivots?
bool
false
piv
Shorter labels?
bool
false
shrt
Div lookback period (bars)?
int
90
xbars
Phx master
int
9
n1
Phx time 1
int
6
n2
Phx time 2
int
3
n3
SENSITIVITY (1-20)
float
4
sensitivity
Show all 40 settings
Setting
Type
Default
Variable
BB Length
int
20
bb_input
BB StdDev
float
2.0
std_dev
RSI Length
int
14
rsi_input
STO Length
int
14
sto_input
SMA Length
int
3
sma_input
Upper Limit
float
80
upper_limit
Lower Limit
float
20
lower_limit
RSI Extremes
bool
true
RSIEswitch
Period
int
14
RSIPeriodExtreme
Source
source
close
RSISourceExtreme
Label Size
string
Small
RSIlabelSizeExtreme
Oversold Level
int
30
OversoldForRSIExtreme
Overbought Level
int
70
OverboughtForRSIExtreme
rsiSource
source
close
rsiSource
rsi length
int
14
rsiLenghth6
rsi overbought level
int
70
rsiOverBought6
rsi over sold level
int
30
rsiOverSold6
Alt Bant
int
-60
altBant
Üst Bant
int
60
ustBant
WT Uzunluk
int
10
wtUzunluk
Kanal Uzunluğu
int
21
kanalUzunlugu
Ortalama Uzunluk
int
34
ortalamaUzunluk
CCI Uzunlugu
int
14
cciUzunluk
CCI Asiri Alim
int
100
cciAsiriAlim
CCI Asiri Satim
int
-100
cciAsiriSatim
RSI Uzunlugu
int
14
rsiUzunluk
RSI Alim Seviyesi
int
30
rsiAlimSeviyesi
RSI Satim Seviyesi
int
70
rsiSatimSeviyesi
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 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
Moon Dev Lunar Sniper is a multi-indicator overlay that scores confluence across fast and slow EMAs, RSI, MACD, DMI, and BB width to fire signals only when score meets the minimum threshold. It plots buy and sell signals on the price chart, highlights cosmic b
This indicator marks RSI divergences only when price trades beyond daily VWAP standard-deviation bands. It compares recent RSI extremes with price highs and lows over a lookback window, and it treats a divergence as valid only while RSI stays beyond overbought
This indicator builds a momentum score from the rate of change of close, using a lookback that expands or contracts with ATR relative to its standard deviation. It divides that rate of change by price standard deviation, scales the result, and weights it by vo
This indicator collection calculates and plots previous daily high and low price levels on the chart to identify potential supply and demand zones. It includes real-time intraday high and low calculations, RSI divergence detection across a customizable period
Self-Aware Trend System calculates volatility-adaptive ATR trailing bands using a Trend Quality Index engine that evaluates market efficiency, momentum persistence, and structural pivots. It plots adaptive trend bands and character-flip trend signals directly