OPEN-SOURCE SCRIPT
Adaptive Smart Money Liquidity Sweep Levels [AlgoAlpha]

🟠 OVERVIEW
Adaptive Smart Money Liquidity Levels tracks liquidity resting above and below price by detecting swing highs and lows across multiple lookback periods. Instead of displaying every historical level equally, it stores active liquidity zones, updates them over time, and removes them once price mitigates them.
The indicator also estimates the amount of liquidity accumulated around nearby levels using traded volume. This information is displayed through level opacity, a near-range liquidity balance chart, and an orderbook-style liquidity depth profile to provide context around where liquidity is concentrated.
🟠 CONCEPTS
🟠 FEATURES
🟠 HOW TO USE
🟠 CONCLUSION
Adaptive Smart Money Liquidity Levels combines multi-scale liquidity detection, volume-weighted liquidity accumulation, and mitigation tracking into a single view. By displaying active liquidity, nearby liquidity balance, and cumulative liquidity depth together, it provides additional context for where price is interacting with resting stop orders and how that structure changes over time. A key detail to note is that this script estimates the position and concentration of orders with proxies like swing levels and volume, and that the levels represent stop-loss orders, not limit orders.
Adaptive Smart Money Liquidity Levels tracks liquidity resting above and below price by detecting swing highs and lows across multiple lookback periods. Instead of displaying every historical level equally, it stores active liquidity zones, updates them over time, and removes them once price mitigates them.
The indicator also estimates the amount of liquidity accumulated around nearby levels using traded volume. This information is displayed through level opacity, a near-range liquidity balance chart, and an orderbook-style liquidity depth profile to provide context around where liquidity is concentrated.
🟠 CONCEPTS
- Liquidity Level — Swing highs and swing lows detected from fast, medium, and slow lookback windows. Nearby levels are merged together to reduce duplicate levels. These levels are used to estimate the location of stop-loss orders, and volume + candle direction are used to estimate the buying/selling (and thus concentration of stop-loss orders) to determine the magnitude of orders at these levels.
- Liquidity Depth — Volume is assigned to the nearest active liquidity levels based on candle direction and configurable distance weighting. The accumulated volume forms a depth profile around current price.
- Mass Liquidation — Triggered when a candle body moves through two or more active liquidity levels on the same side, indicating multiple liquidity pools were cleared within a single move.
- Stop-runs and Liquidity Dynamics — This script takes advantage of the concept of resting limit orders, and resting stop-loss orders. When a bar wicks a liquidity level instead of strongly trading through it, it implies a stronger amount of opposing pressure from both limit and market-orders than the pressure coming from clustered stop-losses, preventing a stop run and signalling a higher chance of that level holding and potentially a rebound. In simple terms, this indicator can be used as part of ICT and Smart Monet Concepts to help better understand a real liquidity sweep (marked by ▲▼) vs liquidation events (marked by highlighted candles) as both events usually require vastly different actions to capitalize on correctly.
🟠 FEATURES
- Adaptive Liquidity Levels. Displays the nearest active liquidity above and below price.
• Level opacity increases as more volume accumulates.
• Levels automatically disappear after mitigation or when they exceed the selected maximum age.
• Levels represent accumulating stop loss orders as more trades occur (using volume and candle direction to estimate market orders) - Near Range Liquidity Balance. Shows the relative liquidity accumulated of the 3 nearest levels above and below current price using a two-column comparison chart.
- Liquidity Depth Curve. Draws an orderbook-style cumulative depth profile beside price to visualize how liquidity builds further away from the current market.
- Liquidation And Sweep Signals. Highlights candles that clear multiple liquidity levels and marks wick-only liquidity sweeps with directional markers.
🟠 HOW TO USE
- Monitor liquidation labels and wick sweep markers to distinguish between full liquidity removals and liquidity that was only briefly tested. Liquidity removals imply weak levels while those that were wicked imply strong concentration of limit orders, useful for planning where to place stop losses or to time trade entries.
- Watch the nearest liquidity levels to identify where resting liquidity is currently concentrated around price.
- Compare the Near Range Liquidity Balance to see whether more liquidity is currently stacked above or below the market.
- Use the Liquidity Depth Curve to estimate how liquidity changes as price moves further away from its current location.
🟠 CONCLUSION
Adaptive Smart Money Liquidity Levels combines multi-scale liquidity detection, volume-weighted liquidity accumulation, and mitigation tracking into a single view. By displaying active liquidity, nearby liquidity balance, and cumulative liquidity depth together, it provides additional context for where price is interacting with resting stop orders and how that structure changes over time. A key detail to note is that this script estimates the position and concentration of orders with proxies like swing levels and volume, and that the levels represent stop-loss orders, not limit orders.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
🚨Get premium: algoalpha.io
🛜Get FREE signals: discord.gg/xCmqTVRexz
💡Tutorials: youtube.com/@AlgoAlpha
🛜Get FREE signals: discord.gg/xCmqTVRexz
💡Tutorials: youtube.com/@AlgoAlpha
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
🚨Get premium: algoalpha.io
🛜Get FREE signals: discord.gg/xCmqTVRexz
💡Tutorials: youtube.com/@AlgoAlpha
🛜Get FREE signals: discord.gg/xCmqTVRexz
💡Tutorials: youtube.com/@AlgoAlpha
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.