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
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。