Liquidation Magnet [Quantum Algo]Liquidation Magnet
═══════════════════════════════════════════════
🔶 OVERVIEW
Liquidation Magnet estimates where over-leveraged long and short positions are likely to be liquidated, builds decaying volume-weighted clusters at those levels, and renders them as heat ladders directly on your chart. A gold magnet beam locks onto the strongest nearby pool, purge flashes mark the moment price sweeps through a cluster, and a statistics panel tracks how often those sweeps actually reverse on the exact symbol and timeframe you are trading.
The idea is simple and powerful: price does not wander randomly — it is drawn toward liquidity. The largest pockets of forced orders sit where crowded positions get liquidated. This tool maps those pockets, weighs them, and watches them get consumed.
Important honesty note, up front: every level in this indicator is an ESTIMATE derived from price structure and typical leverage tiers. This script does not read exchange liquidation feeds or order-book data, and no indicator on this platform can. Anyone claiming otherwise is guessing with extra steps. This tool guesses transparently — and then measures itself.
═══════════════════════════════════════════════
🔶 WHAT IS A LIQUIDATION MAGNET?
When traders open leveraged positions near a swing high or swing low, their liquidation prices sit at fixed, mathematically determined distances from their entries. A crowd of 25x longs opened near a swing low will be liquidated roughly four percent below it. A crowd of 50x shorts opened near a swing high will be liquidated roughly two percent above it.
Those liquidation prices are where forced market orders wait. Forced orders are fuel. Markets are drawn toward fuel — sweep the pool, fill the orders, and very often reverse once the fuel is spent. That pull is the "magnet."
═══════════════════════════════════════════════
🔶 WHY IS THIS ORIGINAL?
1. Cluster model, not static lines. Swing anchors project liquidation estimates through four leverage tiers (10x, 25x, 50x, 100x, each toggleable). Nearby estimates MERGE into clusters whose mass grows with the volume behind the anchoring swing — scattered guesses become weighted zones.
2. Living decay engine. Positions close, stops move, the crowd rotates. Every cluster loses mass each bar and dies when it fades — or the instant price sweeps through it and consumes it. The map you see is current, never a museum of stale lines.
3. Purge detection with self-auditing statistics. When price trades through a pool, the tool prints a purge flash and then measures what happened next. The dashboard reports the ten-bar reversal rate after upward and downward purges — computed on your chart, shrunk toward neutral at small sample sizes, with a Wilson lower bound available in tooltips. The indicator grades its own thesis in public.
4. The magnet beam. Among all pools within reach, the strongest (mass discounted by distance) is highlighted with a gold beam from live price — a single glance answers "where is the nearest large pocket of fuel?"
5. Radical transparency in a genre full of implication. Every tooltip, the dashboard footer, and this description state plainly that levels are structural estimates, not exchange data.
═══════════════════════════════════════════════
🔶 HOW IT WORKS
— Swing anchors: confirmed pivot highs and lows define where crowds of entries concentrate.
— Tier projection: each anchor projects liquidation estimates at the distances implied by common leverage tiers (about 1%, 2%, 4%, and 10% from entry).
— Mass: each projection carries mass scaled by the volume z-score at the anchor — swings formed on climactic volume imply larger crowds.
— Clustering: projections landing near an existing cluster merge into it, shifting its weighted center and adding mass.
— Decay and death: mass decays every bar; weak clusters are pruned; swept clusters are consumed immediately.
— Rendering: each cluster draws a trailing heat band across the chart plus a three-layer intensity ladder at the right edge — length and brightness scale with mass; the strongest pool burns gold.
— Purge statistics: after each sweep, the ten-bar outcome is recorded in first-in-first-out sample sets, and reversal rates are displayed with sample counts.
Everything is computed on confirmed bars. Signals and clusters do not repaint. All drawings are capped for performance.
═══════════════════════════════════════════════
🔶 HOW TO USE IT
— Directional context: a heavy pool overhead with light fuel below suggests the path of least resistance is up (toward the fuel), and the Net Pull row quantifies this bias.
— Sweep-and-reversal trading: the classic use. Wait for price to purge a strong pool, check the dashboard's historical reversal rate for that direction on your symbol, and treat the purge as a candidate exhaustion point for your own entry method.
— Target selection: strong pools are natural take-profit magnets — many traders exit into the fuel rather than after it is spent.
— Risk placement: avoid resting stops just beyond a hot ladder; that is exactly where the market has an incentive to reach.
— Works on any symbol, but the leverage-tier logic is designed for crypto perpetual futures, where liquidation mechanics dominate intraday movement. Best on 15m to 4H.
═══════════════════════════════════════════════
🔶 SETTINGS
— Swing Anchor Length: pivot size defining the anchoring swings.
— Leverage Tiers: toggle 10x / 25x / 50x / 100x projections independently.
— Maximum Clusters, Merge Tolerance, Mass Decay: control the density and lifespan of the map.
— Purge flashes, heat ladders, magnet beam, and ladder length are individually toggleable.
— Statistics: sample cap, minimum samples to grade, shrinkage strength, Wilson z-score.
— Full color and dashboard customization.
═══════════════════════════════════════════════
🔶 ALERTS
— Approaching Magnet — price within half an Average True Range of an estimated pool.
— Upward Purge — an estimated short-liquidation pool was swept.
— Downward Purge — an estimated long-liquidation pool was swept.
═══════════════════════════════════════════════
🔶 FAQ
Q: Is this real liquidation data from exchanges?
A: No — and this matters. PulseWire indicators cannot access exchange liquidation feeds or order books. Every level here is an estimate computed from price structure and the fixed mathematics of leverage. The tool is honest about this everywhere, and it compensates by measuring its own hit rate on your chart.
Q: Why do the estimated levels often line up with where price actually reverses?
A: Because liquidation math is public and mechanical. Everyone's 50x liquidation sits roughly two percent from entry, so crowded swings reliably produce crowded liquidation pockets — no private data required.
Q: Does it repaint?
A: No. Clusters form on confirmed pivots, purges are detected on confirmed bars, and consumed clusters stay consumed.
Q: Which markets and timeframes?
A: Designed for crypto perpetual futures on 15m–4H. The structural logic works elsewhere, but the leverage-tier assumptions are crypto-native.
Q: What do the reversal statistics mean?
A: After each purge, the tool records whether price moved back against the sweep over the next ten bars. Rates are shrunk toward fifty percent at low sample counts so early numbers cannot overstate the edge. They describe this chart's history only — they are not predictions.
═══════════════════════════════════════════════
🔶 CREDITS
The liquidation-level mapping concept was popularized by crypto derivatives analytics platforms; pivot structure detection is classical technique; the Wilson score interval is by Edwin B. Wilson (1927). The cluster model, volume-weighted mass and decay engine, purge state machine, self-auditing statistics, and all code in this script are original work. No third-party or open-source script code was reused.
═══════════════════════════════════════════════
🔶 LIMITATIONS
— All levels are estimates; actual liquidation prices vary with margin mode, maintenance margin, fees, and funding.
— The statistics describe historical behavior on the current chart only; past frequencies never guarantee future outcomes.
— On illiquid symbols or very low timeframes, swing anchors are noisier and clusters less meaningful.
═══════════════════════════════════════════════
🔶 DISCLAIMER
This indicator is a research and charting tool provided for educational purposes. It is not financial advice, and no statistic shown is a promise of future performance. Trading leveraged instruments involves substantial risk of loss. Always do your own analysis and manage risk responsibly. Indicator

