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
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.