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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
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
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
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
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。