OPEN-SOURCE SCRIPT
Liquidity Depth Indicator [BigBeluga]

🔵 OVERVIEW
Liquidity Depth Indicator [BigBeluga] visualizes the distribution, balance, and depth of liquidity within a selected lookback window.
It builds a full liquidity profile by scanning how often price interacted with each price level, generating cumulative buy-side and sell-side curves, heatmap intensity zones, and a clear Point of Control (PoC).
This provides a deep structural view of where liquidity sits, how it’s stacked, and which side of the market dominates.
🔵 CONCEPTS
🔵 FEATURES
🔵 HOW IT WORKS
🔵 HOW TO USE
🔵 CONCLUSION
Liquidity Depth Indicator [BigBeluga] is a powerful microstructure tool that reveals where liquidity is stacked within a price range.
By combining cumulative curves, heat mapping, and PoC identification, it exposes both visible and hidden liquidity layers — helping traders spot absorption zones, reversal clusters, liquidity pools, and trend exhaustion areas with high clarity.
Liquidity Depth Indicator [BigBeluga] visualizes the distribution, balance, and depth of liquidity within a selected lookback window.
It builds a full liquidity profile by scanning how often price interacted with each price level, generating cumulative buy-side and sell-side curves, heatmap intensity zones, and a clear Point of Control (PoC).
This provides a deep structural view of where liquidity sits, how it’s stacked, and which side of the market dominates.
🔵 CONCEPTS
- Liquidity Binning — The full range (High → Low) over the lookback window is divided into 100 micro-price zones. Each candle contributes its volume into the bin closest to its close.
- Buy/Sell Side Split —
• Zones above the midpoint = potential sell-side liquidity concentration.
• Zones below midpoint = potential buy-side liquidity concentration. - Cumulative Liquidity Curves — Each side builds a flowing curve showing how liquidity stacks from mid toward extremes.
- Liquidity Heatmap — Highlights volume density at each price level using color intensity for easy visual analysis.
- Point of Control — The price level with the highest liquidity accumulation (max volume bin).
🔵 FEATURES
- 100-Level Volume Distribution — Scans all candles inside the lookback period and assigns each close to the nearest bin.
- Sell-Side Depth Curve — Plotted above the midpoint, showing how sell liquidity increases as price moves toward the top of the range.
- Buy-Side Depth Curve — Plotted below the midpoint, showing how buy liquidity builds toward the bottom of the range.
- Volume Labels — Displays total buy-side and sell-side volume at curve peaks.
- Mid-Range Liquidity Split — Calculates:
• Buy-side liquidity %
• Sell-side liquidity %
Displayed in two vertical boxes next to the profile. - Liquidity Heatmap Overlay — Color-coded price strips showing where largest clusters sit:
• Above midpoint → [color=orange]Sell zones[/color]
• Below midpoint → [color=blue]Buy zones[/color] - PoC Detection — Draws the strongest liquidity level with a bold line and prints its relative volume.
- Range Frame Lines — High, Low, and Mid lines are plotted to define the liquidity environment.
- Auto-Cleanup & Rebuild — All curves, boxes, and heatmap segments are refreshed each bar using barstate.islast.
🔵 HOW IT WORKS
- 1. Determines High, Low, and Mid over the lookback window.
- 2. Divides the range into 100 bins based on linear spacing.
- 3. Accumulates volume per bin depending on where each candle’s close lands.
- 4. Builds total, buy-side, and sell-side cumulative curves.
- 5. Colors the heatmap based on normalized volume per bin.
- 6. Locates PoC — the bin with maximum volume.
- 7. Creates buy/sell percentage distribution boxes.
🔵 HOW TO USE
- Identify Liquidity Imbalance — Compare the buy vs sell percentage boxes to see which side dominates.
- Spot Strong Liquidity Walls — Thick portions of cumulative curves represent areas price may reject.
- Read PoC as a Magnet — Price often gravitates toward the PoC or reacts strongly once reached.
- Evaluate Breakout Strength — If liquidity is concentrated at extremes, a breakout may face strong absorption.
- Use Heatmap as Hidden S/R — The brightest zones frequently act as hidden support/resistance.
- Detect Exhaustion Areas — If a curve sharply thins near highs or lows, the trend may weaken.
🔵 CONCLUSION
Liquidity Depth Indicator [BigBeluga] is a powerful microstructure tool that reveals where liquidity is stacked within a price range.
By combining cumulative curves, heat mapping, and PoC identification, it exposes both visible and hidden liquidity layers — helping traders spot absorption zones, reversal clusters, liquidity pools, and trend exhaustion areas with high clarity.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
🔵Gain access to our powerful tools : bigbeluga.com/tv
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
🔵Gain access to our powerful tools : bigbeluga.com/tv
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
🔵Join our free discord for updates : bigbeluga.com/discord
All scripts & content provided by BigBeluga are for informational & educational purposes only.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.