OPEN-SOURCE SCRIPT

Spike Volume Bar & POC

41
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

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.