OPEN-SOURCE SCRIPT
Actualizado Liquidity Magnet Terminal

Liquidity Magnet Terminal
Liquidity Magnet Terminal is a volume-weighted liquidity mapping tool that helps traders identify the price levels where the market has historically accumulated the most trading interest — the zones most likely to act as magnets for future price movement.
Most support/resistance tools plot every swing high and low individually, which quickly clutters the chart with dozens of overlapping lines of equal visual weight. This script takes a different approach: it treats pivots as raw data points, clusters the ones sitting close together into unified zones, and weights each zone by the volume that traded at those levels. The result is a small, ranked set of levels — the ones that actually matter — instead of visual noise.
How the zones are built
The script continuously scans for pivot highs and lows using a configurable lookback window, recording the price, volume, and direction (resistance vs. support) of each one. As new pivots form, nearby pivots of the same direction are merged into a single zone using a volume-weighted average — meaning a pivot backed by high volume pulls the zone's price toward itself more strongly than a low-volume pivot would. This mimics how real liquidity accumulates: not at one exact tick, but across a cluster of prices where repeated buying or selling interest has occurred.
Each resulting zone is then scored by its total accumulated volume and normalized against the strongest zone on the chart, producing a relative strength score from 0 to 1. Only the top-ranked zones (configurable count) that clear a minimum strength threshold are kept and drawn — everything else is filtered out automatically.
What you see on the chart
Horizontal lines marking each liquidity zone, color-coded by direction (resistance zones in red, support zones in green), with line length and opacity scaling to zone strength — the strongest, most "magnetic" levels stand out visually without any manual adjustment
A star marker (⭐) highlighting zones in the top strength tier (≥75% relative strength)
A compact terminal-style panel showing current price alongside all active zones, their price levels, and a strength bar for at-a-glance comparison
Inputs
Pivot strength, lookback period, number of zones to display, zone merge tolerance (%), minimum strength filter, line width, and toggles for the panel, price labels, and star markers — all adjustable to fit different timeframes and instruments.
How to use it
Liquidity Magnet Terminal is designed as a contextual map, not a standalone signal generator. Use the ranked zones to anticipate where price is likely to react, get drawn toward, or reverse from — then combine that context with your own entry triggers, market structure analysis, and risk management. Zone strength reflects historical volume clustering; it does not predict direction or guarantee a reaction.
Liquidity Magnet Terminal is a volume-weighted liquidity mapping tool that helps traders identify the price levels where the market has historically accumulated the most trading interest — the zones most likely to act as magnets for future price movement.
Most support/resistance tools plot every swing high and low individually, which quickly clutters the chart with dozens of overlapping lines of equal visual weight. This script takes a different approach: it treats pivots as raw data points, clusters the ones sitting close together into unified zones, and weights each zone by the volume that traded at those levels. The result is a small, ranked set of levels — the ones that actually matter — instead of visual noise.
How the zones are built
The script continuously scans for pivot highs and lows using a configurable lookback window, recording the price, volume, and direction (resistance vs. support) of each one. As new pivots form, nearby pivots of the same direction are merged into a single zone using a volume-weighted average — meaning a pivot backed by high volume pulls the zone's price toward itself more strongly than a low-volume pivot would. This mimics how real liquidity accumulates: not at one exact tick, but across a cluster of prices where repeated buying or selling interest has occurred.
Each resulting zone is then scored by its total accumulated volume and normalized against the strongest zone on the chart, producing a relative strength score from 0 to 1. Only the top-ranked zones (configurable count) that clear a minimum strength threshold are kept and drawn — everything else is filtered out automatically.
What you see on the chart
Horizontal lines marking each liquidity zone, color-coded by direction (resistance zones in red, support zones in green), with line length and opacity scaling to zone strength — the strongest, most "magnetic" levels stand out visually without any manual adjustment
A star marker (⭐) highlighting zones in the top strength tier (≥75% relative strength)
A compact terminal-style panel showing current price alongside all active zones, their price levels, and a strength bar for at-a-glance comparison
Inputs
Pivot strength, lookback period, number of zones to display, zone merge tolerance (%), minimum strength filter, line width, and toggles for the panel, price labels, and star markers — all adjustable to fit different timeframes and instruments.
How to use it
Liquidity Magnet Terminal is designed as a contextual map, not a standalone signal generator. Use the ranked zones to anticipate where price is likely to react, get drawn toward, or reverse from — then combine that context with your own entry triggers, market structure analysis, and risk management. Zone strength reflects historical volume clustering; it does not predict direction or guarantee a reaction.
Notas de prensa
Correction in nameNotas de prensa
Small changes in copyright :)Notas de prensa
Update of the screen + tagsScript 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.
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.
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.