Whale Liquidity and Absorption Profile [AlgoAlpha]🟠 OVERVIEW
The Whale Liquidity and Absorption Profile maps intrabar buying, selling, delta, and absorption activity into stacked horizontal profiles. It samples lower timeframe volume data inside each chart candle, then groups that activity into price bins to show where aggressive participation and absorption occurred across a configurable lookback range.
The script separates strong and weak activity using a percentile-based strength filter. It also builds a delta heatmap, absorption profile, historical absorption heatmap, and local absorption zones. Together, these components help traders identify where liquidity entered the market, where imbalance formed, and where price may react again.
🟠 CONCEPTS
Intrabar Sampling — Lower timeframe volume and directional data are requested using request.security_lower_tf() to reconstruct buying and selling activity inside each chart candle.
Strength Filter — Intrabar volume samples are ranked by percentile. Volumes above the selected percentile threshold are classified as strong activity while lower values are treated as weak activity.
Delta Profile — Buy volume minus sell volume calculated per price bin. Positive delta shows aggressive buying while negative delta shows aggressive selling.
Absorption Volume — Bullish volume occurring in upper wicks and bearish volume occurring in lower wicks. This is used to estimate where opposing liquidity absorbed incoming pressure.
Price Bins — The full price range inside the lookback is divided into vertical bins. All volume, delta, and absorption calculations are aggregated into these bins.
Absorption Peaks — Local highs in the absorption profile compared against neighboring bins. These areas are drawn as support and resistance zones.
🟠 FEATURES
Multi-Layer Volume Profile — Displays stacked buying and selling activity across price levels.
• Separates strong bullish, weak bullish, weak bearish, and strong bearish volume.
• Optional strong-only mode hides weak participation and normalizes the profile using only strong activity.
Delta Heatmap — Displays signed delta values directly inside each profile cell.
• Positive delta highlights dominant buying pressure.
• Negative delta highlights dominant selling pressure.
Absorption Profile — Aggregates wick-based absorption activity into a separate horizontal profile. (Buys at high wicks, Sells at low wicks)
Historical Absorption Heatmap — Creates rolling 5-bar heatmap snapshots to show where historical absorption accumulated over time.
Absorption Zones — Detects local absorption peaks and projects them across the chart as potential reaction areas.
Strong Activity Bubbles — Marks the strongest intrabar buying and selling events directly on price using percentile-ranked bubble tiers.
🟠 HOW TO USE
Load 2 instances of the indicator to bypass box drawing limits and use both the Absorption heatmap and the profiles.
Watch for stacked strong bullish volume combined with positive delta — this can show aggressive participation entering a price region.
Watch for stacked strong bearish volume combined with negative delta — this can show heavy selling pressure dominating a level.
Use absorption zones as areas where price previously encountered opposing liquidity — these zones may act as future reaction points.
Compare delta against absorption — strong positive delta with heavy upper-wick absorption can indicate trapped buyers or resistance.
Use the historical absorption heatmap to locate repeated liquidity interaction zones that price continues to respect over time.
Increase profile resolution for tighter price detail and reduce it for broader structural zones.
Enable strong-only mode to isolate high-participation liquidity events and remove weaker intrabar activity from the profile.
🟠 CONCLUSION
Whale Liquidity and Absorption Profile combines intrabar volume profiling, delta analysis, and wick-based absorption detection into a single structured framework. The indicator separates strong and weak participation while mapping where liquidity was absorbed across price levels. This gives traders a clearer view of imbalance, participation strength, and potential reaction zones inside the current market structure. Indicator

Historical Liquidity Proximity Heatmap [LuxAlgo]The Historical Liquidity Proximity Heatmap indicator highlights historical swing levels closest to the current price, using a volumetric heatmap to visualize potential areas of support and resistance.
One buy-side and sell-side volume-weighted average is also returned to provide clear breakout indications.
🔶 USAGE
This tool is designed to identify where significant liquidity resides by tracking historical pivot points and sorting them based on their proximity to the current price. By focusing on levels nearest to the market, traders can see a real-time "map" of potential structural obstacles or targets.
🔹 Identifying Liquidity Clusters
The indicator plots dots representing the nearest historical pivot highs (above price) and pivot lows (below price). When multiple dots are tightly packed together, it indicates a significant liquidity zone where historical price action was concentrated. The color of these dots is determined by the volume recorded at the time the pivot was formed:
High-Contrast Colors: Represent pivots formed on high volume, suggesting stronger institutional interest or "heavier" liquidity. Low-Contrast Colors: Represent pivots formed on lower volume, which may represent lighter liquidity zones.
🔹 Level Tests and Sweeps
Traders can monitor how price reacts as it approaches the nearest dots. If price touches a dot and immediately rejects, it confirms the historical level as active resistance or support. A "Liquidity sweep" occurs when price moves rapidly through one or more dots, clearing the nearest historical structures before a potential reversal or continuation.
🔹 Breakouts and Volumetric Averages
The indicator includes two dashed lines representing the Volume-Weighted Swing Average of the displayed liquidity points.
Volume-Weighted Highs: A dotted red line representing the average price of the nearest P pivot highs, weighted by their historical volume. Volume-Weighted Lows: A dotted green line representing the average price of the nearest P pivot lows, weighted by their historical volume.
A breakout above or below these Volumetric Averages suggests that the market has cleared the weighted "supply" or "demand" of the immediate vicinity, often leading to increased volatility.
🔶 DETAILS
The script maintains a historical buffer of pivots. On every bar, the script filters all stored pivots to identify those currently above the price (highs) and those currently below the price (lows).
These filtered levels are then sorted by price distance. The top P closest levels are selected for display. This ensures that the heatmap always focuses on the most relevant price levels regardless of how far the market has moved from older structures.
The color themes (Viridis, Magma, etc.) are perceptually uniform, meaning the transition from low-volume colors to high-volume colors is mathematically linear to the human eye, making it easier to gauge relative "liquidity weight" at a glance.
🔶 SETTINGS
🔹 Pivots
Pivot Left/Right Length: Determines the sensitivity of the pivot detection. Larger values find more significant structural swings, while smaller values find more frequent, minor levels. Historical Buffer Size: Controls how many historical pivots the script stores in memory. A larger buffer allows the script to track older historical levels.
🔹 Display
Number of Points (P): Sets the maximum number of closest levels to display and include in the Volumetric Average calculation. Dot Transparency: Adjusts the visibility of the heatmap dots on the chart. Color Theme: Allows selection between different heatmap palettes (Viridis, Inferno, Magma, Plasma, Cividis, Turbo) to represent volume intensity. Indicator

