OPEN-SOURCE SCRIPT
Volatility Bands Pro-Read [Indicatr]

Volatility Bands Pro-Read draws Bollinger Bands, Keltner Channels or Donchian Channels and reads the band behaviour for you: band walk (trend), mean-reversion candidates (no trend) and squeeze - for both directions.
WHAT IT DOES
A common misreading is "price touches the upper band = sell". In a strong trend price can walk along the band for a long time. This script separates band walks from mean-reversion situations using band position and ADX.
HOW IT WORKS
HOW TO USE
THE CHART
XAUUSD (gold) daily with Bollinger Bands (20, 2). Green sections are band walks up, red sections band walks down, grey sections are neutral. Dots at the bottom mark squeeze phases, triangles the squeeze release, crosses mean-reversion candidates.
WHAT IS ORIGINAL
Standard band indicators only draw lines. This script classifies band behaviour (walk vs. reversion) using band position and ADX, and adds squeeze detection for any selected band type.
CREDITS
Bollinger Bands (John Bollinger), Keltner Channel (Chester Keltner, ATR version by Linda Raschke), Donchian Channel (Richard Donchian), squeeze concept (John Carter), ADX (J. Welles Wilder).
LIMITATIONS
Disclaimer
For educational and analytical purposes only. Not financial advice. Marks and signals are not buy or sell recommendations. Past behaviour does not guarantee future results.
WHAT IT DOES
A common misreading is "price touches the upper band = sell". In a strong trend price can walk along the band for a long time. This script separates band walks from mean-reversion situations using band position and ADX.
HOW IT WORKS
- Band type: Bollinger, Keltner or Donchian. The script calculates where the close sits inside the band (0 = lower, 1 = upper).
- Band walk: if ADX shows a trend and several recent closes sit in the outer zone (default 3 of the last 5 above 0.8 or below 0.2), bands and fill are coloured green (walk up) or red (walk down).
- Mean-reversion candidates: when ADX shows no trend and price closes back inside the band after closing outside it, a small cross is marked (long below, short above).
- Squeeze: when Bollinger Bands are inside the Keltner Channel, dots are shown at the bottom. When the squeeze ends, the release is marked above or below the basis.
HOW TO USE
- Band walk colouring: treat touches of the outer band as trend strength, not as reversal signals.
- Mean-reversion marks are only relevant in non-trending conditions.
- Squeeze marks show compressed volatility. The release does not predict the size of the move.
- Alerts: band walk up/down started, squeeze fired up/down, mean-reversion candidate.
THE CHART
XAUUSD (gold) daily with Bollinger Bands (20, 2). Green sections are band walks up, red sections band walks down, grey sections are neutral. Dots at the bottom mark squeeze phases, triangles the squeeze release, crosses mean-reversion candidates.
WHAT IS ORIGINAL
Standard band indicators only draw lines. This script classifies band behaviour (walk vs. reversion) using band position and ADX, and adds squeeze detection for any selected band type.
CREDITS
Bollinger Bands (John Bollinger), Keltner Channel (Chester Keltner, ATR version by Linda Raschke), Donchian Channel (Richard Donchian), squeeze concept (John Carter), ADX (J. Welles Wilder).
LIMITATIONS
- Classification is based on recent closes and ADX and can change on the current bar.
- Squeeze release direction is based on the close relative to the basis and can reverse.
Disclaimer
For educational and analytical purposes only. Not financial advice. Marks and signals are not buy or sell recommendations. Past behaviour does not guarantee future results.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Indicatr - the indicators you know, rebuilt with market context: volume, trend and momentum, for long and short. Free open-source tools and Pro tools. Guides and setups: indicator.trading/en/link
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Indicatr - the indicators you know, rebuilt with market context: volume, trend and momentum, for long and short. Free open-source tools and Pro tools. Guides and setups: indicator.trading/en/link
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.