OPEN-SOURCE SCRIPT
BB 3SD Volume Segmentation Curves

This is a companion script to tradingview.com/script/7ZRkY96Y-Bollinger-Bands-with-3SD-Volume-Segmentation/. It's purpose is to enhance visualisation of volume and volume differential for those areas where price is most likely to react from and to showcase the differences in a succinct graphical way for quick comparisons.
Purpose
This script maps buy/sell volume, delta, and dominance into Bollinger Band zones to reveal where aggressive participation occurs relative to volatility structure. Instead of looking at raw volume or delta in isolation, it distributes flow across eight volatility buckets (from >3SD to <–3SD), allowing you to see whether buyers or sellers are dominating at extremes, mid‑zones, or mean‑reversion areas. The goal is to create a normalized, volatility‑aware flow curve that highlights exhaustion, absorption, and imbalance far more clearly than standard volume indicators.
How it works
The script builds a multi‑SD Bollinger framework (1, 2, 3 standard deviations) and reconstructs buy/sell volume to compute delta. For every bar, it assigns volume and delta to the BB zone where price closed, then sums these values over the chosen lookback window. Each zone is normalized by total volume, producing comparable curves regardless of volatility or timeframe. Depending on the selected mode (Dominance %, Delta, or Volume), the script plots eight zone‑curves plus an optional total curve, giving a full distribution of flow across volatility extremes.
Rationale
Volume and delta behave very differently depending on where price sits relative to volatility structure. Heavy selling below –2SD means something completely different from heavy selling at the mean, and dominance at +3SD often signals exhaustion rather than continuation. By decomposing flow into volatility buckets, the script exposes where real aggression is happening and whether it aligns with trend, absorption, or reversal conditions. This transforms volume/delta from a blunt tool into a structured, regime‑aware signal that integrates cleanly with multi‑TF mean‑reversion or breakout systems.
Purpose
This script maps buy/sell volume, delta, and dominance into Bollinger Band zones to reveal where aggressive participation occurs relative to volatility structure. Instead of looking at raw volume or delta in isolation, it distributes flow across eight volatility buckets (from >3SD to <–3SD), allowing you to see whether buyers or sellers are dominating at extremes, mid‑zones, or mean‑reversion areas. The goal is to create a normalized, volatility‑aware flow curve that highlights exhaustion, absorption, and imbalance far more clearly than standard volume indicators.
How it works
The script builds a multi‑SD Bollinger framework (1, 2, 3 standard deviations) and reconstructs buy/sell volume to compute delta. For every bar, it assigns volume and delta to the BB zone where price closed, then sums these values over the chosen lookback window. Each zone is normalized by total volume, producing comparable curves regardless of volatility or timeframe. Depending on the selected mode (Dominance %, Delta, or Volume), the script plots eight zone‑curves plus an optional total curve, giving a full distribution of flow across volatility extremes.
Rationale
Volume and delta behave very differently depending on where price sits relative to volatility structure. Heavy selling below –2SD means something completely different from heavy selling at the mean, and dominance at +3SD often signals exhaustion rather than continuation. By decomposing flow into volatility buckets, the script exposes where real aggression is happening and whether it aligns with trend, absorption, or reversal conditions. This transforms volume/delta from a blunt tool into a structured, regime‑aware signal that integrates cleanly with multi‑TF mean‑reversion or breakout systems.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.