Liquidity Thermal Map [JOAT]Liquidity Thermal Map
Introduction
The Liquidity Thermal Map is an overlay indicator that identifies and visualizes liquidity pockets — price zones where trapped participants are likely clustered — and ranks their significance using a heat-mapped color scale driven by volume and price range data. Rather than treating all swing highs and lows equally, it weights each zone by the liquidity activity present at that pivot bar, then applies power-law contrast stretching so that the most significant zones immediately stand out from background noise.
The goal is not to predict where price will go. The goal is to surface which untested zones carry the most liquidity weight, so a trader can make their own informed decisions about potential targets or areas of interest.
---
Core Concepts
1. Pivot Detection
Zones are seeded at confirmed swing pivots using Pine Script's built-in pivot functions:
pivH = ta.pivothigh(high, leftPiv, rightPiv)
pivL = ta.pivotlow(low, leftPiv, rightPiv)
A pivot high marks a bar where bears may have been trapped above — price reached that level, reversed, and left unfilled orders behind. A pivot low marks the mirror situation for trapped bulls. The left bars and right bars inputs control how many confirming bars are required on each side, balancing sensitivity against noise.
2. Liquidity Metric and Heat Normalization
Each pivot is scored using one of three selectable metrics:
Vol x Range (default): volume * (high - low) * 100 — rewards bars with both high volume and wide price movement
Volume only: raw volume at the pivot bar
Range only: the high-low spread at the pivot bar
Raw scores are normalized across all active pockets using a rolling min-max calculation:
norm = (metric - min) / (max - min)
heat = math.pow(norm, heatContrast)
The power-law contrast stretch (controlled by the Heat Contrast input) compresses lower-significance pockets toward zero and expands higher-significance ones toward one. A contrast value below 1.0 spreads pockets more evenly; above 1.0, only the highest-scoring pockets register strong color.
3. Zone Construction
Each pocket is drawn as a box:
Short liquidity pocket (at a pivot HIGH, bears trapped above): top = pivotHigh + ATR * bandWidth, bottom = pivotHigh
Long liquidity pocket (at a pivot LOW, bulls trapped below): top = pivotLow, bottom = pivotLow - ATR * bandWidth
ATR scaling ensures band width adapts to current volatility rather than using a fixed pip or point value. Short pockets color from yellow (low heat) through deeper yellows. Long pockets color from a faded cyan through solid cyan-blue. Both gradients are computed with color.from_gradient(heat, 0, 1, faded_base, solid_base) , making the heat ranking immediately readable at a glance.
4. Three-State Lifecycle
Every pocket passes through a defined state machine:
Active: The zone is untested. The box extends rightward each bar by the Extend Bars amount, keeping it visible on the current chart.
Hit (Frozen): Triggered when price sweeps through the midpoint of the zone (high >= midpoint AND low <= midpoint on the same bar). The box stops extending, color fades, and the label is removed — signaling that the pocket has been swept and liquidity likely absorbed.
Expired: When a pocket's age exceeds the Lookback setting without being hit, it is removed entirely and all associated arrays are cleaned up.
This lifecycle gives real-time feedback: solid, bright zones are intact and untested; faded zones have been swept; only the most recent, significant pockets within your lookback window are visible.
5. Scale Legend
A 24-cell gradient table is drawn on-chart running from the short liquidity color to the long liquidity color, providing a continuous reference for the heat scale being applied to all visible pockets.
---
Features
Pivot-anchored liquidity zones for both long and short trapped-participant scenarios
Three selectable liquidity metrics: Vol x Range, Volume only, Range only
Power-law contrast stretching for visual prioritization of high-significance zones
ATR-scaled zone width that adapts to current market volatility
Three-state lifecycle (Active → Hit → Expired) per pocket with visual state changes
Dual-color gradient system — cyan-blue for long pockets, yellow for short pockets
On-chart 24-cell heat scale legend
Configurable max pocket count to manage chart performance
Visual toggles for boxes, labels, and the legend table
---
Input Parameters
Pivot Left Bars (default 10): Bars required to the left of a pivot for confirmation. Higher values = fewer, more significant pivots.
Pivot Right Bars (default 5): Bars required to the right of a pivot for confirmation. Increasing this delays detection but improves pivot quality.
Lookback / Max Age (default 200): Maximum bar age before a pocket expires and is removed.
Max Pockets (default 50): Upper limit on simultaneous active pockets. Reducing this improves performance on lower-end charts.
ATR Length (default 14): Period for the ATR calculation used in band width scaling.
ATR Band Width (default 0.5): Multiplier applied to ATR to set zone height. Higher values create wider zones.
Extend Bars (default 50): How many bars ahead each active pocket box extends on each update.
Heat Contrast (default 0.5): Power-law exponent for contrast stretching. Values below 1.0 spread pockets more evenly; above 1.0 increases contrast between high and low scoring zones.
Metric Mode: Selects the liquidity scoring metric — Vol x Range, Volume, or Range.
Show Boxes / Show Labels / Show Legend: Individual visibility toggles for each visual component.
---
How to Use
Identifying high-priority zones: Bright, fully saturated boxes represent the highest-scoring untested liquidity pockets within your lookback window. These are the zones where the most volume-weighted trapped participants may be present.
Tracking swept zones: When a box fades, the pocket has been hit — price moved through its midpoint. Faded zones can serve as reference for areas that have already seen liquidity absorption.
Adjusting sensitivity: Increasing the left/right pivot bars reduces the total number of pivots detected, focusing only on more structurally significant swing points. Decreasing them creates a denser map suitable for shorter timeframes.
Interpreting the legend: The 24-cell scale legend in the corner maps the full gradient range, from the lowest-heat short pocket color to the highest-heat long pocket color.
Timeframe considerations: On higher timeframes (4H, Daily), fewer pivots form and each carries more weight. On lower timeframes, tightening the ATR band width and increasing heat contrast helps reduce visual clutter.
---
Limitations
Pivot detection is inherently lagging — a pivot is only confirmed after the right-side bars have closed, meaning the zone is plotted some bars after the pivot actually formed.
The liquidity metric scores a pocket by activity at the pivot bar itself , not the full swing sequence leading to it. A pivot formed on a single high-volume bar will score higher than one formed over a gradual, multi-bar move.
Volume data quality varies by broker and data feed. On instruments with unreliable or synthetic volume (some forex pairs, CFDs), the Vol x Range metric may not reflect true market participation.
The indicator does not account for partial fills or iceberg orders. A zone being "hit" means price swept through the midpoint — it does not confirm full liquidity absorption.
No indicator, including this one, predicts future price movement. A high-heat untested zone is an area of potential interest, not a guaranteed reversal or reaction point.
Performance may degrade on very active charts with high Max Pocket settings. Reduce Max Pockets if chart rendering slows.
The heat scale is relative to the current set of visible pockets. Adding more historical data (longer lookback) changes the normalization range and will recolor all currently visible pockets.
---
Originality Statement
Most liquidity mapping tools mark swing highs and lows with equal visual weight — every pivot gets the same line, box, or label. This indicator departs from that approach in three ways:
First , each pocket is scored by the product of volume and price range at its pivot bar (or volume/range alone as alternatives), producing a liquidity significance score rather than a binary present/absent mark.
Second , power-law contrast stretching is applied to the normalized scores, which means the visual encoding (color saturation) is non-linear. Minor pockets compress toward the faded end of the gradient; truly significant pockets expand toward the saturated end. This is a deliberate perceptual design choice — not simply coloring zones by value, but stretching the gradient to maximize discriminability at the high end.
Third , the three-state lifecycle (Active → Hit → Expired) treats each pocket as a dynamic object that responds to price action in real time. The visual state change on hit provides immediate feedback without requiring the trader to manually track which levels have been tested. The combination of significance scoring, contrast-stretched heat mapping, and lifecycle state management in a single overlay tool is the core contribution of this indicator.
---
Disclaimer
This indicator is provided for informational and educational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any asset. Past behavior of price around liquidity zones does not guarantee future behavior. All trading involves risk. You are solely responsible for your own trading decisions.
-Made with passion by officialjackofalltrades
Indicator

