Liquidity Heatmap
When price stretches into a fresh swing extreme, ZynAlgo Liquidity Heatmap - a liquidity heatmap indicator for TradingView - shows you what the candles hide: where the leg's volume traded, and which side funded it.
Key benefits
- See where a leg's liquidity really sits - each completed swing is sliced into volatility-scaled bins, shaded by traded volume.
- Get one reference level per leg - a gold POC line marks the heaviest price bin of that leg.
- Catch moves their own flow does not support - a named warning prints when an up leg closes on net sell volume, or a down leg on net buy volume.
- Keep the chart readable - a compact pill shows volume and delta; the full breakdown stays in a hover tooltip.
- Watch the current leg build - the unfinished leg is drawn neutral and recalculated live.
How it works
It tracks swings with a rolling lookback, bins each leg's volume into ATR-scaled price levels, splits bars into buy or sell volume by candle direction, then compares totals to flag divergence. Full breakdown in the Manual.
What's included / Platforms
TradingView invite-only script (Pine Script v6), overlay. Inputs for heatmap, profile outline, ZigZag, POC, swing sensitivity, colours and label size. Access via your ZynAlgo account.
Best for
Futures, crypto and equities with reliable volume; intraday to swing timeframes; traders who already have an entry method and want volume context.
Browse the ZynAlgo marketplace
It is an analysis tool, not an entry system - no indicator predicts the market, and trading involves risk of loss.
Liquidity Heatmap
1. The problem ZynAlgo Liquidity Heatmap was built to solve
A price chart tells you where the market travelled. It does not tell you where the money actually changed hands along the way, or which side of the book paid for the move. Volume plotted under the chart is tied to time, so it answers "when was it busy?" - never "at which price was it busy?".
ZynAlgo Liquidity Heatmap is built around that second question, and it answers it one swing leg at a time. Rather than profiling a fixed session or a fixed lookback window, it waits for a leg to complete between a swing high and a swing low, then rebuilds the volume picture for exactly that leg.
To do that, the script works with five inputs taken straight from the chart:
- swing structure, tracked from rolling highs and lows over an adjustable lookback;
- a volatility-scaled price grid, so every leg is sliced into bins sized from long-term ATR;
- traded volume per bin, accumulated bar by bar inside the leg;
- a buy/sell split of that volume, derived from each bar's candle direction;
- the resulting delta for the leg as a whole.
What you get on TradingView is a per-leg map of liquidity - dense prices, thin prices, one dominant price - plus a warning whenever a leg was not funded by the side that appeared to be driving it.
2. Understanding the Swing Liquidity Node
A Swing Liquidity Node is a horizontal slice of price inside one completed swing leg, shaded by how much of that leg's volume traded there. It matters because a leg is never uniform: most of its volume collapses into a handful of price slices, while the rest of the range is crossed almost in a straight line. Those two behaviours mean very different things when price comes back.

- Dense node - deep, saturated colour. Price spent volume here, so both sides were willing to transact. These slices tend to slow price down on the return trip.
- Thin node - pale, almost transparent colour. Little volume was posted at this price; the market moved through it rather than trading in it.
- Point of Control (POC) - the single heaviest slice of the leg, drawn as a gold horizontal line across the leg. It is the price the leg agreed on most.
- Leg polarity - the whole node stack is cyan when the completed leg ran upward and crimson when it ran downward, so you can read direction and liquidity in one glance.
- Forming leg - while the current leg is still open, its nodes are drawn in a neutral white and recalculated on every bar, so they can shift until the leg completes.
The mistake this exposes is a common one: traders mark the extreme of a swing as the important level, because that is where the candle wick is. In practice the extreme is usually the thinnest part of the leg - almost no volume traded there - while the level that actually organised the move sits somewhere in the middle of the range, invisible on a plain chart. Marking the wick and ignoring the node means defending a price nobody traded.
How the Swing Liquidity Node is defined
Nothing here is discretionary - every node is produced by the same mechanical sequence. The components below, and their roles:

