OPEN-SOURCE SCRIPT
Aktualisiert 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.
Versionshinweise
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.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.