AG Pro Liquidity Heatmap [AGPro Series]AG Pro Liquidity Heatmap
Overview / What it does
AG Pro Liquidity Heatmap is a visual liquidity-mapping tool designed to project areas where resting stop interest is more likely to be concentrated. Instead of focusing on a single pattern or a one-bar signal, this script builds a forward-looking heatmap from clustered pivot behavior and displays that information as persistent horizontal liquidity bands on the chart.
The core idea is simple: repeated reactions around similar price levels often create zones where traders place stops, breakout orders, or defensive exits. When those levels begin to cluster, they can become structurally important. This script converts that clustering behavior into a heat score and renders it as layered Fire / Ice bands so traders can quickly identify where liquidity concentration may be building above or below current price.
The script is not built as a prediction engine, and it does not attempt to claim where price must go next. Its purpose is to help traders organize the chart, monitor the nearest active liquidity bands, and understand which nearby levels appear more saturated, more persistent, or already mitigated. In that sense, it is best used as a market-structure context tool rather than as a standalone entry model.
This script is also intentionally different from traditional support/resistance overlays, breakout detectors, and liquidity sweep labels. It does not merely mark recent highs and lows. It clusters pivot-derived levels, weights them into a dynamic heat score, extends them cleanly to the right side of the chart, and then updates or extinguishes them as price interacts with those zones.
Unique Edge
The unique edge of this script is that it treats liquidity as a developing field rather than a static line. A normal horizontal level script may show one prior high or one prior low. AG Pro Liquidity Heatmap instead tracks repeated pivot concentration, merges nearby levels into composite zones, scores those zones, and then visualizes the result as a layered heat structure.
A second differentiator is the lifecycle logic. Once a band has been interacted with, the script does not leave every level unchanged forever. Depending on the selected behavior, a zone can fade or be removed after liquidity is taken. This helps reduce visual clutter and keeps the chart focused on currently relevant liquidity structures rather than a permanently accumulating archive of old levels.
A third differentiator is presentation. The script is designed to produce a clean forward projection area with right-extending heat bands, readable labels, Fire / Ice theme control, a functional heatmap panel, and an optional EQ Magnet line that tracks the balance area between the nearest active upper and lower liquidity bands. The goal is not only analytical clarity, but also a chart layout that remains readable during live use.
Methodology
1) Pivot detection
The script first identifies pivot highs and pivot lows using user-defined left and right pivot lengths. These pivots are treated as candidate liquidity reference points.
2) Cluster merging
If a new pivot forms close enough to an existing level, based on an ATR-driven merge distance, the script merges that information into the existing zone rather than creating unnecessary duplication. This allows nearby pivots to accumulate into a stronger composite band.
3) Heat scoring
Each zone receives a heat score. Repeated clustering increases that score. When volume weighting is enabled, pivots formed with relatively stronger volume can contribute more heavily to the final score. This does not reveal actual order book liquidity, but it can provide a useful proxy for where market attention and stop concentration may be stronger.
4) Layered rendering
Each active zone is rendered as a multi-layer horizontal band. The band thickness and saturation scale with heat score, which makes stronger zones visually heavier than weaker ones. This helps the chart communicate intensity without requiring the user to read every value manually.
5) Liquidity lifecycle
When price reaches a zone, the script can either fade it or remove it depending on the selected extinguish mode. Optional mitigation tracking can leave a visual reminder of where liquidity was taken. This behavior is important because it keeps the heatmap adaptive rather than static.
6) Balance tracking
When both upper and lower active liquidity bands are available, the script can display an EQ Magnet line between the nearest bands. This is not a target call. It is a contextual balance reference that can help visualize the midpoint of the currently nearest active liquidity field.
States & Visual Elements
- Fire bands represent upper liquidity concentration derived from pivot highs.
- Ice bands represent lower liquidity concentration derived from pivot lows.
- Stronger zones become visually denser and more prominent as heat score rises.
- Zone labels display side, heat score, and price information in either compact or detailed mode.
- The Heatmap Panel summarizes active band count, nearest zones, strongest zones, heat balance, last sweep information, and the current extinguish behavior.
- The EQ Magnet line highlights the midpoint between the nearest active upper and lower bands when enabled.
- Optional mitigation tracks can remain on the chart after liquidity is taken.
How to use it
This script is generally most useful as a context layer.
Many traders may choose to use it in one of three ways:
- to map where price may interact with nearby liquidity concentration,
- to judge whether the closest active field is above or below current price,
- to avoid taking impulsive decisions directly into dense opposing liquidity.
The script can also be useful for chart organization. Traders who already use trend tools, structure tools, or trigger models may use the heatmap as a location filter. For example, a setup forming directly into a strong opposing liquidity band may deserve more caution than a setup developing in cleaner space.
Key Inputs
Pivot Left / Right Bars
Controls how pivots are detected. Smaller values can produce more frequent zones; larger values can make the structure more selective.
Cluster Merge Distance (ATR)
Defines how close pivots must be to merge into the same liquidity band. Lower values keep zones more separated; higher values create broader clustering.
Volume-Weighted Mode
Allows higher-volume pivots to contribute more strongly to heat score. This is a proxy weighting mechanism, not direct order-flow confirmation.
Minimum Heat Score To Show
Filters out weaker zones from the visual display.
Visual Saturation Score
Controls how quickly the visual intensity reaches its maximum appearance.
Base Band Height and Horizontal Band Density
Shape the visual footprint of each zone and determine how rich or minimal the rendered band structure appears.
Label controls
Allow the user to choose label mode, font size, theme, label offsets, and label density.
Panel controls
Allow the user to change panel visibility, location, theme, and font size.
Liquidity Taken Behavior
Determines whether mitigated zones fade or are removed.
Limitations & Transparency
This script does not access order book data, exchange liquidation feeds, or hidden liquidity information. The displayed heatmap is derived from chart-based pivot clustering and optional volume weighting. For that reason, the bands should be understood as technical liquidity proxies rather than direct measurements of real resting orders.
The heat score is also relative to the script's own internal logic. It is a ranking mechanism inside this model, not an absolute market-wide score. A higher score means a zone has accumulated more structural weight within the selected settings; it does not guarantee a reaction.
Like any chart tool based on pivots, the behavior of the script depends on the chosen timeframe, the selected sensitivity inputs, and the structure of the instrument being analyzed. Lower timeframes can create more noise, while higher timeframes can produce fewer but broader zones.
The EQ Magnet line is a contextual midpoint reference only. It should not be interpreted as a fixed target, a required destination, or a directional forecast.
Risk Disclosure
This script is a visual analysis tool for chart study and trade planning. It is not financial advice, not an execution system, and not a promise of future price behavior. Liquidity zones can fail, be overrun, or be ignored by price entirely.
No indicator should be used in isolation. Traders should consider market structure, volatility, risk management, execution quality, and their own process before making trading decisions. Always test settings carefully and use position sizing appropriate to your own risk tolerance.
Indicator

