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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.