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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.