Proximated LiquidityProximated Liquidity: Adaptive Heatmap
Liquidity is the fuel that moves the market. However, it is important to clarify that this indicator is NOT based on L2 (Level 2) data or real-time Order Book data. Genuine liquidity can only be seen through order books.
Instead, this tool provides a Proximated Model of liquidity. While standard liquidity heatmaps often rely solely on simple ATR values (which can lack structural context), this indicator uses a sophisticated Pivot-based Hybrid Logic combined with ATR Adaptability to offer a more precise and structurally sound analysis of where liquidity is likely resting.
=================================================================================
🧠 The Philosophy: Why Pivot + ATR?
Many existing liquidity heatmaps simply draw boxes based on Volume & ATR, which often results in "floating" zones that don't align with market structure.
Proximated Liquidity solves this by:
Pivot-Based Anchoring: Using structural swing highs and lows as the "source" of liquidity. This ensures every zone is anchored to a price level that market participants actually react to.
ATR-Based Volume Scaling: Once a structural point is identified, ATR is used to calculate the "gravity field" or range of that liquidity, ensuring the zones adapt perfectly to current market volatility.
「 Note for ICT Purists : I understand that traditional ICT methodology often prioritizes "pure" price action and may view indicators like ATR or Volume weighting with skepticism. However, these elements have been meticulously integrated here to maximize the indicator's robustness and objectivity. My goal is not to replace the core principles of ICT, but to provide a data-driven "bridge" that helps traders identify high-probability liquidity clusters with greater consistency and visual clarity. 」
=================================================================================
=================================================================================
🚀 Key Features
1. Smart Auto Scaling
The indicator analyzes your current timeframe and pivot density to optimize visual output. The "Smart Scaling" logic ensures the liquidity zones are perfectly sized—thinner in low volatility and broader in high volatility—without manual tweaking.
2. State-Based Sweep Detection
This engine tracks the internal state of price action within the zone rather than deactivating it upon a simple touch.
Sweep (X Marker): If price enters a zone and is rejected back outside within your defined candle limit, it is marked with an 'X'.
Breakout: If price closes decisively beyond the outer edge of the zone, the liquidity is considered "mitigated," signaling a potential trend continuation.
3. Dual-Saturation Heatmap
Session Levels: Liquidity zones saturate within their session-specific colors based on volume and density.
Super Liquidity (Purple): When a zone's strength crosses a critical threshold, it transforms into a high-visibility Purple "Super Zone," acting as a major magnet for price.
4. Performance Optimized
Includes a History Limit toggle to focus calculations on recent bars, ensuring a lag-free experience even on 1-minute charts.
=================================================================================
=================================================================================
📈 How to Trade with Proximated Liquidity
A. The Liquidity Sweep (Rejection Play)
Look for the 'X' marker. When price "sweeps" a high-density pivot zone and rejects within 3-5 candles, it often signals a powerful reversal.
B. Structural Mitigation (Breakout Play)
If price closes through the outer edge of a box, that specific structural liquidity has been consumed. Watch for these levels to flip from resistance to support (or vice versa).
C. Super Liquidity Targeting
Purple zones represent clusters of significant historical interest. These areas frequently serve as high-probability Take Profit (TP) targets.
=================================================================================
=================================================================================
🛠 Settings Guide
Smart Auto Scaling: Recommended 'ON' for an optimized experience.
Max Sweep Candle Limit: Adjust based on your style (recommand 3 to 5).
Recent Bars Limit: Control how far back the indicator calculates to preserve browser performance.
=================================================================================
Disclaimer: This is a mathematical approximation model and does not represent actual exchange order book data. It is for educational and analytical purposes only and does not constitute financial advice.
License: CC BY-NC-SA 4.0 (Attribution-NonCommercial-ShareAlike) Indicator

