Indicator · Pine Script v5 · On the chart

SAB PRO Pivot Master

by IAMATOMIC001

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.

View on GitHub

GitHub stars3on the repository
Pine versionv5runs as is
Lines of code1,217
Settings40inputs
LicenceNone stated
Last update12 months ago31 Oct 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

IAMATOMIC001 on GitHub

Draws

On the price chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Lengthint14length
Sourcesourcehlc3src
OB Levelint70obLevel
OS Levelint30osLevel
Highlight Overbought/Oversold Breakouts ?boolfalsehighlightBreakouts
Hide pivots?boolfalsepiv
Shorter labels?boolfalseshrt
Div lookback period (bars)?int90xbars
Phx masterint9n1
Phx time 1int6n2
Phx time 2int3n3
SENSITIVITY (1-20)float4sensitivity
Show all 40 settings
SettingTypeDefaultVariable
BB Lengthint20bb_input
BB StdDevfloat2.0std_dev
RSI Lengthint14rsi_input
STO Lengthint14sto_input
SMA Lengthint3sma_input
Upper Limitfloat80upper_limit
Lower Limitfloat20lower_limit
RSI ExtremesbooltrueRSIEswitch
Periodint14RSIPeriodExtreme
SourcesourcecloseRSISourceExtreme
Label SizestringSmallRSIlabelSizeExtreme
Oversold Levelint30OversoldForRSIExtreme
Overbought Levelint70OverboughtForRSIExtreme
rsiSourcesourceclosersiSource
rsi lengthint14rsiLenghth6
rsi overbought levelint70rsiOverBought6
rsi over sold levelint30rsiOverSold6
Alt Bantint-60altBant
Üst Bantint60ustBant
WT Uzunlukint10wtUzunluk
Kanal Uzunluğuint21kanalUzunlugu
Ortalama Uzunlukint34ortalamaUzunluk
CCI Uzunluguint14cciUzunluk
CCI Asiri Alimint100cciAsiriAlim
CCI Asiri Satimint-100cciAsiriSatim
RSI Uzunluguint14rsiUzunluk
RSI Alim Seviyesiint30rsiAlimSeviyesi
RSI Satim Seviyesiint70rsiSatimSeviyesi
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.

Similar Pine Scripts

QFA Pro Elite Refined

by JasonTeixeira
9 stars

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

Indicator v6 Oscillators & momentumVolatility & bands
Updated 2 weeks ago · Custom licence GitHub repository of QFA Pro Elite Refined

Moon Dev Lunar Sniper

by moondevonyt
92 stars

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

Indicator v6 TrendOscillators & momentum Repaints
Updated 2 months ago · Custom licence GitHub repository of Moon Dev Lunar Sniper

RSI Div at dVWAP StDev

by cryptorife
75 stars

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

Indicator v4 DivergenceOscillators & momentum Repaints
Updated 3 years ago · GPL-3.0 GitHub repository of RSI Div at dVWAP StDev

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

Indicator v5 Oscillators & momentumVolatility & bands Repaints
Updated 8 weeks ago · None stated GitHub repository of Adaptive Volatility-Adjusted Momentum Score
23 stars

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

Indicator v4 Support & resistanceDivergence
Updated 3 years ago · None stated GitHub repository of Daily High and Low Strategy
14 stars

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

Indicator v6 TrendVolatility & bands
Updated 3 weeks ago · MIT GitHub repository of Self-Aware Trend System [WillyAlgoTrader]

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers