OPEN-SOURCE SCRIPT
Adaptive High Volume Bars - Swing V2

is a volume activity indicator designed to highlight unusual trading participation directly on price candles while keeping the volume panel compact and easy to read.
The indicator classifies volume into four levels:
N — Normal
H — High
VH — Very High
EX — Exceptional
Bullish candles use a green-to-blue color scheme, while bearish candles use light gray for normal activity and an orange gradient for abnormal volume.
The lower panel uses fixed-height activity bars rather than a traditional volume histogram. This makes the importance of each event immediately visible without allowing raw volume spikes to distort the scale.
The indicator combines two statistical methods:
Absolute Volume measures how far the current volume is above its historical average using a Z-score based on the moving average and standard deviation of volume.
Volume Acceleration measures the sudden increase in volume compared with the previous candle.
The script automatically adapts its detection method and thresholds to four commonly used timeframes:
Weekly (1W)
Absolute volume detection with a 52-week lookback.
Daily (1D)
Absolute volume detection with a 200-bar lookback.
4 Hour (4H)
Hybrid detection combining absolute volume and volume acceleration.
1 Hour (1H)
Hybrid detection with stricter thresholds to reduce intraday noise.
In Hybrid mode, the indicator keeps the strongest signal produced by either absolute volume or volume acceleration.
The goal is not to measure price strength directly, but to identify periods when market participation becomes statistically unusual. These events can help provide additional context around breakouts, reversals, momentum expansion, capitulation and potential exhaustion moves.
The script also includes alert conditions for bullish and bearish High, Very High and Exceptional volume events.
This indicator is intended as a market analysis tool and should not be used as a standalone trading signal.
The indicator classifies volume into four levels:
N — Normal
H — High
VH — Very High
EX — Exceptional
Bullish candles use a green-to-blue color scheme, while bearish candles use light gray for normal activity and an orange gradient for abnormal volume.
The lower panel uses fixed-height activity bars rather than a traditional volume histogram. This makes the importance of each event immediately visible without allowing raw volume spikes to distort the scale.
The indicator combines two statistical methods:
Absolute Volume measures how far the current volume is above its historical average using a Z-score based on the moving average and standard deviation of volume.
Volume Acceleration measures the sudden increase in volume compared with the previous candle.
The script automatically adapts its detection method and thresholds to four commonly used timeframes:
Weekly (1W)
Absolute volume detection with a 52-week lookback.
Daily (1D)
Absolute volume detection with a 200-bar lookback.
4 Hour (4H)
Hybrid detection combining absolute volume and volume acceleration.
1 Hour (1H)
Hybrid detection with stricter thresholds to reduce intraday noise.
In Hybrid mode, the indicator keeps the strongest signal produced by either absolute volume or volume acceleration.
The goal is not to measure price strength directly, but to identify periods when market participation becomes statistically unusual. These events can help provide additional context around breakouts, reversals, momentum expansion, capitulation and potential exhaustion moves.
The script also includes alert conditions for bullish and bearish High, Very High and Exceptional volume events.
This indicator is intended as a market analysis tool and should not be used as a standalone trading signal.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.