OPEN-SOURCE SCRIPT
Spike Volume Bar & POC

This indicator identifies volume spikes using Z-score statistical analysis and
calculates Point of Control (POC) for high-volume bars.
KEY FEATURES:
- Statistical volume spike detection using customizable Z-score threshold
- Multi-timeframe POC calculation using lower timeframe data
- Multiple volume sources (Chart, Binance, Coinbase, Bybit, OKEx)
- Smart POC line management with hit detection
- Color-coded bars for bullish/bearish high-volume periods
HOW IT WORKS:
1. Z-SCORE CALCULATION:
• Calculates rolling mean and standard deviation of volume over specified period
• Z-score = (Current Volume - Mean Volume) / Std Deviation
• Triggers when Z-score exceeds threshold (default: 2.0σ)
2. POC CALCULATION:
• For lower timeframe mode: analyzes intrabar volume distribution
• Calculates VWAP for each lower timeframe bar
• Identifies price level with highest volume concentration
• Uses statistical filtering (Z-score > 1.5) to find volume clusters
3. LINE MANAGEMENT:
• Draws horizontal lines at POC levels
• Extends lines until price touches them
• Optional: hides or grays out touched POC levels
• Maintains up to 500 active lines
calculates Point of Control (POC) for high-volume bars.
KEY FEATURES:
- Statistical volume spike detection using customizable Z-score threshold
- Multi-timeframe POC calculation using lower timeframe data
- Multiple volume sources (Chart, Binance, Coinbase, Bybit, OKEx)
- Smart POC line management with hit detection
- Color-coded bars for bullish/bearish high-volume periods
HOW IT WORKS:
1. Z-SCORE CALCULATION:
• Calculates rolling mean and standard deviation of volume over specified period
• Z-score = (Current Volume - Mean Volume) / Std Deviation
• Triggers when Z-score exceeds threshold (default: 2.0σ)
2. POC CALCULATION:
• For lower timeframe mode: analyzes intrabar volume distribution
• Calculates VWAP for each lower timeframe bar
• Identifies price level with highest volume concentration
• Uses statistical filtering (Z-score > 1.5) to find volume clusters
3. LINE MANAGEMENT:
• Draws horizontal lines at POC levels
• Extends lines until price touches them
• Optional: hides or grays out touched POC levels
• Maintains up to 500 active lines
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.