OPEN-SOURCE SCRIPT

Iceberg & Absorption Detector by Gurujames

202
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.

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.