OPEN-SOURCE SCRIPT
Iceberg Detector

This Pine-script indicator helps you spot potential “iceberg” order activity by highlighting bars where volume spikes well above its average while price movement remains unusually muted. It’s purely a heuristic—no true bid/ask or futures order‐flow data is used—so treat every signal as an invitation to investigate, not as a standalone buy/sell trigger.
How It Works • Volume vs. Volume-SMA: The script compares each bar’s total volume to an N-bar simple moving average. • Price Movement vs. Movement-SMA: It measures the bar’s percent change (|close–open|/open×100) against its own N-bar SMA. • Sensitivity Slider: From 1 (loose filter) to 10 (strict filter), you control how extreme the volume spike (and muted move) must be to fire a signal. • Pivot-Style Extremes Filter: Short signals only appear when price is at or very near a recent local high, and long signals only when price is at or very near a recent local low. This dramatically cuts down “noise” on lower timeframes—script execution halts on intraday charts below 1 H.
How to Use
Apply to an hourly (or higher) chart.
Tweak “Length” parameters for your preferred look-back on volume and movement SMAs.
Adjust “Sensitivity” from 1 (more signals, weaker divergences) up to 10 (very rare, extreme divergences).
Watch for red triangles above bars (Iceberg-Short) and green triangles below (Iceberg-Long).
Important Disclaimers • This is NOT a genuine order-flow or footprint tool—it only approximates delta by bar direction. • Always contextualize Short signals near the lower end of a range or support zone, and Long signals near the upper end of a range or resistance zone. • Use additional confirmation (price patterns, larger-timeframe pivots, traditional volume/price analysis) before risking real capital.
By combining volume spikes with muted price action at range extremes, you gain a fresh lens on where hidden large orders might be lurking—without needing a dedicated order-flow feed. Use it as an idea‐generator, not as gospel
How It Works • Volume vs. Volume-SMA: The script compares each bar’s total volume to an N-bar simple moving average. • Price Movement vs. Movement-SMA: It measures the bar’s percent change (|close–open|/open×100) against its own N-bar SMA. • Sensitivity Slider: From 1 (loose filter) to 10 (strict filter), you control how extreme the volume spike (and muted move) must be to fire a signal. • Pivot-Style Extremes Filter: Short signals only appear when price is at or very near a recent local high, and long signals only when price is at or very near a recent local low. This dramatically cuts down “noise” on lower timeframes—script execution halts on intraday charts below 1 H.
How to Use
Apply to an hourly (or higher) chart.
Tweak “Length” parameters for your preferred look-back on volume and movement SMAs.
Adjust “Sensitivity” from 1 (more signals, weaker divergences) up to 10 (very rare, extreme divergences).
Watch for red triangles above bars (Iceberg-Short) and green triangles below (Iceberg-Long).
Important Disclaimers • This is NOT a genuine order-flow or footprint tool—it only approximates delta by bar direction. • Always contextualize Short signals near the lower end of a range or support zone, and Long signals near the upper end of a range or resistance zone. • Use additional confirmation (price patterns, larger-timeframe pivots, traditional volume/price analysis) before risking real capital.
By combining volume spikes with muted price action at range extremes, you gain a fresh lens on where hidden large orders might be lurking—without needing a dedicated order-flow feed. Use it as an idea‐generator, not as gospel
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
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.