- Rolling high / low tracker (Swing Length, default 50) - marks a swing high once the highest high of the lookback stops being exceeded, and a swing low the same way. These two anchors define the leg. Lower the value for more, shorter legs; raise it for fewer, larger ones.
- ATR(200) x 0.5 - sets the height of one bin. Node resolution therefore scales with the instrument's own volatility instead of a fixed tick count.
- Volume bins - every bar inside the leg contributes its volume to the bin nearest its close, which is what builds the density map.
- Buy / sell split - a bar closing above its open counts as buy volume; anything else counts as sell volume. This is an approximation read from candle direction, not exchange bid/ask order-flow data.
- Relative shading - each bin is coloured by its share of the heaviest bin in the same leg, so the heatmap is always read relative to that leg, never against the whole chart.
- POC line (gold, width adjustable) - drawn on the bin that holds the leg's maximum volume.
- Profile outline - an optional polyline silhouette that turns the same data into a classic volume-profile histogram; with the heatmap switched off, the bins shrink back to bar form.
- ZigZag connector - a dotted, dashed or solid line joining the two swing anchors, so the leg being measured is unambiguous.
- Data tag + tooltip - a compact pill at the leg's origin showing total volume and delta percentage, with the full Total / Buy / Sell / Delta breakdown hidden in the hover tooltip to keep the chart clean.
3. How to trade with ZynAlgo Liquidity Heatmap
Read this section carefully, because it is the part most volume tools get misrepresented on. ZynAlgo Liquidity Heatmap does not print BUY or SELL entries. There are no entry arrows, no long/short markers and no built-in alert conditions in the script. It draws structure, liquidity and two named warning events, and it leaves the entry decision to your own method.
The two events it does print are defined exactly like this:
- Bearish Div (Negative Delta) - printed above the swing high when the completed leg ran UPWARD, yet its total sell volume came out larger than its total buy volume. The leg made a higher extreme, but the flow behind it leaned to the sell side.
- Bullish Div (Positive Delta) - printed below the swing low when the completed leg ran DOWNWARD, yet its total buy volume came out larger than its total sell volume. The leg made a lower extreme while the flow behind it leaned to the buy side.
The same two tests also run on the leg that is still forming, drawn in the neutral colour. Treat those as provisional: they are recalculated on every bar and can appear, disappear or flip until the leg actually completes. Only the coloured labels on completed legs are final.
The label text is the reason, not a decoration. "Negative Delta" means sell volume outweighed buy volume across that specific leg; "Positive Delta" means the opposite. You can verify it yourself on the same leg: the pill tag shows Δ as a percentage, and the tooltip breaks it into Total, Buy and Sell volume.

A workable way to use the three outputs together:
- Use the POC line as the leg's reference price. Price returning to it is the leg's own consensus level being retested - a natural place to look for your setup, in either direction.
- Use dense nodes as friction and thin nodes as travel. A retracement entering a saturated area usually has to work; a retracement entering a pale gap often covers it quickly.
- Use a divergence label as a caution flag on continuation, not as a reversal order. A Bearish Div on an up leg says the new high was not funded by buyers - that argues against chasing the breakout, and it is the point at which you demand confirmation from your own entry logic.
- Require confluence. Every reading here describes what has already traded; none of it forecasts the next bar.
Typical market states you will see, and what they look like:
- Healthy trend leg - up leg in cyan, no divergence label, POC sitting in the lower half of the leg: the move was built on volume from below.
- Exhausted push - up leg in cyan carrying a Bearish Div label and a negative Δ on the pill: a new high with sell-side flow behind it.
- Absorbed sell-off - down leg in crimson carrying a Bullish Div label and a positive Δ: a new low, but buyers were the ones transacting into it.
- Balanced range - several short legs whose nodes overlap around the same prices, with POC lines clustering: rotation, not trend.
4. Is ZynAlgo Liquidity Heatmap right for you?
It is a good fit if you recognise yourself here:
- You trade instruments with meaningful volume data - futures, crypto perpetuals, index CFDs with exchange volume, or equities. On spot FX, TradingView reports tick volume, so read the delta as activity rather than as traded size.
- You work intraday to swing - the tool rebuilds on every completed leg, so it adapts to M5 scalping legs and H4 swing legs alike, controlled by one Swing Length input.
- You already have an entry method and want a volume-context filter on top of it, rather than a system that tells you when to click.
- You care about where liquidity sits - support and resistance drawn from traded volume rather than from horizontal lines eyeballed off wicks.
- It is a weaker fit if you want automated entries, alerts or a mechanical rule set: this script deliberately does not provide them.
The purpose of this indicator is not to add more signals to your chart. It is to reduce the number of moves you take at face value - because a leg that looks strong and a leg that was funded by the side driving it are not the same thing, and only one of them is worth trading into.
Browse the ZynAlgo marketplace
Risk note: ZynAlgo Liquidity Heatmap is an analysis tool. It describes volume that has already traded and makes no prediction about future price. Trading carries risk of loss - size your positions accordingly and never rely on a single indicator.
- Liquidity Heatmap v1Aug 13, 2026
Why Volume Plotted by Time Misses Where Liquidity Actually Sits
Time-based volume tells you when the market was busy, not at which price participants actually agreed to transact. This article explains how swing-based liquidity profiling answers the question standard volume bars can't.
Why Swing Highs and Lows Have No Volume: Reading Liquidity Inside the Leg
Most traders mark swing extremes as key levels, but price wicks are usually the thinnest part of the move. Learn how to read where volume actually traded inside each swing leg.
























