OPEN-SOURCE SCRIPT

VCP v2

243
v2 Update — BB Width Squeeze

Replaced the ADR% percentile compression calculation with a Bollinger Band Width squeeze system.

Previously the indicator ranked current ADR% within its recent historical range, which struggled to detect compression during long slow consolidations where ADR% stays flat throughout.

BB Width measures how narrow the bands are relative to the 20-period SMA, then ranks current width as a percentile against a 90-day lookback.

Green when BB Width is in the bottom 15% of its range (true squeeze territory)

Orange at 15–25%, red above.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.