OPEN-SOURCE SCRIPT
VCP v2

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.
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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.