OPEN-SOURCE SCRIPT

VCP v2

245
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.

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.