Liquidity Structure & Order Flow [LuxAlgo]The Liquidity Structure & Order Flow indicator is a comprehensive technical tool that visualizes market depth through volume distribution, order flow delta, and liquidity voids. It aims to provide traders with a high-fidelity view of where market participants are most active and where price is likely to find support, resistance, or rapid acceleration.
🔶 USAGE
The tool combines traditional volume profiling with modern visualization to identify market imbalances. By projecting liquidity depth directly onto the chart, users can observe the "weight" of the market at various price levels.
🔹 Identification and Strategy
Identify Fair Value: Use the Value Area (VAH to VAL) to determine where the majority of trading has occurred. Price trading within this zone suggests a balanced market, while a breakout from this area often signals the start of a new trend. Spot Absorption: Look for high Volume Delta (bright green or red intensities) near the edges of the Value Area. If price fails to move further despite high delta, it suggests absorption by limit orders. Anticipate Volatility: Use the Widest Void zones to identify "liquidity gaps." Price often moves rapidly through these areas due to a lack of historical orders, making them ideal targets for take-profits or entry triggers. Confirm Reversals: Unusual Volume Bubbles appearing at key structural levels (like the POC or VA extremes) can signal climatic action or the entry of institutional players.
🔹 Unusual Volume Bubbles
These bubbles identify extreme market events using a Z-Score calculation based on a 200-period volume baseline. A Smart Lane Anti-Overlap System ensures that multiple volume spikes occurring in quick succession do not obscure one another by stacking them in dynamic lanes. Larger bubbles with glow effects indicate higher statistical outliers, highlighting where "smart money" may be entering the market.
🔹 Volume Delta Backdrop
The **Volume Delta Panel** calculates the net difference between buying and selling pressure (Aggressive Delta) within each price bin of the Value Area. It uses an EMA-smoothed volume delta to filter noise, rendering higher intensities when one side of the market is significantly more aggressive than the other at a specific price level.
🔶 DETAILS
🔹 Widest Void Analysis
The script includes an automated logic to identify the "Widest Void." This is calculated by scanning the volume profile for the longest continuous sequence of price bins where volume falls below a specific threshold (15% of the Point of Control volume).
In market auction theory, these voids represent areas where price discovery was inefficient. Because there is little "historical friction" in these zones, price tends to traverse them quickly, acting as a vacuum between high-liquidity nodes.
🔹 Dynamic Volume Ribbons
At the leading edge of the indicator, two cumulative polylines project the volume distribution of the upper and lower halves of the lookback range. The Upper Ribbon (Red) represents the volume distribution above the price midpoint, while the Lower Ribbon (Green) represents the distribution below it.
🔶 SETTINGS
🔹 Volume Profile Settings
Lookback Period: The number of historical bars used to calculate the profile. Weight Recent Volume: When enabled, recent volume data has a higher impact on the profile shape. Value Area %: Defines the percentage of total volume used to calculate the VAH and VAL. Profile Smoothing: Adjusts the visual "noise" of the heatmap.
🔹 Volume Delta Backdrop
Show Volume Delta Panel: Toggles the Delta distribution within the Value Area. Delta Intensity: Controls color saturation based on the magnitude of the delta. Delta Smoothing Length: The EMA length used to calculate the volume delta flow.
🔹 Unusual Volume Bubbles
Sensitivity (Z-Score): The number of standard deviations required to trigger a bubble. Min/Max Bubble Size: Sets the visual constraints for the volume spikes.
🔹 Visualization & Dashboard
Show Heatmap: Toggles the background liquidity heatmap. Highlight Widest Void: Toggles the detection and labeling of the primary liquidity gap. Curves X-Offset: Moves the polyline ribbons further into the future. Dashboard: Toggles the on-screen table containing metrics such as Mass Skew, Dist. to POC, and Aggregated Delta. Indicator

Liquidity Radar# Liquidity Radar
## Overview
Liquidity Radar is a Smart Money Concepts (SMC) indicator that visualizes where institutional liquidity rests in the market. It combines automatic market structure detection (BOS & CHoCH), a thermal liquidity heatmap, dynamic order blocks, and fair value gaps into a single, performance-optimized overlay.
**Free & Open Source** — no invite-only access, no paywall. Full source code, fully transparent.
## The Concept: Why Liquidity Matters
In institutional trading, **liquidity pools** form above swing highs and below swing lows — these are clusters of stop-loss orders from retail traders. Smart money targets these pools to fill large positions. Understanding where liquidity rests gives you an edge in anticipating price movements:
- **Swing High Liquidity** — Stop-losses from short sellers sit above swing highs
- **Swing Low Liquidity** — Stop-losses from long buyers sit below swing lows
- **Liquidity Sweeps** — When price takes out a swing level to grab these stops, it often reverses
The indicator automates the detection and visualization of these key levels.
## Core Features
### 1. Thermal Liquidity Heatmap
The signature feature. Liquidity zones appear at every confirmed swing high and swing low with a thermal color gradient:
- **Fresh zones** — Warm colors (orange/yellow) indicate high relevance
- **Aging zones** — Cool colors (purple/blue) indicate decreasing relevance as time passes
- **Volume-weighted intensity** — Zones formed on high-volume bars appear more intense
- **Auto-cleanup** — Zones fade out over a configurable decay period and are removed when price sweeps through them
### 2. Market Structure Detection (BOS & CHoCH)
Automatic swing high/low detection using pivot-based logic:
- **BOS (Break of Structure)** — Price breaks a prior swing level in the trend direction (continuation). Shown as dashed lines.
- **CHoCH (Change of Character)** — Price breaks a prior swing level against the trend (potential reversal). Shown as solid lines with thicker width.
- Color-coded: Cyan/Teal = bullish, Magenta/Pink = bearish
### 3. Dynamic Order Blocks
Institutional supply and demand zones rendered as semi-transparent boxes:
- **Bullish OB** — The last bearish candle before a strong bullish move (at swing lows)
- **Bearish OB** — The last bullish candle before a strong bearish move (at swing highs)
- Configurable mitigation threshold — controls how much price must penetrate the block before it is considered mitigated
- Auto-removed when price closes through the block
### 4. Fair Value Gaps (FVG)
Three-candle inefficiency detection:
- Bullish FVG: Gap between candle 1's low and candle 3's high
- Bearish FVG: Gap between candle 1's high and candle 3's low
- ATR-based noise filter removes insignificant gaps
- Auto-removed when price fills the gap
- Default: OFF (toggle on in settings)
### 5. Premium / Discount Zones
Based on the current swing range:
- **Premium Zone** (upper half) — Light red background
- **Discount Zone** (lower half) — Light green background
- **Equilibrium Line** (50%) — Dashed amber line
- Default: OFF (toggle on in settings)
## Dashboard
A compact, dark-themed info panel displaying:
- **Trend** — Current market direction (Bullish / Bearish / Neutral)
- **Structure** — Last detected structure signal (BOS or CHoCH)
- **Liq. Heat** — How many liquidity zones are near the current price (High / Medium / Low)
- **Volume** — Above or below 20-period average
- **Momentum** — RSI(14) status (Overbought / Neutral / Oversold)
- **Next Zone** — Nearest liquidity zone with price level and distance in percent
## Auto-Timeframe Adaptation
All parameters automatically adjust to your chart timeframe:
| Timeframe | Swing Lookback | Heatmap Decay |
|-----------|---------------|---------------|
| 1-5 min | 6 | 100 bars |
| 15 min | 10 | 80 bars |
| 30 min | 12 | 80 bars |
| 1 Hour | 15 | 60 bars |
| 4 Hour | 22 | 50 bars |
| Daily | 35 | 40 bars |
| Weekly+ | 50 | 30 bars |
You can switch to manual mode for full control.
## Alert Types (7)
1. Bullish BOS — Break of Structure confirmed (continuation up)
2. Bearish BOS — Break of Structure confirmed (continuation down)
3. Bullish CHoCH — Change of Character detected (potential reversal up)
4. Bearish CHoCH — Change of Character detected (potential reversal down)
5. Bullish Liquidity Sweep — Swing high liquidity taken
6. Bearish Liquidity Sweep — Swing low liquidity taken
7. Price Entering Order Block — Price enters a bullish or bearish OB zone
## Settings
**Market Structure:**
- Show BOS / CHoCH (on/off)
- Auto Swing Lookback (on/off)
- Manual Swing Lookback (3-100)
- BOS / CHoCH line styles and width
**Liquidity Heatmap:**
- Show Heatmap (on/off)
- Auto Decay Period (on/off)
- Manual Decay (10-500 bars)
- Zone Width (ATR multiplier)
- Volume-Weighted Intensity (on/off)
- Max Active Zones (4-20)
**Order Blocks:**
- Show Order Blocks (on/off)
- Max OBs per Side (1-6)
- Mitigation Threshold (0.0-1.0)
**Fair Value Gaps:**
- Show FVGs (on/off, default OFF)
- Min FVG Size (ATR multiplier)
- Max Active FVGs (2-15)
- FVG Extend (bars)
**Premium / Discount:**
- Show Zones (on/off, default OFF)
- Zone Transparency
**Dashboard:**
- Show Dashboard (on/off)
- Position (Top Right / Top Left / Bottom Right / Bottom Left)
- Size (Tiny / Small / Normal)
**Visual Settings:**
- All 5 colors fully customizable
- Watermark (on/off)
## Non-Repainting
All signals are calculated on confirmed (closed) bars only. Pivot detection inherently requires N bars of confirmation on each side. BOS/CHoCH signals fire on the bar where the break occurs, after the swing point is already confirmed. What you see is what happened — no hindsight bias.
## Works On
- Crypto (BTC, ETH, SOL, ...)
- Forex (EUR/USD, GBP/JPY, ...)
- Stocks (AAPL, TSLA, NVDA, ...)
- Futures & Indices (NQ, ES, SPX, ...)
- Any timeframe from 1 minute to Monthly
## Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Past performance does not guarantee future results. Trading involves substantial risk of loss. Indicator

