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.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.