Liquidity Echo[BullByte]LIQUIDITY ECHO
Liquidity Echo is an original indicator built on a purpose-written four-layer detection architecture where no layer produces a standalone signal and the detection logic is arranged as one unified model. It was built around one core idea: institutional money does not enter markets randomly. It enters at specific price levels where liquidity has been engineered, collected, and then abandoned. This indicator detects those exact moments, measures the market response, and presents a structured reversal entry with full visual trade management directly on the chart.
Each of the four detection layers was built to be structurally dependent on the others. The HTF compression zone does not produce a signal. The volume vacuum does not produce a signal. The sweep classification does not produce a signal. The pressure gradient does not produce a signal. None of these elements has any standalone output. A signal exists only when all four agree simultaneously, and the quality score that grades each signal is a composite function of how strongly each layer fired. Remove any single layer and the remaining three produce nothing. This structure is intended as one unified detection system rather than a collection of separate tools with unrelated outputs.
---
WHAT PROBLEM THIS SOLVES
Most retail traders face two specific problems. The first is identifying where a move is likely to begin before it has already happened. The second is knowing whether a sharp price spike at a key level is a genuine smart money reversal or a continuation trap.
Standard tools like RSI, MACD, or Bollinger Bands measure price behavior in isolation. They tell you what price has done but not why, and they do not account for where price sits relative to higher timeframe institutional order flow and supply and demand. Liquidity Echo reads the higher timeframe environment first, identifies where price is coiling inside a compression zone, and then waits for a specific sequence of events at that level before generating any signal.
---
THE ORIGIN AND OBSERVATION BEHIND THIS INDICATOR
Markets frequently spike through obvious support and resistance levels, trigger stop losses clustered just beyond those levels, and then reverse sharply in the opposite direction. This behavior is often repeatable. A large institutional buy order requires sellers. Those sellers are often concentrated just below visible support, where stop loss orders from long positions accumulate. A liquidity sweep through that level can absorb resting liquidity and is often followed by a reversal. This is the stop hunt mechanism that Liquidity Echo is built to identify.
What separates this indicator from any generic spike detector is the requirement that the sweep occur at a level where the higher timeframe is actively compressing. Compression at a level indicates institutional interest, because large participants cause range contraction when they absorb one side of order flow without allowing free price movement. A sweep through a compressed zone is treated as a stronger reversal context than a sweep through an ordinary pivot.
---
WHY THESE FOUR SPECIFIC LAYERS AND WHY THEY ARE ORIGINAL
Layer one is the HTF compression zone. The indicator measures the current higher timeframe bar range against the average of the three preceding bars. When the current bar is significantly narrower than recent history, the market is coiling and a zone is registered. Compression zones are color-coded by touch count. A fresh untested zone appears in soft purple. A zone tested once appears slightly lighter. A zone tested twice or more appears in orange, indicating stronger significance because repeated testing without a break can show that the level is being defended.
Layer two is the volume vacuum. Institutional stop hunts are frequently preceded by a quiet period where market participation drops. The vacuum condition requires that volume fall below a calibrated threshold for a minimum number of consecutive bars before the sweep fires. This helps filter out sweeps that occur on already active volume, which may behave more like continuation moves than reversals.
Layer three is the sweep classification. A spike sweep occurs when a candle wicks sharply through the zone boundary and closes back inside. A grind sweep occurs when price pushes slowly through the zone over several bars and then closes back across the boundary without any sharp wick. The spike path is further subdivided. A minor sweep is a small wick extension above the calibrated minimum. A major sweep extends beyond a configurable ATR multiple, indicating a more aggressive stop hunt. A flush sweep represents the most violent classification where a large cluster of stops was cleared in a single candle. Each level contributes differently to the signal quality score.
Layer four is the pressure gradient. This is a separate momentum-shift measurement rather than a standard oscillator. It measures the rate of change of a within-bar close location across three bars, derived from the delta concept used in options market microstructure analysis and adapted here as a momentum shift detector timed specifically to the sweep event. Each bar's delta is computed as the ratio of where the close falls within the high-low range, normalized between negative one and positive one. The gradient is the rate of change in this delta from two bars ago to the current bar. A positive gradient on a potential long signal means buying pressure was already accelerating across three bars even while price was spiking down through the zone. This supports the reversal context before the entry candle closes.
The sweep classification is not a wick ratio filter applied to any candle. It measures wick extension in ATR units specifically relative to a compressed higher timeframe zone boundary, which is a combined spatial and volatility measurement that requires both the zone and the ATR context simultaneously to compute. The volume vacuum is not a simple volume moving average crossover. It uses a coefficient of variation derived threshold that adapts to whether the instrument has session-structured volume or continuous volume flow, a behavioral classification the indicator measures itself in real time.
---
AUTO-CALIBRATION ENGINE
The auto-calibration engine is the original technical contribution that makes the four-layer system viable across all asset classes without manual configuration. Many tools that use ATR thresholds, volume ratios, wick filters, or compression logic rely on manual settings or presets, either through a fixed number or an asset class preset. This indicator reduces that requirement by adapting its thresholds to the chart's own behavior.
The engine measures three behavioral properties of the current chart at runtime.
The wick-body ratio is the average total wick length divided by the average body size over the calibration window. Different instruments can behave very differently. Some show sharp wick-driven sweeps, while others tend to grind through levels more slowly. The engine uses this measurement to set the minimum wick requirement for spike detection and to decide whether grind mode should activate automatically.
The volume coefficient of variation is the standard deviation of volume divided by its mean. A high coefficient means volume is session-structured with clear spikes and quiet periods. A low coefficient means volume flows continuously. This calibrates the vacuum threshold and the volume averaging window specific to the instrument's own behavior pattern.
The ATR mean percentile measures where current volatility sits within its recent historical range. This calibrates the compression sensitivity so the narrowing threshold adapts to instruments that are normally tight versus instruments that are normally wide.
The Sensitivity Bias input is the only manual judgment required. Conservative tightens all thresholds uniformly for fewer, higher-conviction signals. Neutral applies thresholds exactly as measured. Aggressive loosens thresholds for conditions where more signals are preferred. The bias scales every derived threshold by a fixed multiplier so the relationship between all layers remains internally consistent regardless of the setting chosen.
---
SIGNAL QUALITY SCORING
Every signal that passes all four confirmation layers receives a quality score from zero to ten built from four components.
Zone compression strength contributes up to three points. A ratio below 0.55 between the current HTF range and its three-bar average scores three points. Below 0.68 scores two. Below the effective narrowing threshold scores one.
Sweep severity contributes up to three points. A flush sweep scores three. A major sweep scores two. A minor or grind sweep scores one.
Pressure gradient magnitude contributes up to two points. A gradient above 0.55 in absolute value scores two. Above 0.25 scores one.
Zone touch count contributes up to two points. A zone tested twice or more scores two. Tested once scores one. An untested zone scores zero on this dimension.
Scores from eight to ten produce a PRIME grade. Six to seven is HIGH. Four to five is MED. Below four is LOW. A gold diamond marks PRIME signals on the chart. A green circle marks HIGH. A yellow square marks MED. A gray cross marks LOW. Traders who want fewer signals can focus on the higher-grade markers.
---
HOW TO READ WHAT APPEARS ON THE CHART
The EMA line renders as two overlapping plots. A wide semi-transparent outer glow and a solid thinner inner line. Both turn green when price is above the EMA and red when below. Long signals only fire above the EMA. Short signals only fire below it. The EMA is a directional filter, not a signal source.
Compression zones appear as filled rectangular boxes spanning the full higher timeframe bar range at the moment of detection. Fresh zones are soft purple. Zones tested once are a slightly lighter purple. Zones tested twice or more shift to orange.
Volume vacuum bars carry a very faint yellow background tint on candles where the low-volume precondition is active. The tint is intentionally near-invisible at 96 percent transparency so it provides context without competing with price action. It marks where the trap was being set, not where it fired.
Grind sweep markers appear as small orange triangles. An upward triangle below the bar marks a bullish grind sweep detected in progress. A downward triangle above marks a bearish grind sweep. These appear before the commitment candle confirms the signal. They are early warning markers only.
When a signal fires, a label appears below the bar for a long entry and above the bar for a short entry. MINIMAL mode shows direction, grade, and score. DETAIL mode adds sweep type, zone price, and all trade levels.
The trade forecast visualization draws immediately on signal confirmation. A blue line marks entry. A red line marks the stop loss. Two dashed green lines mark Target 1 and Target 2. A light green box fills the entry to Target 1 zone. A lighter green box fills the Target 1 to Target 2 zone. A light red box fills the stop to entry zone. The first green box deepens in shade when Target 1 is hit. The second deepens when Target 2 is hit. The stop line updates in real time when trailing stop or breakeven is active.
The trailing stop renders as a dual-layer line matching the EMA visual style. Green for a long trail, red for a short trail. It ratchets in the direction of the trade and never moves against the position.
TRADE ANALYSIS - CHART OVERVIEW
BTC Perpetual Futures Contract
BINANCE:BTCUSD.P
Time Frame 5 mins
WHAT THE SIGNALS TELL US:
This chart demonstrates both long and short reversal opportunities in the same trading session. The first signal was a LONG entry triggered by a minor spike sweep below zone 76079.9, graded MED 5/10 quality, which reached both targets in the example shown. The second signal was a SHORT entry triggered by a grind sweep above zone 76577.6, graded MED 4/10 quality, after price failed to sustain the rally and began reversing. Multiple orange triangle markers throughout the chart show where the grind sweep detection algorithm identified slow institutional accumulation or distribution patterns that preceded directional moves. The yellow square quality symbols indicate both signals were medium-grade setups-not the highest conviction (which would show gold diamonds), but sufficient quality to warrant entries with proper risk management.
WHAT THE DASHBOARD ELEMENTS MEAN:
The dashboard provides real-time market context that helps evaluate signal quality and trade conditions. The STATE indicator shows whether the system is scanning for new setups or managing an active position. HTF ZONE tracking displays how many compression zones are currently being monitored-these are the price levels where institutional liquidity is likely to accumulate. COMPRESS indicates whether price range is narrowing (coiling energy) or expanded (post-move). ATR% measures current volatility relative to recent history: HOT means explosive conditions favorable for hitting targets, FLAT means low volatility where moves stall. VACUUM detects when volume drops below normal before a sweep, signaling institutional preparation. VOL RATIO compares current bar volume to the rolling average-spikes confirm that stops were actually hunted. SWEEP classification (MINOR, MAJOR, FLUSH, GRIND) tells you how aggressively the level was cleared. GRADIENT measures momentum direction-positive favors longs, negative favors shorts. TREND with EMA shows the macro directional filter-price above EMA enables longs, below enables shorts. CALIBRATION LIVE means thresholds auto-adjust to the current instrument's behavior, while GRIND mode activates when the system detects slow-push sweep patterns. Quality scoring combines all these factors to produce the 0-10 grade that appears on each signal label.
---
THE DASHBOARD PANEL
The dashboard sits in the top right corner of the chart and displays the complete state of the indicator at the current bar in real time. It is organized into thirteen rows.
The header row shows the indicator name, the author name, the current sensitivity bias setting, and whether calibration is live or locked.
The state row shows whether the indicator is scanning for a setup or has an active trade. When active it shows LONG ACTIVE or SHORT ACTIVE . The right side of this row shows the stop loss distance in price units and ATR multiples.
The HTF zone row shows whether the zone system is active and how many zones are currently tracked.
The compression row shows the current compression strength as NONE, LIGHT, MEDIUM, or STRONG . The right side shows the current ATR percentile with a HOT, NORM, or FLAT label indicating whether volatility is elevated, normal, or suppressed.
The vacuum row shows whether the volume vacuum condition is currently active and displays the current volume ratio as a multiple of the rolling average.
The sweep row shows the current sweep classification if a sweep is pending or the classification of the most recent signal if a trade is active. The gradient value is displayed on the right with green coloring for positive, red for negative, and white for near-zero.
The quality row shows the visual quality bar and the grade with score when a trade is active. The quality bar uses simple characters to show the score at a glance.
The TP1 and TP2 row shows exact target prices when a trade is active and updates to show HIT when each level is reached.
The stop row shows the current stop loss price and whether it is initial, trailing, or moved to breakeven.
The position row shows what percentage of the position remains open after any partial close at Target 1.
The trend row shows whether the macro bias is BULL or BEAR based on the EMA and displays the current EMA value.
The sweep expiry row shows how many bars remain in the commitment window if a sweep is pending but not yet confirmed.
The calibration row shows whether the auto-calibration engine is LIVE or LOCKED , and shows the grind mode status and the configured stop loss ATR multiplier.
---
A WALK-THROUGH OF A COMPLETE SIGNAL
Consider a bullish example. The higher timeframe has been compressing for several bars. The compression zone is registered and appears as a purple box on the chart between two price levels, for example 42200 and 42350 on a Bitcoin five-minute chart. Price approaches from above and enters the zone. Volume begins to drop across two or three bars, triggering the vacuum condition and tinting those bars with a faint yellow background.
On the next bar price spikes sharply below the bottom of the zone to 42080, creating a wick of approximately 120 points below 42200. The wick extends 0.9 ATR below the zone boundary, qualifying as a MAJOR sweep. The candle body closes back at 42210, inside the zone. The pressure gradient at this point reads positive 0.38, meaning buying pressure has been accelerating across the last three bars despite the downward spike.
All four conditions are now satisfied: compression zone present, volume vacuum active, MAJOR sweep detected, gradient positive and above threshold. The sweep state is recorded. The dashboard updates to show SWEEP : MAJOR and the remaining bars in the commitment window begin counting down.
On the following bar a bullish candle forms. It has a body of 85 points, which exceeds the minimum body size requirement relative to ATR. Volume on this candle is 1.2 times the rolling average, above the 0.65 minimum. The candle closes at 42310, above the zone low of 42200. All commitment candle conditions pass. The signal fires.
A label appears below that bar reading LONG HIGH 7/10. A green circle shape appears above the bar marking a HIGH grade signal. The trade forecast boxes appear: a green box from 42310 to 42510 for Target 1 region, a lighter green box from 42510 to 42660 for Target 2 region, and a red box from 42310 down to 41910 for the stop zone. The entry line is drawn at 42310. The stop line is drawn at 41910. Target 1 is drawn at 42510. Target 2 is drawn at 42660.
The dashboard updates to show LONG ACTIVE, the exact stop and target prices, the quality grade of HIGH at 7 out of 10, and POS REMAIN at 100 percent.
When price reaches 42510 the TP1 box deepens in shade. The dashboard shows HIT on the TP1 row. POS REMAIN drops to 50 percent. If breakeven is enabled the stop line on the chart moves up to 42310 and the dashboard stop type changes to BREAKEVEN .
When price reaches 42660 the TP2 box deepens. The dashboard shows HIT on the TP2 row. The trade closes. The lines and boxes move into history if the historical display option is enabled, fading slightly to distinguish them from any new active trade.
Chart Example of a Long "High" Grade Signal full lifecycle
BTC Perpetual Futures Contract
BINANCE:BTCUSD.P
Time Frame 5 mins
IMAGE 1: SIGNAL GENERATION & PRE-CONDITIONS
What Triggered the Signal: A grind sweep was detected at zone 77699.7. Price slowly pushed below the compression level over several bars (orange triangle marker visible on left side), then reversed with a commitment candle. Dashboard shows SWEEP: GRIND with GRADIENT: 0.54 confirming positive momentum shift. VACUUM: NO indicates volume was not in vacuum state during this particular signal. The sweep window counter shows 7/8 bars remaining, meaning the indicator is waiting for final commitment candle confirmation before entering the trade.
Pre-Condition Dashboard Readings:
COMPRESS: NONE - No active compression detected at this moment
ATR%: 42.9% NORM - Volatility in normal range
VACUUM: NO - Volume condition not active
VOL RATIO: 1.51x - Volume 1.51 times the average
GRADIENT: 0.54 - Strong positive momentum
TREND: BEAR - EMA at 77762.5, price below (note: this signal appears to have fired despite bearish EMA, possibly EMA filter was disabled or price was transitioning)
IMAGE 2: TRADE SETUP & ACTIVE MANAGEMENT
Trade Entry Confirmation: The commitment candle confirmed, and the trade entered. Dashboard now shows STATE: LONG ACTIVE, indicating the position is open. Signal label displays " LONG HIGH 6/10 Sweep: GRIND Zone: 77723.0" with green circle quality marker (HIGH grade).
Stop Loss & Target Calculation:
Entry Zone: 77838.0
Stop Loss: 77511.2 (placed 2 ATR below entry)
SL Distance: 327.5 points (2 ATR) shown in dashboard as "SL DIST: 327.5 (2 ATR)"
Target 1: 78166.2 (327.5 points profit, 1 R) - 50% position close
Target 2: 78411.8 (573 points profit, 1.5R) - remaining 50%
Active Trade Dashboard:
STATE: LONG ACTIVE
QUALITY: ||||||||.... (8 bars filled) GRADE: HIGH 6/10
TP1 (50%): 78166.2 | TP2 (50%): 78411.8
STOP: 77511.2 | TYPE: INITIAL
POS REMAIN: 100% (full position still open)
TREND: BULL (EMA 21: 77774.8) - price has crossed above EMA confirming bullish bias
VACUUM: ACTIVE (yellow highlight visible on some bars)
VOL RATIO: 0.09x - Low volume, waiting for high volume to confirm institutional participation
GRADIENT: 0.66 (Strong positive momentum)
SWEEP EXP: In Trade (window closed, position active)
IMAGE 3: TRADE PROGRESS & ACHIEVEMENT
Target Achievement: Price rallied from the entry at 77838 and reached 78,411.0 (shown in the top right), representing a 573-point profit. The green profit boxes are fully filled showing price traveled through both reward zones. Purple horizontal line visible near 78,390 level marking current price or a new resistance zone.
Post-Trade Dashboard:
STATE: SCANNING (trade closed, position exited)
HTF ZONE: ACTIVE with COUNT: 1 zones being tracked
COMPRESS: NONE
ATR%: 9.1% FLAT - volatility compressed significantly after the move
VACUUM: ACTIVE - volume vacuum condition now present (post-move exhaustion)
VOL RATIO: 0.53x - volume dropped to 53% of average confirming the move is complete
TREND: BULL (EMA 21: 78227.4) - price well above EMA
Quality/Grade/TP fields: - (cleared because no active trade)
In the example shown, both level 1 (78166.2) and level 2 (78411.8) were touched. The trade reached approximately 1.0R at TP1 and 1.5R at TP2, with 50% of the position closed at each level. The grind sweep at 77723.0 identified the liquidity absorption area that preceded the rally. The current price of 78,390.0 represents approximately 573 points of illustrative move from the entry.
---
RECOMMENDED SETTINGS BY MARKET
For cryptocurrency on a 5-minute chart, the recommended HTF reference is 15 minutes. The EMA can be set to 21 for fast trend alignment. The sensitivity bias can start at NEUTRAL and be adjusted to AGGRESSIVE on high-liquidity pairs during active sessions.
For equity index futures on a 5-minute chart, the recommended HTF reference is 30 minutes or 1 hour. The EMA can be set to 50. The sensitivity bias works best at CONSERVATIVE or NEUTRAL because index instruments tend to grind slowly and produce more noise with aggressive settings.
For forex major pairs on a 15-minute chart, the recommended HTF reference is 1 hour. The grind sweep path is particularly effective on forex due to the low wick-body ratio of most major pairs. The EMA at 50 provides clean directional filtering.
For equities on daily charts , the recommended HTF reference is 4 hours. The calibration window can be increased to 200 bars for more stable threshold measurement on slower instruments.
The indicator works on any timeframe and any asset class without requiring manual configuration because the auto-calibration engine reads the instrument's behavior directly. The recommended settings above are starting points for users who prefer guidance. The behavior metrics displayed in the dashboard can help users understand whether their current settings are appropriate for the instrument they are trading.
---
TRADE MANAGEMENT DEFAULTS AND HOW TO ADJUST THEM
The default stop loss distance is two ATR. This is intentionally wider than typical scalping tools to accommodate the nature of liquidity sweep entries, where price frequently makes one final push against the position before reversing. A stop placed too tightly below or above a sweep zone will be taken out by the very move the signal is identifying.
Target 1 defaults to two ATR from entry, producing a one-to-one risk-to-reward on the first half of the position. Target 2 defaults to 3.5 ATR, producing a one-to-1.75 risk-to-reward on the remaining position. By default fifty percent of the position is closed at Target 1 and fifty percent runs to Target 2. This split can be adjusted between ten and ninety percent in the settings.
The breakeven option moves the stop to the entry price once Target 1 is hit. This eliminates all risk on the remaining position after the first target is reached.
The trailing stop option activates a ratcheting stop that follows the lowest low of the last four bars for long trades and the highest high for short trades, minus or plus the configured ATR offset. The trail can start immediately at entry or only after Target 1 is hit, depending on the Trailing Starts After setting.
The timeout setting closes the trade if Target 1 is not reached within the configured number of bars. This prevents capital from being tied up in stalled setups indefinitely.
The minimum bars between signals setting prevents back-to-back entries on the same directional impulse. At the default of eight bars on a five-minute chart, this means a new signal in the same direction cannot fire within forty minutes of the previous one.
---
HOW TO USE THE TWO-BAR CONFIRMATION OPTION
The two-bar confirmation setting requires that both the commitment candle and the candle immediately before it close in the signal direction and on the correct side of the zone. This setting is intended for instruments that produce many false commitment candles on the first bar of a potential reversal. On indices and slower-moving instruments enabling this option reduces entries by approximately thirty to forty percent but eliminates most of the premature entries where the reversal fails on the first bar.
The cost of this setting is one bar of lag. On a five-minute chart this means the entry is delayed by five minutes from the initial sweep detection. On a one-minute chart this delay is acceptable for intraday scalping. On a fifteen-minute chart the delay may cause significant slippage relative to the optimal entry zone. Users should test this option on their specific instrument and timeframe before relying on it.
---
WHAT THE GRIND PATH DETECTS AND WHY IT EXISTS
The grind sweep path exists because not all instruments produce sharp spike wicks through key levels. Equity indices in particular tend to slowly close beyond a level across multiple bars before reversing. A traditional wick-based detection system would miss these sweeps entirely because no individual candle has a wick large enough to qualify.
The grind path looks back a configurable number of bars to check whether price was outside the zone boundary during any of those bars. If price was beyond the zone and the current bar closes back inside with a body in the reversal direction and the gradient confirms the momentum shift, the condition qualifies as a grind sweep. It receives the same treatment as a spike sweep from the commitment candle onward.
The orange triangle markers on the chart show where grind conditions were detected, which is useful for understanding how often this path fires on your specific instrument versus the spike path.
---
ALERTS
Eight alert conditions are available . The Long Signal and Short Signal alerts fire when a full confirmed entry is generated. The Bull Sweep and Bear Sweep alerts fire when a sweep is detected but before the commitment candle has confirmed. These earlier alerts allow traders to watch for the setup manually and decide whether to act. The Target 1 Hit and Target 2 Hit alerts notify when each level is reached. The Breakeven alert fires when the stop is moved to entry. The Trailing On alert fires when the trailing stop activates.
All alerts use TradingView's standard alert condition system. To set an alert, add the indicator to your chart, click the alert creation button, and select any of the eight named conditions from the dropdown. Alerts can be set to once per bar close on the signal conditions to ensure only confirmed bars trigger notifications.
---
IMPORTANT NOTES ON TIMEFRAME ALIGNMENT
The HTF reference should always be set to a timeframe higher than the chart you are viewing the indicator on. Setting the HTF reference to the same timeframe as the chart produces redundant zone detection that does not add higher timeframe context. Setting it to a lower timeframe is not valid and should be avoided.
The indicator requires a minimum number of bars equal to the calibration window before any signals are generated. At the default calibration window of 100 bars, the first 100 candles on any chart will show no signals while the engine builds its behavioral measurements. This is indicated in the code by the ready condition and is by design.
On very low timeframes such as one-minute charts, the calibration window represents only about 100 minutes of data. Users on one-minute charts may want to increase the calibration window to 200 bars for more stable threshold measurement across a full session.
---
DISCLAIMER
This indicator is published for educational and informational purposes only. Nothing in this publication or in the indicator's output constitutes financial advice, investment advice, or a recommendation to buy or sell any financial instrument. All trading involves substantial risk of loss. Past signal performance visible on historical charts does not guarantee or predict future results. The visual trade management levels shown on the chart are illustrative and do not represent guaranteed exit points. Slippage, spread, and market conditions will affect actual trade outcomes. Always apply your own analysis and risk management before entering any trade. Never risk more than you can afford to lose.
Pine Script® indicator






