Volume Bubbles & Liquidity Heatmap [LuxAlgo]The Volume Bubbles & Liquidity Heatmap indicator highlights volume and liquidity clearly and precisely with its volume bubbles and liquidity heat map, allowing to identify key price areas.
Customize the bubbles with different time frames and different display modes: total volume, buy and sell volume, or delta volume.
🔶 USAGE
The primary objective of this tool is to offer traders a straightforward method for analyzing volume on any selected timeframe.
By default, the tool displays buy and sell volume bubbles for the daily timeframe over the last 2,000 bars. Traders should be aware of the difference between the timeframe of the chart and that of the bubbles.
The tool also displays a liquidity heat map to help traders identify price areas where liquidity accumulates or is lacking.
🔹 Volume Bubbles
The bubbles have three possible display modes:
Total Volume: Displays the total volume of trades per bubble.
Buy & Sell Volume: Each bubble is divided into buy and sell volume.
Delta Volume: Displays the difference between buy and sell volume.
Each bubble represents the trading volume for a given period. By default, the timeframe for each bubble is set to daily, meaning each bubble represents the trading volume for each day.
The size of each bubble is proportional to the volume traded; a larger bubble indicates greater volume, while a smaller bubble indicates lower volume.
The color of each bubble indicates the dominant volume: green for buy volume and red for sell volume.
One of the tool's main goals is to facilitate simple, clear, multi-timeframe volume analysis.
The previous chart shows Delta Volume bubbles with various chart and bubble timeframe configurations.
To correctly visualize the bubbles, traders must ensure there is a sufficient number of bars per bubble. This is achieved by using a lower chart timeframe and a higher bubble timeframe.
As can be seen in the image above, the greater the difference between the chart and bubble timeframes, the better the visualization.
🔹 Liquidity Heatmap
The other main element of the tool is the liquidity heatmap. By default, it divides the chart into 25 different price areas and displays the accumulated trading volume on each.
The image above shows a 4-hour BTC chart displaying only the liquidity heatmap. Traders should be aware of these key price areas and observe how the price behaves in them, looking for possible opportunities to engage with the market.
The main parameters for controlling the heatmap on the settings panel are Rows and Cell Minimum Size. Rows modifies the number of horizontal price areas displayed, while Cell Minimum Size modifies the minimum size of each liquidity cell in each row.
As can be seen in the above BTC hourly chart, the cell size is 24 at the top and 168 at the bottom. The cells are smaller on top and bigger on the bottom.
The color of each cell reflects the liquidity size with a gradient; this reflects the total volume traded within each cell. The default colors are:
Red: larger liquidity
Yellow: medium liquidity
Blue: lower liquidity
🔹 Using Both Tools Together
This indicator provides the means to identify directional bias and market timing.
The main idea is that if buyers are strong, prices are likely to increase, and if sellers are strong, prices are likely to decrease. This gives us a directional bias for opening long or short positions. Then, we combine our directional bias with price rejection or acceptance of key liquidity levels to determine the timing of opening or closing our positions.
Now, let's review some charts.
This first chart is BTC 1H with Delta Weekly Bubbles. Delta Bubbles measure the difference between buy and sell volume, so we can easily see which group is dominant (buyers or sellers) and how strong they are in any given week. This, along with the key price areas displayed by the Liquidity Heatmap, can help us navigate the markets.
We divided market behavior into seven groups, and each group has several bubbles, numbered from 1 to 17.
Bubbles 1, 2, and 3: After strong buyers market consolidates with positive delta, prices move up next week.
Bubbles 3, 4, and 5: Strength changes from buyers to sellers. Next week, prices go down.
Bubbles 6 and 7: The market trades at higher prices, but with negative delta. Next week, prices go down.
Bubbles 7, 8, and 9: Strength changes from sellers to buyers. Next weeks (9 and 10), prices go up.
Bubbles 10, 11, and 12: After strong buyers prices trade higher with a negative delta. Next weeks (12 and 13) prices go down.
Bubbles 12, 14, and 15: Strength changes from sellers to buyers; next week, prices increase.
Bubbles 15 and 16: The market trades higher with a very small positive delta; next week, prices go down.
Current bubble/week 17 is not yet finished. Right now, it is trading lower, but with a smaller negative delta than last week. This may signal that sellers are losing strength and that a potential reversal will follow, with prices trading higher.
This is the same BTC 1H chart, but with price rejections from key liquidity areas acting as strong price barriers.
When prices reach a key area with strong liquidity and are rejected, it signals a good time to take action.
By observing price behavior at certain key price levels, we can improve our timing for entering or exiting the markets.
🔶 DETAILS
🔹 Bubbles Display
From the settings panel, traders can configure the bubbles with four main parameters: Mode, Timeframe, Size%, and Shape.
The image above shows five-minute BTC charts with execution over the last 3,500 bars, different display modes, a daily timeframe, 100% size, and shape one.
The Size % parameter controls the overall size of the bubbles, while the Shape parameter controls their vertical growth.
Since the chart has two scales, one for time and one for price, traders can use the Shape parameter to make the bubbles round.
The chart above shows the same bubbles with different size and shape parameters.
You can also customize data labels and timeframe separators from the settings panel.
🔶 SETTINGS
Execute on last X bars: Number of bars for indicator execution
🔹 Bubbles
Display Bubbles: Enable/Disable volume bubbles.
Bubble Mode: Select from the following options: total volume, buy and sell volume, or the delta between buy and sell volume.
Bubble Timeframe: Select the timeframe for which the bubbles will be displayed.
Bubble Size %: Select the size of the bubbles as a percentage.
Bubble Shape: Select the shape of the bubbles. The larger the number, the more vertical the bubbles will be stretched.
🔹 Labels
Display Labels: Enable/Disable data labels, select size and location.
🔹 Separators
Display Separators: Enable/Disable timeframe separators and select color.
🔹 Liquidity Heatmap
Display Heatmap: Enable/Disable liquidity heatmap.
Heatmap Rows: select number of rows to be displayed.
Cell Minimum Size: Select the minimum size for each cell in each row.
Colors.
🔹 Style
Buy & Sell Volume Colors.
Indicator

