OPEN-SOURCE SCRIPT
Zaktualizowano Bolling Band Breakout with Volume

The indicator is designed to show volume above 2 standard deviations to show a breakout after a Bollinger Band Squeeze.
Informacje o Wersji
Here's a changelog write-up you can paste into the "What's new" / update notes section on TradingView:---
**Update: Added intraday session-volume projection**
This update adds support for using the indicator on intraday timeframes, in addition to daily charts.
**What changed:**
- **New input: "Use Intraday Session Projection"** (checkbox, off by default) — when enabled, the script estimates full-session volume pace by dividing cumulative volume by the fraction of the trading session elapsed (based on a 9:30–16:00 session window). This corrects for the fact that a partial trading day's raw volume will always look artificially low when compared against a 20-day average built from full trading days.
- **Daily chart behavior is unchanged** — with the new toggle left unchecked, the indicator calculates exactly as before: raw volume vs. a rolling 20-period average and standard deviation, with no projection applied. Existing users on daily charts don't need to change anything.
- **Threshold and z-score logic unchanged** — still flags any bar where volume is 2+ standard deviations above its rolling average, colored red (down-day, distribution) or lime (up-day, accumulation); gray for normal volume.
- **Alerts unchanged** — the two existing alert conditions (sell-off volume outlier, buying volume outlier) still fire the same way, now also usable intrabar on intraday charts.
**Why this matters:** on intraday timeframes, the current forming bar recalculates live throughout the session. Without the projection, a genuinely large-volume day can look like a false negative early in the session simply because only a few hours of volume have accumulated. Enabling the projection puts intraday readings on a comparable basis to the historical daily average, so the signal is meaningful mid-session rather than only after the close.
**Recommended use:** leave the toggle **off** for daily-chart squeeze/breakout analysis; turn it **on** when applying the indicator to intraday charts for real-time volume-pace confirmation.
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.