OPEN-SOURCE SCRIPT
Iceberg & Absorption Detector by Gurujames

Chart Interval Configuration: The input.timeframe() function generates a dropdown menu in your dashboard. You can leave it on the default "Same as Chart" or lock the script's calculation to a specific interval (e.g., 5-minute or 1-hour), forcing the algorithm to detect macro-absorption zones regardless of what time-frame you are currently viewing.
Price Stickiness Customization: The maxSpreadPct has been enhanced with a step = 0.01 input setting, allowing you to finely tune what you consider "sticky." By lowering this number (e.g., to 0.05%), you instruct the script to only mark areas where the invisible iceberg wall allowed virtually zero price slippage.
Visualizing Filled Areas via Bubbles: When the algorithm detects a massive volume-to-depth discrepancy pinned against a sticky price, it triggers two translucent shape.circle plots positioned precisely on the exact high and low boundaries of that specific price level. This creates a highly visible "bubble" over the exact area where the hidden liquidity was replenished and filled by incoming taker flow.
Price Stickiness Customization: The maxSpreadPct has been enhanced with a step = 0.01 input setting, allowing you to finely tune what you consider "sticky." By lowering this number (e.g., to 0.05%), you instruct the script to only mark areas where the invisible iceberg wall allowed virtually zero price slippage.
Visualizing Filled Areas via Bubbles: When the algorithm detects a massive volume-to-depth discrepancy pinned against a sticky price, it triggers two translucent shape.circle plots positioned precisely on the exact high and low boundaries of that specific price level. This creates a highly visible "bubble" over the exact area where the hidden liquidity was replenished and filled by incoming taker flow.
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.
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.
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.