Ultra Liquidity HeatmapThe Ultra Liquditiy Heatmap is a unique visualization tool designed to map out areas of high liquidity on the chart using a dynamic heatmap, helping traders identify significant price zones effectively.
Introduction
The Ultra Liquidity Heatmap is an advanced indicator for visualizing key liquidity areas on your chart. Whether you're a scalper, swing trader, or long-term investor, understanding liquidity dynamics can offer a powerful edge in market analysis. This tool provides a straightforward visual representation of these zones directly on your chart.
Detailed Description
The Ultra Liquidity Heatmap identifies high and low liquidity zones by dynamically marking price ranges with heatmap-like boxes.
.........
Dynamic Zone Creation
For low liquidity zones, the script draws boxes extending from the low to the high of the bar. If the price breaks below a previously defined zone, that box is removed.
Similarly, for high liquidity zones, the script tracks and highlights price ranges above the current high, removing boxes if the price exceeds the zone.
.....
Customizable Visuals
Users can adjust the transparency and color of the heatmap, tailoring the visualization to their preference.
.....
Real-Time Updates
The indicator constantly updates as new price data comes in, ensuring that the heatmap reflects the most current liquidity zones.
.....
Efficiency and Scalability
The script uses optimized arrays and a maximum box limit of 500 to ensure smooth performance even on higher timeframes or during high-volatility periods.
.........
The Ultra Liquidity Heatmap bridges the gap between raw price data and actionable market insight. Add it to your toolbox and elevate your trading strategy today! Indicator

Open Liquidity Heatmap [BigBeluga]Open Liquidity Heatmap is an indicator designed to display accumulated resting liquidity on the chart.
Unlike any other liquidity heatmap, this aims to accumulate liquidity at specific levels that build up over time, showing larger areas of liquidity.
🔶 FEATURES
The indicator includes the following settings:
Lookback : Used to determine the range calculation of the heatmap.
Leverage : Leverage of the liquidation (Counted as % in price, Example: 4.5 will return a distance from price of 4.5%, indicating any possible resting liquidity in this range).
Levels : Amount of levels to display (Each level is counted as liquidity resting on the chart; fewer levels will return a bigger area of liquidity sitting on the chart).
Mode : Apply a color gradient from the minimum liquidation to the maximum liquidity level. Set the maximum color gradient value (Counted as volume).
Offset : Automatically determine the offset range of the Volume Profiles. Manual offset of the Volume Profiles.
🔶 CALCULATION
for i = 0 to step - 1
float plotter = na
switch i
0 =>
plotter := hs
=>
plotter := hs - diff * ( i )
cls.hm.gnL(plotter)
cls.vp.put(plotter, 0)
We calculate levels like a normal volume profile with steps, from the highest point within the lookback to the lowest one. Each level will contain the corresponding amount of volume that the candle has closed in that range.
As we can see in the image above, we add liquidity each time the distance in % from price is between two levels.
Unlike many liquidity indicators that provide a single candle liquidity heatmap, this aims to add up liquidity (volume) in already present levels.
This can be extremely useful to see which levels are likely to be more liquid and tend to get a bigger reaction to the price.
Imagine it like a range of levels that each time price revisits that area, a new position area is added; we add volume in that area each time price visits that zone. Liquidity builds up in those zones, causing a bigger reaction to the price once the price visits it.
This indicator is not the same as a single candle heatmap like many others. What is a single candle heatmap?
A single candle heatmap is when a level is created on every new candle, coloring the level based on the total volume of it.
This indicator, on the contrary, aims to provide a more specific use by adding up liquidity each time price visits it.
🔶 BASIC DEMOSTRATION
This is a basic demonstration of how we can spot high liquidity points overall using confluence:
We see the POC of the liquidation in a low volume area of the normal volume profile adding up as confluence.
Resistance from the POC Volume Profile suggesting price will go lower.
Major long open liquidity down.
As we can see, price takes out all the long liquidity and right after pumping, indicating that all the major liquidity got taken out.
Some key note to take is that a POC in the liquidation heatmap in a low volume area of the normal Volume Profile add confluence of a possible big reaction in that zone.
In the forex market, we suggest to use a low distance from price (Leverage) while in a crypto market you can use the one that fit the best the current timeframe.
🔶 CONCLUSION
This indicator aims to show open resting liquidity that had built up over time, showing the most amount of liquidation in specific areas in an aggregated way unlike many liquidation heatmap indicators that show single-level liquidation.
🔶 RELATED SCRIPT
Indicator
