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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
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
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
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
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.