Structural Liquidity & POC Matrix [BigBeluga]🔵 OVERVIEW
The Structural Liquidity & POC Matrix is a clean, automated price action terminal built to track institutional key levels. It isolates important market highs and lows over a set lookback period and instantly projects them onto your chart as trailing liquidity lines.
Additionally, the script calculates a dynamic volume profile between those major high and low structural markers. Instead of scattering lines everywhere, it neatly draws this volume breakdown on the right side of your workspace to reveal exactly where the heaviest trading occurred and highlights the Point of Control (POC).
🔵 FEATURES
The toolkit maps out key market interaction zones using a streamlined structural tracking framework:
1 — Dynamic Liquidity Range Tracking
Automated Sweep Highs & Lows: The engine scans your chart using a set lookback period ( Liquidity Length ) to find key historical highs and lows, drawing sharp levels right at those turning points.
Smart Fading Level Lines: Once a liquidity line is plotted, it trails forward until it hits a customizable timer limit ( Fade Liquidity ). The line smoothly fades out and resets over time, ensuring your chart stays perfectly clean.
Visual Breakout Diamond Markers: The exact moment price action breaks or shifts out of a previously established liquidity level, the script prints a sharp diamond symbol (◆) to flag the market sweep.
2 — Adaptive Sidebar Volume Profile & Matrix
Right-Side Profile Alignment: To keep your workspace completely clear of clutter, the script shifts the historical volume breakdown out of the way, plotting it onto the right margin of your screen ( Profile Offset ).
Structural Volume Distribution: The engine tallies up all volume traded between the active major high and low blocks. It dynamically projects the results as a clean structural polyline matrix block, colored to match the dominant market flow.
Point of Control (POC) Target Line: The system automatically scans your volume data to pinpoint the absolute heaviest volume node ( Point of Control (POC) ). It stretches a bright line ( POC Color ) from the start of the structure all the way through the profile to reveal major institutional fair value anchors.
// Volume Profile Array Bins & POC Target Index Lookup
volBins = array.new(size, 0.0)
for i = start to bar_index
price = close
binIdx = math.floor((price - profBot) / atr)
if binIdx >= 0 and binIdx < size
array.set(volBins, binIdx, array.get(volBins, binIdx) + volume )
maxVol = array.max(volBins)
pocBinIdx = volBins.indexof(maxVol) // Find the exact index of the POC
🔵 HOW TO USE
Integrating these structural matrix lines into an everyday trading plan follows a clear, step-by-step strategy structure:
Isolate the Active Range Boundaries: Monitor the top orange and bottom blue tracking lines to instantly map the current structural playing field. These trailing boundaries reveal exactly where short-term stops and market liquidity pool rest.
Locate the Institutional Fair Value Anchor: Look for the bright yellow Point of Control line stretching across the chart. This level shows you where the largest amount of volume has changed hands, identifying a strong support or resistance anchor for future retests.
Execute Trades Off Range Sweeps: Watch the chart closely when price sweeps past an outer liquidity line and prints a diamond indicator. If price snaps back inside the range, look to ride the reversal momentum straight across the matrix toward the yellow POC target line.
🔵 NOTES
Why this implementation is unique:
It acts as a compact, self-cleaning support and resistance tool by automatically fading out old level lines before they can crowd your screen.
Rather than forcing you to look at a fixed, unmoving session volume profile, it anchors its volume calculation directly between the active high and low price pivots.
The smart polyline rendering engine keeps your trading window uncluttered by cleanly shifting detailed volume histograms entirely over to the right margin space.
Indicateur

Liquidity Suite # Liquidity Suite
## Description
Liquidity Suite is an all-in-one market structure and liquidity mapping indicator designed for traders who focus on liquidity, session behavior, and higher-timeframe execution.
Instead of plotting dozens of unrelated levels, the indicator combines the most important liquidity references into a single workspace while automatically reducing chart clutter.
The indicator includes:
* Asian, London and New York Sessions
* Session Highs & Lows
* True Day Open (TDO)
* Previous Day High/Low (PDH/PDL)
* Previous Week High/Low (PWH/PWL)
* Previous Month High/Low (PMH/PML)
* Multi-Timeframe BSL/SSL liquidity levels (up to 3 HTFs)
* Relevant Swing Highs/Lows
* Universal Purged Level tracking
* Automatic relevance filtering using ATR proximity
Unlike many liquidity indicators that continuously accumulate objects, Liquidity Suite intelligently manages overlapping levels by keeping only the most relevant information visible while preserving every level internally for proper sweep detection.
---
## Features
### Session Engine
* Asia, London and New York sessions
* Session boxes and/or high-low lines
* Custom session times
* Session labels
* Alerts when session highs or lows are taken
* Configurable number of historical sessions
### True Day Open
Displays the New York midnight opening price with optional labeling.
### Previous High/Low Levels
Plots:
* Previous Day High / Low
* Previous Week High / Low
* Previous Month High / Low
These levels automatically mark themselves as purged once liquidity has been taken.
### HTF BSL / SSL Engine
Detects Higher Timeframe Buy-Side Liquidity (BSL) and Sell-Side Liquidity (SSL).
Supports:
* Automatic timeframe mapping
* Manual timeframe selection
* Up to three independent HTF layers
* Configurable styling
* Automatic purge detection
### Relevant Swings
Creates a clean liquidity map using fractal swing detection.
Features:
* ATR-based clustering
* Higher-timeframe fractal window
* Automatic filtering of minor pivots
* Maximum levels per side
* Sweep detection
### Universal Purged Levels
Whenever liquidity is swept:
* Optional ✕ marker
* Optional deletion
* Or keep as grey dotted historical liquidity
Applies consistently across:
* PDH/PDL
* PWH/PWL
* PMH/PML
* HTF BSL/SSL
(Session highs/lows remain on the chart but are marked as taken.)
### Smart Relevance Filter
The built-in decluttering engine compares nearby liquidity levels using ATR distance.
When enabled:
* Fresh levels always beat purged levels.
* Higher timeframe liquidity beats local swing levels.
* Older confirmed levels are preferred over newer overlapping ones.
* Active sessions remain untouched until they close.
This dramatically reduces chart noise while preserving important liquidity references.
---
# User Settings
## General
**Timezone**
* Timezone used for sessions and True Day Open.
---
## Relevance Filter
**Show Only Relevant Levels**
* Hides overlapping liquidity levels based on ATR proximity while keeping all logic active internally.
**ATR Length**
* ATR period used for proximity calculations.
**Proximity Threshold**
* Distance (ATR multiple) used to determine when two levels are considered overlapping.
---
## Sessions
**Show Sessions**
* Enable or disable session display.
**Hide Sessions Above TF**
* Prevent session drawing on higher timeframes.
**Alert on Session High/Low Break**
* Generates alerts when session liquidity is taken.
**Style**
* Box
* Lines
* Both
Additional options include:
* Transparency
* Line style
* Line width
* Label size
* Maximum historical sessions
Each session can be individually configured:
* Asia
* London
* New York
Including:
* Session times
* Colors
* High/Low labels
---
## True Day Open
**Show True Day Open**
* Displays the daily opening price based on the selected timezone.
Options:
* Color
* Line style
* Width
* Show label
---
## Previous Highs & Lows
Individually enable:
* PDH/PDL
* PWH/PWL
* PMH/PML
Each group supports:
* Color
* Style
* Width
---
## HTF BSL / SSL
Supports up to three Higher Timeframe liquidity layers.
Each layer includes:
* Enable/Disable
* Automatic or Manual timeframe (HTF1)
* Manual timeframe selection
* Color
* Style
* Width
Global option:
**Max Lines Per Level**
* Limits the number of active BSL/SSL levels retained.
---
## Purged Levels
**Delete Purged Levels**
* Remove swept liquidity from the chart, or keep it as historical reference.
Additional settings:
* Purged color
* Purged style
* Show ✕ marker
* Maximum stored purged levels
---
## Relevant Swings
Enable ATR-filtered swing mapping.
Options include:
* Window size
* Pivot length
* Swing ATR length
* Maximum levels per side
* Line color
* Style
* Width
* Label text
---
# Recommended Usage
Liquidity Suite works best when combined with price action and market structure analysis.
Typical workflow:
1. Identify higher-timeframe liquidity (PDH/PDL, HTF BSL/SSL).
2. Observe session range development.
3. Wait for liquidity sweeps into key levels.
4. Look for confirmation before entering trades.
5. Use the relevance filter to maintain a clean, readable chart.
---
## Notes
* The indicator is non-repainting.
* Active session levels are intentionally excluded from the relevance filter until the session closes.
* Purged levels remain internally tracked to ensure accurate filtering and historical context.
* Designed for discretionary liquidity-based trading across forex, indices, crypto, and futures markets.
Indicateur

Indicateur

Precedent [ThrowMaster]===============================================================
WHAT IT IS
===============================================================
Precedent does not predict. It measures.
Every time a defined market event confirms on your chart, Precedent
records what price actually did over the following N bars. Once enough
comparable records have accumulated, it displays the empirical
distribution of those recorded outcomes: how far price travelled, how
often it reached a given distance, and how many bars that took.
The question it answers is narrow and deliberately so:
"On this symbol, on this timeframe, when this kind of event happened
at this kind of price level in this kind of market condition, what
followed afterwards, and across how many cases?"
Every number shown is measured from the visible history of the chart you
are looking at. Nothing is imported from another market, no outcome
percentages are hard-coded, and no distribution shape is assumed. If the
chart has not yet produced enough comparable cases, the indicator stays
silent and tells you how many it has.
This is a context tool. It produces no buy or sell signals, no entry
prices, and no stop levels, and it is not designed to be used as one.
Please read the section titled THE MOST IMPORTANT WARNING before using
it on a live chart.
===============================================================
HOW IT WORKS
===============================================================
1. LEVEL MAP
A running inventory of prices that carry structural meaning is
maintained bar by bar:
- Swing pivots confirmed with a symmetrical left/right lookback
(default 21 bars each side for external structure, 5 for internal).
- Equal highs and equal lows: when a new pivot lands within the merge
tolerance of an existing level, that level's touch count increases
rather than a second level being created.
- Unfilled fair value gaps: a three-bar imbalance where the current
bar's low is above the high from two bars ago (or the mirror for
the bearish case). Each additional gap overlapping the same price
adds to that level's weight, so three gaps stacked at one price
are recorded as one level carrying three factors.
- Order blocks: the extreme of the last opposite-coloured candle
immediately before a displacement bar, where displacement means a
body in the top 15 percent of the last 100 bodies AND the move
takes out the most recent internal pivot. Displacement alone is not
enough; it must be tied to a structural break.
- Previous day and previous week high and low, requested with a
one-bar offset so no unclosed higher-timeframe data is used.
Each level accumulates a WEIGHT equal to the number of independent
factors coinciding there, plus a bonus for repeated touches and for age
beyond 200 bars. Two factors closer together than the merge tolerance
(default 0.25 x ATR) are treated as one level with two factors, never as
two levels. This prevents an order block that naturally sits inside a
fair value gap from being counted twice.
A level whose weight reaches the MAJOR threshold (default 4) is
classified MAJOR; weight 1 to 3 is MINOR; anything else is NONE.
Note on interpretation: a heavily touched level is treated as more
SIGNIFICANT, not as stronger. Repeatedly tested highs and lows are
exactly the prices that attract sweeps. The indicator does not assume
which way that resolves; it measures what actually followed.
2. EVENT CLASSES
Six event types are detected. Every one of them locks its state at bar
close.
SWP Sweep Price trades beyond a mapped level and closes back
inside it, with a wick in the top quartile of the
last 100 wicks on that side.
SHF Shift A close beyond the most recent confirmed external
swing, in either direction (break of structure or
change of character).
SQZ Squeeze Bollinger Bands (20, 2.0) contract entirely inside
Keltner Channels (20, 1.5 x ATR) for at least five
consecutive bars, then expand back out.
CLX Climax Volume in the top 5 percent of the last 200 bars
combined with a bar range in the top 10 percent.
Where volume is unavailable, range plus body size is
used instead and the dashboard states which.
REJ Reject A bullish or bearish engulfing bar, or a pin bar with
a wick in the top quartile of the last 100, but only
when it occurs at a mapped level. A rejection candle
floating in empty space is not recorded at all.
DIV Divergence Price makes a lower low while cumulative flow makes a
higher low, or the mirror case, measured at confirmed
pivots. Flow is signed by body position within the
bar range and scaled by volume where volume exists.
Divergence is measured against volume-weighted flow, not against an
oscillator. An oscillator derived from price and then compared back to
price adds no independent information; volume is a separate data source.
Two events of the same class are never recorded closer together than the
full horizon. This is a deliberate statistical constraint: it costs
sample size, and it buys the guarantee that no two stored outcomes share
an overlapping future.
3. CONTEXT SCORE
Three voices contribute to an additive score from 0 to 100. Nothing
gates. No voice can block a signal; each only adds weight.
STRUCTURE 35 Whether the recent sequence of confirmed swing highs
and lows agrees with the event's direction.
FLOW 30 The percentile rank of the bar's signed flow over the
last 200 bars, cut to one fifth when its sign
disagrees with the event direction.
HTF 35 Whether the higher timeframe close sits above or below
its own 50-period EMA, in agreement with the event.
The score is then discounted by regime and renormalised back to a 0-100
scale, so scores remain comparable across regimes:
RANGE structure x 0.70 (structure breaks constantly and means
little inside a range)
TRANSITION higher tf x 0.80 (higher timeframe bias is least
reliable while it is turning)
TREND flow x 0.85 (large volume is ordinary in a trend
and therefore less informative)
One correction is applied automatically: Climax and Divergence are
themselves defined from flow, so for those two classes the flow weight
is halved and the freed weight is split evenly between structure and
higher timeframe. Without this, the flow voice would confirm an event
that flow itself created.
The score is converted into a two-level tier by comparing it to the 60th
percentile of past scores for the same event class on this chart. There
is no fixed cut-off number.
4. SIGNATURE AND BACKOFF
Each recorded event is filed under a discrete key:
event class x location class x regime x direction x score tier
Direction is never merged at any level, because upward and downward
outcomes are not symmetrical.
When a new event confirms, the engine looks for stored outcomes sharing
that key. If fewer than the minimum sample (default 20) exist, it drops
the finest component and looks again:
L3 event + location + regime + direction + tier
L2 event + location + regime + direction
L1 event + regime + direction
L0 event + direction
The first level with a sufficient sample is used, and the dashboard
always states which level was used and how many records it contained.
If even L0 is short, nothing is drawn and the dashboard shows
CALIBRATING with the current count.
Seeing L1 or L0 rather than L3 is normal, not a fault. Non-overlapping
sampling produces a limited number of independent cases per chart, and
the backoff exists precisely to handle that honestly rather than
displaying a percentage built on four observations.
5. OUTCOME STORE
For each recorded event the engine tracks, for the following H bars
(default 24):
- excursion at H/4, H/2, 3H/4 and H, expressed in R where R is the
ATR(14) value at the event bar
- maximum favourable and maximum adverse excursion
- the bar number at which the move first reached +1R, +2R and +3R,
or zero if it never did
The record is written to the store only after H bars have fully elapsed.
A projection displayed today is therefore built exclusively from events
that had already finished before it was issued. This is a structural
property of the design, not a discipline that has to be maintained.
6. WHAT IS DRAWN
- An empirical quantile fan. The outer envelope traces the 5th and
95th percentiles of the matched outcomes at each of the four
checkpoints; the inner envelope traces the 25th and 75th; the
dashed centre line traces the 50th. The shape is asymmetric and
heavy-tailed whenever the underlying data is, because the values
are measured percentiles rather than a fitted curve.
- A target line. The median maximum favourable excursion of the
matched set is converted to a price, then snapped to a mapped
structural level if one lies within half an ATR. Statistics choose
the zone; structure chooses the exact price. The label states
"level" when a snap occurred and "stat" when it did not.
- Hit rate and expected bars. Both are read at the nearest whole R
ring (+1R, +2R or +3R) to the target distance, and the ring is
named on the label. Hit rate is the share of matched records that
reached that ring within H bars. The bar count is the median
first-passage time among those records that reached it.
7. RUN TRACKER
A run begins at a confirmed structure shift and ends at the next
confirmed shift in the opposite direction. Within a run, occurrences of
each event class and direction are counted. When the run closes, one
record per class is stored: how many had occurred before the reversal.
The observation unit is therefore the run, not the event. This matters:
counting events directly would produce heavily overlapping samples,
since several events inside one run share the same future. Counting runs
does not.
The panel answers a question most tools ignore entirely: given that a
third bearish divergence has now printed in this uptrend, in what
fraction of past runs on this chart did the reversal arrive by the
third, and in what fraction did the run extend to a fourth or beyond.
8. SELF-AUDIT
Every displayed projection resolves into exactly one of four states, and
these are never merged:
HIT the target was reached first
ADV the -1R reference was reached first
AMB both were touched inside the same bar, so the order is
unknowable from bar data and the case is discarded rather
than claimed
EXP H bars elapsed with neither touched
The dashboard reports the running counts, and separately compares the
average hit rate the tool projected against the hit rate it actually
realised. If those two numbers diverge, the tool is telling you its own
estimates are miscalibrated on this chart.
Two further panels report whether the classification axes carry any
information at all: median outcome for tier A versus tier B, and median
outcome for MAJOR versus MINOR versus NONE locations. If a pair does not
separate, that axis is not contributing, and you are meant to see that.
===============================================================
WHAT MAKES IT ORIGINAL
===============================================================
- Outcome statistics are conditioned on a discrete event signature
and computed from the chart's own history, rather than assumed from
a parametric distribution or imported as fixed percentages.
- Projection targets are snapped onto mapped structural levels, so
the displayed price is a real level rather than a quantile value
floating in empty space.
- The hierarchical backoff makes sparse conditioning explicit: the
display always names the level of specificity that was achievable
and the sample size behind it.
- Sequence statistics use the completed run as the observation unit,
which removes the sample overlap that direct event counting creates.
- The indicator scores its own past projections against outcomes and
displays projected versus realised hit rate on the chart.
===============================================================
HOW TO READ THE CHART
===============================================================
HORIZONTAL LINES
The image below shows the level map alone, with the projection layer
switched off, so the two grades of level can be compared directly: gold
solid lines mark MAJOR levels, thin dotted lines mark MINOR ones.
Two families of horizontal line exist, and they are drawn so that they
can never be confused with each other.
THE LEVEL MAP owns thin dotted lines and gold:
Gold, solid, width 2 A MAJOR level: four or more independent
structural factors coincide at this price.
Washed white, DOTTED, A MINOR level: one to three factors.
width 1
THE TARGET FAMILY owns solid width-2 lines in mint, coral and slate.
No target line is ever drawn dotted or at width 1.
Mint, solid, width 2, The target of the live projection.
full opacity Extends to the right. Only one is live at
a time.
Coral, dotted, width 1 The -1R adverse reference of the live
projection. Removed the moment the
projection resolves. This is a measurement
boundary used to classify the outcome. It
is NOT a stop loss and must not be used as
one.
Once a projection resolves, its target line keeps its full width and
stays solid. Only its colour and opacity change:
Mint, faded HIT: price reached it within the horizon.
Coral, faded ADV: price reached the -1R reference
first.
Slate blue-grey, faded EXP or AMB: the horizon elapsed with
neither touched, or both were touched in
the same bar and the case was discarded.
Resolved lines are retained deliberately. A price that the statistics
selected, and that was then snapped onto a structural level, often
remains structurally relevant afterwards, and it is useful to see where
those prices were. The number retained is configurable and defaults to
six.
Read the fade as expiry of a claim, not as expiry of the price. The
faded line is a record that this price was once selected as a target and
of what happened next. It is not a live target and carries no ongoing
claim about the future.
The image below shows several resolved projections on one chart, so the
three outcome colours can be compared side by side: a faded mint line
where price reached the target, a faded coral line where it reached the
adverse reference first, and a faded slate line where the horizon
elapsed without either being touched. The markers carry the matching
three-letter outcome. Projections that did not work out are shown here
deliberately; the indicator records its own failures and so should its
description.
Level lines are redrawn on each new bar and only levels within six ATR
of current price are displayed, up to fourteen at a time.
THE FAN
Outer shaded band 5th to 95th percentile of matched
historical outcomes.
Inner shaded band 25th to 75th percentile.
Dashed centre line 50th percentile, the median path.
Teal the event pointed upward.
Coral the event pointed downward.
The fan is frozen at the moment the projection is issued and is never
recalculated. It reaches forward exactly H bars.
The next image shows a single live projection close up: the two shaded
bands, the dashed median path, the mint target line, and the label
carrying hit rate, sample size and remaining bars. Note that the bands
are not symmetrical around the median, because they are measured
percentiles rather than a fitted curve.
EVENT MARKERS
A small label prints at each recorded event, below the bar for upward
events and above for downward ones. It contains a three-letter code and
a number:
SWP sweep SHF shift SQZ squeeze
CLX climax REJ rejection DIV divergence
The number is the count of that event class and direction so far inside
the current run. "DIV 3" means this is the third divergence of that
direction since the last structure shift.
When a projection resolves, its marker gains a suffix and changes
colour:
HIT green target reached first
ADV red the -1R reference reached first
AMB amber both touched in the same bar; discarded
EXP amber the horizon elapsed with neither touched
THE TARGET LABEL
Three lines at the right end of the projection:
line 1 the target price, followed by "level" if it was snapped onto
a mapped structural level or "stat" if no level was near
line 2 hit rate and sample size, for example: hit 61% n=38
line 3 while the projection is live: bars remaining and the R ring
the hit rate refers to. Once it resolves, this line is
replaced by "RESOLVED" followed by HIT, ADV, AMB or EXP, and
the whole label takes the matching colour.
The bar count was frozen when the projection was issued and only counts
down. Nothing behind it is recalculated.
THE DASHBOARD
EVENT class, direction, and sequence number in this run
LOCATION MAJOR / MINOR / NONE and the level weight
REGIME RANGE / TRANS / TREND, the context score, tier
SIGNATURE backoff level used and sample size
WITH q50 q75 q95 terminal excursion quantiles measured ALONG the
event's own direction, in R
AGAINST q25 q05 the same distribution's tail measured AGAINST the
event's direction, in R
TARGET price and hit rate
ETA bars remaining and the R ring, or "no open
projection"
RUN EXT how far the current run has extended, in R
FLOW SOURCE "volume" or "proxy"
SEQ 1 / 2 / 3 / 4+ share of past completed runs that reversed after
that many events of this class
RUNS median median count before reversal, and number of runs
TIER A / B median outcome in R for each tier, with counts
LOC MAJ/MIN/NONE median outcome in R for each location class
LEDGER running totals of hit, adv, amb and exp
CALIBRATION average projected hit rate against realised
The dashboard is reproduced below at readable size, since every claim
made in the HOW IT WORKS section is meant to be verifiable there: the
backoff level actually used, the sample size behind it, the quantiles,
the sequence distribution, the two axis-health rows, and the running
comparison of projected against realised hit rate.
WITH and AGAINST are measured relative to the event's own direction, not
relative to the chart. For a downward event, a WITH value of +1.4R means
price fell by 1.4 ATR, and an AGAINST value of -1.8R means price rose by
1.8 ATR before the horizon closed. AGAINST is the row that tells you how
violent the route can be, and it is the row most worth reading before
deciding on any position size.
===============================================================
THE MOST IMPORTANT WARNING
===============================================================
DO NOT TREAT THE GREEN LINE AS A TARGET TO TRADE TOWARD, AND DO NOT
TREAT ANY MARKER AS AN ENTRY SIGNAL.
You will observe the following, and it is the single most dangerous
thing about this indicator:
The projection expires. The bars run out. The label reads "closed". And
then, twenty or fifty bars later, price finally reaches the green line.
It is tempting to read that as the tool having been right after all. It
was not, and here is why that reading destroys accounts:
1. The green line is snapped to a structural level. Structural levels
get revisited eventually, because that is what they are. Price
arriving there after the horizon has expired is not evidence of
anything. It is what levels do.
2. The expected bar count is a median of the cases that reached the
ring. By definition, roughly half of the successful cases took
longer than that. "The estimate elapsed and it is not there yet"
is an ordinary outcome, not a malfunction.
3. Route is not measured. The indicator records where price ended up
and how far it travelled. It does not promise that the path there
was survivable. Price can travel far against you first, and still
arrive. The AGAINST row is the only place the route appears at all,
and even there it is a summary, not a guarantee.
A faded line is a closed case. It has no ETA, no live claim and no
implication that price is still heading there. If price later reaches a
faded line, that is not a delayed hit. It is a structural level being
revisited, which is what structural levels do.
That third point is what actually costs money. A leveraged position
opened on the strength of a hit rate can be liquidated by an adverse
excursion long before the target is reached. The account is closed; the
target being reached afterwards is irrelevant to it. This is not a
remote scenario. It is the ordinary case whenever leverage is applied to
a statistic that describes destinations rather than routes.
The -1R red line does not protect you either. It is a measurement
boundary chosen so outcomes can be classified consistently. It is not a
risk parameter and was never sized to be one.
Precedent is a context tool. It tells you what has typically followed
this kind of moment on this chart, with the sample size attached. Entry
timing, position size, stop placement, leverage and the decision to
trade at all remain entirely yours and must come from a method this
indicator does not contain and does not attempt to contain.
If the only thing you take from a projection is "hit 61 percent, so buy"
you have misread it. The intended reading is closer to: "in 38
comparable cases on this chart, price reached this level within 24 bars
in 61 percent of them, taking a median of 9 bars, and the adverse tail
of that distribution ran to -1.8R."
===============================================================
LIMITATIONS AND REPAINT POLICY
===============================================================
REPAINT BEHAVIOUR, ELEMENT BY ELEMENT
- Event detection, tier assignment and score sampling are locked at
bar close. They do not change afterwards.
- Swing pivots confirm with a delay equal to the pivot length in bars
(default 21). A level cannot appear before its pivot is confirmed.
That delay is the cost of not looking ahead, and it is not avoided
anywhere in this script.
- Higher timeframe values are requested with a one-bar offset, so
only completed higher timeframe bars are used. On the chart
timeframe this means the higher timeframe bias lags by one higher
timeframe bar.
- The fan, the target line and the adverse line are computed once, at
the confirmed bar that issued them, and are never recalculated.
- The dashboard and the countdown update live within the forming bar
by design. The countdown only subtracts from a number that was
frozen at issue; no statistic behind it is recomputed.
KNOWN LIMITATIONS
- The statistics are descriptive, not predictive. They summarise what
has already happened on the chart in front of you. They are not a
forecast and are not out-of-sample.
- Sample sizes are small by construction. Requiring non-overlapping
outcomes limits the number of independent cases available, which is
why the backoff and the visible sample counts exist.
- Until enough completed outcomes exist, nothing is drawn at all. The
image below shows that state: the dashboard reports CALIBRATING and
the current count against the required minimum, and no fan, target
or hit rate appears anywhere on the chart.
- Chart history is finite. On low timeframes the available bars may
cover only a matter of weeks, and possibly only one market regime.
Treat a large sample drawn from a single regime with caution.
- Outcomes are measured at bar resolution. When a bar touches both
the target and the adverse reference, the order is unknowable and
the case is marked ambiguous and discarded rather than assumed.
- Statistics apply only to events this indicator itself defined. If
you identify a setup it did not mark, no displayed percentage
describes it. Borrowing a number from a different occasion is a
misuse.
- Where a symbol provides no usable volume, flow falls back to a
body-position proxy on the same percentile scale. The dashboard
states which is in use. Mixing the two would corrupt the store, so
the fallback applies to the whole session or not at all.
- Changing the higher timeframe from Auto to Manual changes what the
signature key means. The stored outcomes are therefore cleared and
rebuilt from zero when you do it. This is intentional.
- Nothing here is tuned. There is no optimiser and no fitted weight.
Thresholds are percentiles over disclosed rolling windows. If a
parameter is changed, the level map and the statistics change with
it, and the sample must accumulate again.
===============================================================
DISCLAIMER
===============================================================
This script is published for educational and analytical purposes. It is
not financial advice, not a recommendation to buy or sell any
instrument, and not a trading system. It produces no entry signals, no
stop levels and no position sizing.
Historical measurement does not indicate future results. Markets change
regime, and a distribution measured on past bars may not describe the
next ones. Trading carries risk of loss, and leveraged trading carries
risk of total loss. Any decision taken while this indicator is on the
chart remains entirely the responsibility of the person taking it.
Indicateur

Vorn By Vince VornVORN marks everything a NY-session futures trader needs at the open: sessions, key levels, opening range, and liquidity sweeps with volume confirmation — all anchored to New York time, regardless of your chart's timezone. Built for ES and NQ on intraday timeframes (1-5 min).
SESSIONS
Color-coded background zones for the full 24h cycle: Asia, London/EU, Pre-market (8:30), US session, a highlighted Trading Zone (9:30-11:30), Lunch, Power Hour, and Post-market. Every session's time window and color is adjustable. Session names print at the bottom of the chart.
KEY LEVELS — anchored to their origin candle
Each level line starts at the exact candle that created it and extends a fixed length (adjustable):
PDH / PDL / PDC — previous day high, low, close (RTH-based by default, full Globex session optional)
ONH / ONL — overnight high and low (18:00→9:30 NY), frozen at the open
Weekly open
9:30 open
Opening Range high/low — default 30 minutes, adjustable
Level prices also print as color-coded labels on the price scale, plus a levels table (position, text size, and an optional legend column with full names for those still learning the abbreviations).
LIQUIDITY SWEEPS with volume context
When price wicks through a key level but closes back on the other side, VORN tags it — e.g. "SWEEP PDH 6,791.50 | 2.3x vol" — showing which level was run and the relative volume behind it. High-volume sweeps get a hot red tag. Strict mode (on by default) filters out failed breakouts: if price already closed beyond a level, a later return isn't counted as a sweep. After a high-volume sweep, if volume dries up over the following bars, a "VOL DRY" marker prints — spike into a level with no follow-through, the classic exhaustion context.
MORE
High-volume badge: appears mid-right only while current bar volume is elevated vs. the 20-bar average; disappears when things are quiet
VWAP, MA50, MA200 with individual toggles
Two themes: Dark (fully customizable via inputs) and White (classic green/red candles, one-click switch that repaints background and candles) Indicateur

Smart Money Liquidation Exploits [AlgoAlpha]🟠 OVERVIEW
Smart Money Liquidation Exploits maps recent swing highs and lows as liquidity levels, then watches how price reacts when these levels are reached. It focuses on liquidity sweeps where price moves beyond a prior swing with the wick but the candle body remains on the other side of the level.
The indicator combines pivot-based liquidity mapping, wick rejection signals, and structure-based take-profit levels. This helps traders separate a liquidity sweep from a simple break through a previous high or low.
It can use the current chart timeframe or a selected higher timeframe. This lets traders view liquidity and sweep signals from broader market structure while staying on a lower-timeframe chart.
🟠 CONCEPTS
Liquidity Level — A price level formed from a confirmed pivot high or pivot low. Pivot highs represent potential buy-side liquidity, while pivot lows represent potential sell-side liquidity.
Liquidity Sweep — A move where the wick crosses a liquidity level but the candle body stays beyond neither side of that level. A sweep below a pivot low is treated as bullish, while a sweep above a pivot high is treated as bearish.
Pivot Structure — Confirmed swing highs and lows defined by the Pivot Length setting. Consecutive pivots in the same direction are updated when a more extreme high or low forms.
Take-Profit Level — A target created after a valid sweep. For bullish sweeps, the target is the midpoint between the swept low and the latest swing high. For bearish sweeps, it is the midpoint between the swept high and the latest swing low.
Level Expiry — The period during which a liquidity or take-profit level remains active. Levels stop extending after they are reached or after the selected number of bars expires.
🟠 FEATURES
Liquidity Levels — Displays active pivot-based liquidity levels above and below price.
Sweep Signals — Marks bullish sweeps with ▲ and bearish sweeps with ▼ when price wicks through a liquidity level without the candle body crossing it.
Take-Profit Levels — Displays a dotted target after a valid liquidity sweep when an opposing swing is available.
Target Confirmation — Marks completed take-profit targets with a ✅ and connects the original sweep to the target hit.
Higher-Timeframe Mode — Allows liquidity levels, sweeps, targets, and expiry periods to use structure from a selected higher timeframe.
🟠 HOW TO USE
Watch the active liquidity levels around price to identify recent swing highs and lows that price may test.
Look for a ▲ below price when sell-side liquidity is swept. This shows that price moved below a pivot low but the candle body remained above the level.
Look for a ▼ above price when buy-side liquidity is swept. This shows that price moved above a pivot high but the candle body remained below the level.
After a valid sweep, use the dotted take-profit level as the indicator's structure-based target.
Watch for a ✅ when price reaches an active target. The connecting dotted line shows which sweep produced the completed target.
Increase Pivot Length to focus on broader swings, or reduce it to detect smaller local swings.
Enable Higher Timeframe mode when you want the liquidity structure and signals to come from a broader timeframe than the current chart.
Adjust Level Expiry Bars to control how long untouched liquidity and take-profit levels remain active.
🟠 CONCLUSION
Smart Money Liquidation Exploits combines pivot-based liquidity levels, wick-defined liquidity sweeps, and structure-based take-profit targets. It gives traders a visual way to identify rejected liquidity runs and track the price objective associated with each valid sweep. Indicateur

Trade Wzrd - Tide [Rampage Series]✨ TRADE WZRD - TIDE ✨
Every price level has an owner. Not a metaphor - a measurement.
Tide splits the range's volume row by row into buy mass and sell mass , finds the levels one side owns outright, and draws them as living lines on the chart - with a graveyard of the levels that came before.
⚡ THE RAMPAGE SERIES ⚡
Tide is a release in the Rampage Series - a growing family of volume-and-levels tools built by Trade Wzrd. Every Rampage script ships with the same built-in automation layer: signals don't just paint, they speak. One alert, one webhook, and every entry, exit and fill fires a plain-text order string.
⚡ THE OWNERSHIP ZONES (THE HERO) ✨
Every bar's volume is divided by who won the close - bars that closed high are buyers' mass, bars that closed low are sellers' mass - then spread across the price rows it touched. When one side owns 65%+ of everything traded at a row (your threshold), that row is a SHELF. Tide paints the two that matter right now as ownership ZONES : the highest buyer shelf below price as a soft cyan field, the lowest seller shelf above it in red - the exact band one side owns, a glow bed under a bright edge, and the ownership printed right inside the zone: "78% OWNED BY BUYERS" . A tag at the right edge carries the price and the percentage; hover it for who owns it, since when, and exactly where it dies. A zone stays alive until price closes clean through it - then it dies where it fell, no ghost, because a failed level is just a line.
⚡ THE FOSSILS (THE HISTORY) ✨
When a shelf is replaced - not broken, just handed off to the next level - it fades into a fossil: a dotted ghost in its owner's color, frozen at the bar it was born. Fossils stay on the chart until the market mitigates them: price trades through a ghost and it's erased. What's left is the archaeology of the setup - every level that used to matter, still standing where it stood, until the market itself takes it down. Cap the graveyard or turn it off in the Fossils group.
⚡ THE POOLS (THE LIQUIDITY) ✨
Equal highs and equal lows are not coincidences - they're where the stops rest. Tide clusters swings within a tolerance you set into liquidity POOLS, and draws them as gold levels: the exact price, the touch count that built them (×3 = three equal highs worth of stops), dashed while the liquidity rests. Then the raid comes: a wick through the pool that closes back = the sweep. The chart stamps it in gold, the pool marks itself TAKEN in dots, and it dies honestly when price consumes it or time forgets it. And here's the fusion: a fresh sweep near a shelf fuels the defense - conviction rises, and the chip's hover tells you exactly why: "the sell stops are already taken." The dashboard's POOLS row names the nearest pool each side with its touches and distance in ATR.
⚡ THE CROWN & THE CENTER ✨
The dashed white line is the Point of Control - the row where the most mass traded in the range, price tagged at its end. The optional volume-center line is the 50/50 magnet every defense aims for. The full ownership numbers - undertow, POC, shelf count, balance - live on the dashboard, one glance away.
⚡ THE DEFENSE (THE SIGNAL) ✨
Price returns to a shelf and the owners defend it: a dip into a buyer shelf that closes back above = BUY · DEF. A poke into a seller shelf that closes back below = SELL · DEF. One defense per shelf per touch - a fired shelf releases only when price escapes it cleanly, so fresh touches can defend again but wick-spam cannot. Stops frame the shelf's far edge: if price trades through the shelf, the defense failed, honestly. Targets default to the VOLUME CENTER - the 50/50 magnet of the range's mass - capped at 3R with an R-multiple fallback.
⚡ THE UNDERTOW ✨
Beneath the rows, one number: the range's net delta. BULL +18% means the mass leans long; BEAR -12% means it leans short; BALANCED means the tide is slack. It's the dashboard's top row because it's the context every defense swims in.
⚡ CONVICTION & THE DATABASE ✨
Every defense carries one compact number - CONVICTION. Underneath: this chart's own live database, defenses bucketed by the shelf's dominance (owned / dominated / ruled) . That tier win rate is the base - then the score bends with the scenario: how owned the shelf is, balance alignment (defending from the side of value), kinetic fuel, absorption. Fused into one grade from 5 to 95. Hover any chip: the shelf's exact price band, who owns it and by how much, the tier's win rate and sample depth, balance, undertow, fuel. Nothing hidden.
⚡ THE SCHEDULE ✨
Every closed trade is filed by session - Asia, London, New York, off hours - and the dashboard learns which hours the defenses hold on this chart, with this logic. When the schedule has enough receipts, BEST SESSION names the shift.
⚡ BUILT-IN AUTOMATION ⚡
One alert ("Any alert() function call") + your webhook URL, and Tide speaks Trade Wzrd order strings:
⚡ Entries with SL/TP prices attached
⚡ Optional opposite-signal close prepended to new entries
⚡ TP/SL-hit close alerts that mirror the on-chart trade box
The same readable comma syntax drives automation across 7+ platforms - percent-risk or fixed-volume sizing, magic numbers, order comments. No lock-in: plain text, any endpoint.
✨ HOW TO READ IT ✨
⚡ Cyan zone below price = the band buyers own, defending longs - ownership % printed inside, price + % on the edge tag
⚡ Red zone above price = the band sellers own, defending shorts - same receipts
⚡ A zone that vanishes without a ghost = it broke: price closed clean through it. Failed levels leave no fossils
⚡ Dotted colored ghosts = fossils: shelves that handed the job off, standing until the market mitigates them
⚡ Gold dashed levels = liquidity pools: equal highs/lows where stops rest - tag shows price × touches
⚡ Gold POOL ×3 stamps = the raid: stops swept and rejected; the pool goes dotted TAKEN until it dies
⚡ A defense firing right after a sweep = the strongest setup Tide knows - conviction gets the fuel, hover says why
⚡ Dashed white line = the Point of Control, price tagged - where the most mass traded in the range
⚡ BUY · DEF 68 / SELL · DEF 71 chips = a shelf defended itself - the number is conviction
⚡ Gold diamonds = absorption: climax volume, no progress - someone ate the book right there
⚡ Dashboard: undertow, POC, shelf count, who's defending, database, best session, record, fuel
⚡ HOW TO USE ⚡
⚡ Drop it on any liquid symbol with volume, 15m to 4H - ownership maps everywhere
⚡ Let it run. The database and the session schedule start empty - they grow teeth from this chart's own history
⚡ Watch the tiers: if ruled shelves (90%+ ownership) earn more than owned ones, raise Shelf Dominance and let the weak ones go
⚡ Set Min Win Probability once the tiers have samples - cold tiers filter themselves out
⚡ Turn on Balance Alignment to defend only from the side of value
⚡ Wire one alert when you're ready to automate
✨ LIMITATIONS ✨
⚡ Buy/sell mass is estimated from where each bar closed inside its range - a proven approximation, not exchange order-flow. On symbols without volume, the profile, undertow and conviction stand down
⚡ Conviction starts from this chart's own history , tiered - a sample, not a promise. Small samples lie confidently; the hover tells you when a tier is young
⚡ The database resets when you change symbols, timeframes, or core settings - every context earns its own track record
⚡ Shelves defend best in rotation; in runaway breakouts price doesn't come back to defend anything - that's what the trade box's stop is for
Rift maps WHERE the volume traded. Tide knows WHO OWNS EVERY PRICE - and watches them defend it. Null Range knows WHERE THE VOLUME NETS TO NOTHING.
Educational shell. Not financial advice. Not a signal service.
Indicateur

SMC Liquidity Sweep Swing High/Low [JPT]🔷 OVERVIEW
Liquidity Sweep Reversal Engine is a price-action indicator designed to identify potential reversal setups after price sweeps confirmed swing highs or swing lows and rejects the liquidity level.
The indicator combines swing structure, liquidity sweep detection, rejection candles, trend confirmation, displacement, and optional volume analysis to filter potential LONG and SHORT setups.
After a confirmed signal, the indicator automatically provides a trade plan with:
• Entry level
• Stop Loss
• TP1 / TP2 / TP3
• Risk-Reward levels
• Signal score
🔷 CONCEPTS
Liquidity Sweep Detection
The indicator tracks confirmed swing highs and lows as potential liquidity areas.
• Buy-side liquidity sweep → price takes a previous swing high and rejects below it → SHORT bias.
• Sell-side liquidity sweep → price takes a previous swing low and rejects above it → LONG bias.
Rejection Confirmation
A sweep can be filtered using:
• Close back through the liquidity level
• Rejection wick
• Minimum wick percentage
• Candle direction
Trend Confirmation
An optional EMA filter helps align signals with the current market direction.
Displacement
The indicator can require a minimum candle-body size relative to ATR to help filter weak price movements.
Volume Filter
Optional relative-volume confirmation can be enabled to identify sweeps occurring with increased market participation.
🔷 FEATURES
1. Swing Liquidity Detection
• Automatic swing high/low detection
• Buy-side and sell-side liquidity levels
2. Liquidity Sweeps
• High sweep detection
• Low sweep detection
• Rejection confirmation
3. Signal Filtering
• EMA trend filter
• Displacement filter
• Optional volume filter
• Signal score from 1–5
4. Trade Management
• Automatic Entry
• ATR-based Stop Loss
• TP1 / TP2 / TP3
• Custom Risk-Reward ratios
5. Visuals
• Liquidity lines
• Swing labels
• LONG / SHORT labels
• Entry / SL / TP levels
6. Alerts
• LONG signal
• SHORT signal
• TP1 / TP2 / TP3
• Stop Loss
🔷 APPLICATIONS
1. Liquidity Sweep Reversals
Identify potential reversal opportunities after price takes liquidity above a swing high or below a swing low.
2. Market Structure Mapping
Use confirmed swing levels to visualize important liquidity areas and potential reaction zones.
3. Signal Filtering
The optional trend, displacement, volume, and score filters can help reduce weaker setups.
4. Trade Planning
The built-in Entry, Stop Loss, and multiple Take Profit levels provide a structured framework for evaluating trades.
🔷 NOTES
• Lower pivot settings generate more signals and may produce more noise.
• Higher pivot settings identify larger structural liquidity levels.
• Liquidity sweeps do not guarantee reversals.
• Signal confirmation occurs on the closed candle.
• Always evaluate signals within the broader market structure and apply appropriate risk management. Indicateur

Liquidity Reaper [JOAT]Tracks resting liquidity at swing extremes and signals the reversal when that liquidity is raided and rejected.
◆ WHAT IT IS
Price frequently pushes just beyond an obvious swing high or low — running the stops resting there — and then snaps back. Liquidity Reaper is built to detect that specific sequence: a sweep of a liquidity pool followed by a confirmed rejection , with volume backing the move. Each confirmed raid produces a reversal signal and a complete trade framework.
This is 100% original code, written from scratch. It does not copy or repackage any other author's work.
◆ HOW IT WORKS
1. Liquidity pools. Confirmed swing highs and lows (using your chosen strength) are stored as live liquidity rails — the price levels where stop orders tend to cluster. Unswept rails stay drawn on the chart; the oldest are recycled so the chart never clutters.
2. The raid. When price trades through a pool intrabar, a pending sweep opens on that side and the rail is terminated at the raid bar.
3. Confirmation. The raid only becomes a signal if, within a set confirmation window, price closes back inside the level in the opposite direction. Two extra filters keep the signal honest:
• Rejection wick — the sweep must reject with a wick of at least a configurable percentage of the candle's range, filtering shallow pokes
• Volume expansion — the raid must occur on above-average volume, so passive drifts are ignored
4. The zone. Each confirmed raid paints a swept zone across the raided range (pool level to wick extreme) — a reference area price often reacts to again.
◆ WHAT YOU SEE
• Liquidity rails at unswept swing highs (upside liquidity) and lows (downside liquidity)
• RAID BUY / RAID SELL labels showing the relative volume of the raid
• Painted swept zones on every confirmed raid
• A full TP/SL framework — entry, stop, TP1–TP3, risk/reward fills — that self-closes on a stop or final target
• A resizable dashboard reporting live pool counts each side, the nearest pool above and below with its ATR distance, pending-sweep status, raid history, and open position
◆ HOW TO USE IT
• The rails show where liquidity rests — natural draw-on-liquidity targets and reaction levels even before any signal.
• A RAID signal marks a completed sweep-and-reject; treat it as a potential reversal from that extreme.
• Swept zones are useful for re-entries and for placing stops beyond the wick.
• Works on all symbols and timeframes. Increase swing strength and the wick filter for major structure only; loosen them for active intraday sweeps.
◆ NOTES & LIMITATIONS
Use on standard candlestick charts . Sweep detection needs a genuine volume feed for the volume filter to be meaningful (disable it on symbols without volume). Signals are decision-support only — they are not financial advice and cannot guarantee a reversal will follow. Always apply your own risk management.
— made with passion by officialjackofalltrade
Indicateur

Smart Money Toolkit Pro [JPT]🔷 OVERVIEW
Smart Money Toolkit Pro is an original Pine Script® v6 indicator that combines multiple Smart Money Concepts (SMC) into one clean and powerful trading tool. It automatically detects market structure, Break of Structure (BOS), Change of Character (CHoCH), liquidity levels, liquidity sweeps, and dynamic support/resistance to help traders analyze price action with confidence.
Designed for Forex, Gold (XAUUSD), Crypto, Stocks, Indices, and Futures, the indicator provides a clear visual representation of institutional market behavior without requiring manual chart drawing.
🔷 HOW IT WORKS
The indicator continuously scans price using confirmed pivot highs and lows.
Market Structure
The script automatically identifies:
• Higher High (HH)
• Higher Low (HL)
• Lower High (LH)
• Lower Low (LL)
These labels help traders understand whether the market is trending, ranging, or reversing.
Break of Structure (BOS)
A BOS is generated when price closes beyond a previous confirmed swing in the direction of the current trend.
Bullish BOS
Price breaks above a previous Swing High.
Bearish BOS
Price breaks below a previous Swing Low.
Change of Character (CHoCH)
A CHoCH signals a potential shift in market direction.
Bullish CHoCH
Price breaks above the previous Lower High.
Bearish CHoCH
Price breaks below the previous Higher Low.
This helps traders recognize possible trend reversals early.
Liquidity Engine
The built-in liquidity engine automatically plots:
• Buy-Side Liquidity (BSL)
• Sell-Side Liquidity (SSL)
• Equal Highs (EQH)
• Equal Lows (EQL)
The indicator monitors these areas for liquidity grabs and sweep events commonly associated with institutional trading activity.
Liquidity Sweeps
The script detects:
• Buy-Side Liquidity Sweeps
• Sell-Side Liquidity Sweeps
When a sweep occurs, the indicator marks the event directly on the chart, allowing traders to identify potential reversal opportunities.
🔷 VISUAL FEATURES
• Automatic Market Structure Labels (HH, HL, LH, LL)
• Break of Structure (BOS)
• Change of Character (CHoCH)
• Buy-Side Liquidity (BSL)
• Sell-Side Liquidity (SSL)
• Equal High Detection
• Equal Low Detection
• Liquidity Sweep Detection
• Dynamic Swing High & Low Levels
• Trend Background Coloring
• Liquidity Dashboard
• Trend Dashboard
• Professional Chart Layout
• Customizable Colors
🔷 DASHBOARD
The built-in dashboard displays:
• Current Trend
• Last Confirmed High
• Last Confirmed Low
• Active Buy-Side Liquidity
• Active Sell-Side Liquidity
• Latest Liquidity Event
This provides a quick overview of current market conditions.
🔷 INPUTS
Available settings include:
• Pivot Strength
• Show Structure Labels
• Show Swing Levels
• Extend Swing Levels
• Show BOS
• Show CHoCH
• Show Liquidity
• Show Liquidity Sweeps
• Show Equal High / Low
• ATR Tolerance
• Maximum Historical Liquidity Levels
• Bullish Color
• Bearish Color
• Liquidity Colors
🔷 ALERTS
Built-in alerts are available for:
• Bullish BOS
• Bearish BOS
• Bullish CHoCH
• Bearish CHoCH
• Buy-Side Liquidity Sweep
• Sell-Side Liquidity Sweep
Alerts can be connected directly to TradingView's notification system.
🔷 COMMON WORKFLOW
A typical workflow is:
Wait for confirmed market structure (HH, HL, LH, LL).
Observe BOS or CHoCH confirmation.
Monitor Buy-Side and Sell-Side Liquidity levels.
Watch for liquidity sweeps around key swing points.
Combine confirmations with your preferred entry strategy and risk management.
🔷 MARKETS
Smart Money Toolkit Pro can be used on:
• Forex
• Gold (XAUUSD)
• Silver (XAGUSD)
• Cryptocurrency
• Stocks
• Indices
• Futures
• Commodities
Compatible with all TradingView-supported timeframes.
🔷 BEST PRACTICES
For additional confirmation, many traders combine this indicator with:
• Support & Resistance
• Supply & Demand Zones
• Order Blocks
• Fair Value Gaps (FVG)
• Fibonacci Retracement
• EMA 50 / EMA 200 Trend Filter
• Volume Analysis
• Higher Timeframe Confirmation
These concepts are optional but can enhance decision-making when used alongside market structure.
🔷 UPCOMING FEATURES
Future updates may include:
• Institutional Order Blocks
• Fair Value Gap (FVG) Detection
• Premium & Discount Zones
• Auto Fibonacci Retracement
• Multi-Timeframe Market Structure
• Entry & Exit Signals
• TP1, TP2, TP3 Auto Targets
• Stop Loss Calculation
• Risk/Reward Visualization
• Advanced Smart Money Dashboard
• Session Analysis
• Volume Confirmation
🔷 DISCLAIMER
This indicator is provided for educational and informational purposes only. It highlights market structure and liquidity concepts based on historical price action and does not predict future market movements or guarantee trading performance. Always conduct your own analysis, use proper risk management, and consider additional market factors before making trading decisions. Indicateur

Strong Gold H4 Pressure Zones | ProjectSyndicateStrong Gold H4 Pressure Zones
Strong Gold H4 Pressure Zones maps the gold trading day the way it actually moves — split into its true H4 rhythm — and reads three institutional layers on every candle slot: which parts of the session run hot, where the previous candle's wick left unfinished business, and where price gapped away from value. It is built to run on the M5 timeframe — M5 is the execution resolution the whole engine is calibrated to, while it thinks in H4, so you see the higher-timeframe structure forming live on your chart. Load it on an M5 XAUUSD chart for correct slot alignment and zone behaviour.
Most session tools just draw a box around the day. This one grades every H4 slot, projects the pressure the last candle built, and marks the gaps — all anchored to the daily candle open, identical for every trader on the planet.
🕐 True Gold-Day Slot Engine — the core. The gold day (≈23h with its 1-hour technical break) is sliced into six real periods: an H3 opening block, then five H4 candles — aligned to the actual 04:00 / 08:00 / 12:00 / 16:00 / 20:00 boundaries, not a naïve 4-hour count. Every slot is drawn as a shaded box built live from that slot's own high/low, anchored to the daily candle's open so the zones are the same in Miami, Dubai or Singapore regardless of chart timezone.
⏱️ Runs on M5 — by design. This indicator is meant to be applied on the M5 timeframe. The six H4 slots are built up tick by tick from M5 candles, and the pressure, volatility and FVG zones are all calibrated to that resolution. Apply it to an M5 chart — other timeframes will not slice the gold day correctly.
📊 20% Increment Grid — read position at a glance. Each slot box is split by horizontal guides at 0 / 20 / 40 / 60 / 80 / 100% of its range, labelled on the right. Instantly see whether price is pressing the extremes of the current H4 or coiling in the middle — the exact levels institutions lean on within a candle.
🌋 30-Day Session Volatility Profile — the rhythm read. This is not the current candle's volatility. Each of the six slots is averaged over the last 30 days and the six averages are ranked against each other 0–10, printing a fixed grade on every slot — CALM, MODERATE, HIGH, EXTREME. You learn which H4 windows of the gold session typically explode and which drift, so you size and time around the day's real character instead of guessing. The rank is static and colour-graded (calm teal → extreme purple), only drifting slowly as the rolling window updates.
🧲 Prior-Candle Pressure Zones — the wick memory. The heart of the tool. The moment a slot closes, it's read as a single composite H4 candle and its dominant wick is projected forward as a fixed pressure band inside the next slot:
A strong upper wick on the prior candle → SELL PRESSURE zone near the top (rejection from above — supply left overhead).
A strong lower wick on the prior candle → BUY PRESSURE zone near the bottom (rejection from below — demand left beneath).
Each band is graded 0–10 on wick dominance and printed with its score (▲ BUY PRESSURE 8.4/10 · ▼ SELL PRESSURE 7.2/10), opacity scaling with strength. These are fixed the instant the prior candle closes — they never repaint.
🔀 Prior-Slot Fair Value Gap — the imbalance carry-over. A true three-candle FVG detected on the H4 slots themselves (the slots are the candles), projected as a clean Fair Value Gap zone into the current slot, normalized to one uniform ATR-based height so no single gap swallows the chart. An optional gap-size filter keeps the noise out. You see the imbalance the last three candles left, drawn where it matters, without the clutter.
🎨 Fully Themed & Configurable. Volatility-graded box tones, custom buy/sell pressure and FVG colours, neutral increment grid, adjustable opacities, 2× increment and rank label sizing, per-module toggles, configurable opening-block / break / slot hours, volatility lookback, wick thresholds, FVG ATR length / extend / height, and sessions-to-plot depth.
🔒 Honest, Fixed-Zone Core. The live slot box repaints in price as the candle forms — inherent to showing a real-time H4 building on M5, not a defect. But every fixed output — the pressure bands, the FVG, the volatility rank — is locked to the prior completed candle and never redraws to flatter the chart. The 0–10 scores are descriptive ranking frameworks for directing attention, not backtested signals.
🚀 Built for XAUUSD on the M5 timeframe — the slot model matches gold's 23-hour day and 1-hour break out of the box. Use it on an M5 gold chart (adjust the hour inputs for other instruments).
🎯 How To Trade It — Pressure From The Prior H4
⏱️ Load the indicator on an M5 XAUUSD chart before anything else — the entire slot model is built for M5.
Everything hinges on one read: the last H4 candle told you where price got rejected — trade the current candle expecting that pressure to hold, or break with conviction when it fails.
◾ 1) Fade into a prior-candle pressure zone (the core thesis)
Use when the previous H4 left a strong wick and the current slot rotates back into that band.
▪️ The prior candle prints a strong lower wick → a graded BUY PRESSURE zone sits in the lower portion of the current slot. Buyers already defended there once. ▪️ Wait for price to rotate down into that band inside the current slot — ideally near the 0–20% increment level. ▪️ Entry: long as price reacts inside the buy-pressure zone; the higher the score (7+), the more the prior candle insisted on that level. ▪️ Stop: below the zone — if price closes through and accepts beneath it, the demand failed; stand aside. ▪️ Target: the mid-grid (50%) first, the opposite edge / prior-candle high on extension.
The mirror applies for a strong upper wick → SELL PRESSURE zone up top: fade rallies into it, stop above, target back down through the grid.
◾ 2) Weight it with the session profile
▪️ A pressure zone landing in a HIGH / EXTREME volatility slot means the reaction can be violent — expect follow-through and give the target room. ▪️ The same zone in a CALM slot means muted rotation — take the mid-grid and don't overstay. ▪️ The volatility rank tells you how hard the day's structure usually moves in that window before you commit.
◾ 3) Read the FVG as the pull
▪️ An unfilled Fair Value Gap projected into the current slot is where price is imbalanced — it often gets revisited. A buy-pressure zone below an open bullish FVG is confluence: rejection level plus imbalance both pointing up. ▪️ When a pressure zone and the FVG point opposite ways, that's conflict — let the slot resolve before committing.
◾ 4) Stand down — the map says wait
▪️ Prior candle closed as a clean body with no dominant wick → no pressure zone drew → no edge from rejection this slot. ▪️ Price already accepted through the pressure band → the level's spent. ▪️ CALM slot with no FVG and price mid-range → nothing worth risking on; let it develop.
Rule of thumb: ⭐ Strong prior-candle wick + price rotating into that graded pressure zone + a HIGH-volatility slot or aligned FVG → trade the rejection with the pull. ⭐ No wick, consumed zone, or dead CALM mid-range → stand down until the next candle sets the map.
⚠️ IMPORTANT NOTICE: Strong Gold H4 Pressure Zones is a structure-mapping tool designed for the M5 timeframe on XAUUSD. Pressure zones are projected from the prior H4 candle's wick geometry, the volatility rank is a 30-day per-slot average, and FVGs are drawn from three-candle gap logic — a model of behaviour, not exchange order-book data. The 0–10 scores are descriptive ranking frameworks for directing attention — NOT backtested signals and NOT standalone trade triggers. Fading into prior-candle pressure still carries real risk of failed levels and stop-outs. Always combine it with your own strategy, price-action analysis and risk management. Past behaviour does not guarantee future results. Indicateur

Strong MTF Liquidity Matrix | ProjectSyndicateStrong MTF Liquidity Matrix
Strong MTF Liquidity Matrix puts four higher-timeframe charts on one screen and reads the same institutional map on every one of them — order blocks, fair value gaps, and resting liquidity — then ranks each zone by strength so you know which level actually matters. It's a command deck: your main chart stays clean while four live mini-panels track the structure above you, and the liquidity pools that price is really hunting sit directly on your candles.
Most multi-timeframe tools make you flip between charts. This one stops the flipping.
🔲 Four-Panel MTF Engine — the core. Four independent mini-charts render right on your pane — M30 · H1 · H2 · H4 by default, each one fully configurable to any timeframe (drop to seconds or push to Daily). Every panel fetches its own higher-timeframe candles, keyed on the HTF bar's own time, so the zones are invariant to your master chart timeframe — switch your main chart from M30 to H1 to D1 and the panels don't move. The last candle in each panel tracks the live, forming HTF bar tick by tick.
🟩 Order Block Detection — real ICT logic, per timeframe. Each panel runs a swing-pivot + displacement scan: the last opposing candle before an impulsive move that clears your displacement multiple becomes the order block. Bull OBs from swing-low reversals, bear OBs from swing-high reversals — detected natively on every one of the four timeframes at once.
🟥 Fair Value Gap Detection — the imbalance map. True three-candle FVGs on each timeframe, with an optional ATR gap filter so only gaps worth trading survive. Bullish and bearish gaps rendered in the original green/red palette, distinct from the order blocks, on all four panels simultaneously.
🧲 Universal Zone Height — the accuracy differentiator. Raw OB/FVG zones come in wildly different sizes and clutter the read. Every zone is normalized to one clean height — ATR-based or a fixed percentage of price — so the panels stay legible and every zone carries equal visual weight. Fair value framed; noise removed.
🔢 0–10 Strength Ranking — the power-ranking. Every zone earns a live grade, printed inside the shaded box (OB 8.5, FVG 6.0). Order blocks score on displacement force, zone height and age; fair value gaps score on gap size versus ATR. Set a minimum strength floor and the weak zones simply don't draw — only the levels that earned attention survive.
🌊 Liquidity Heatmap — resting pools on your main chart. Buy-side and sell-side liquidity, seeded from fractal swing highs and lows across two pivot passes, drawn as heat-weighted boxes whose opacity scales with liquidity weight (volume × range). Strong pools glow, weak ones stay faint. When price trades through a pool it's consumed — the zone freezes and fades to show exactly what's already been taken. Colours locked 100% to the OB/FVG palette: buy-side green, sell-side red.
🏷️ Clean Liquidity Labels — above the zone, never in the way. Each resting pool is tagged with its side (BSL/SSL), price, weight and distance from current price — anchored above the zone at its left edge so labels never overlap the fills and never protrude past the level. Read the map without the mess.
🧹 Clean-Chart Discipline — dashboard off by default. No stat panel competing with price. The liquidity dashboard exists — nearest SSL/BSL, hottest level, pool counts, consumed tally — but it's switched off out of the box. Turn it on only if you want it.
🎨 Fully Themed & Configurable. Neutral-gray candles that let the coloured zones pop, custom OB/FVG/liquidity colours, panel size and spacing, right-offset from live price, 2× timeframe labels, per-panel OB/FVG toggles, adjustable swing length, displacement, mitigation type (Touch / Full Fill / 50% Fill), gap filter, zone-height method, strength floor, pivot lengths, heat contrast, pool extension and cap.
🔒 Honest, Non-Repainting Core. Panel history is built from confirmed higher-timeframe bars only; the live forming candle refreshes as it builds — inherent to showing a real-time HTF candle, not a defect — while every closed bar is fixed. Liquidity pools consume on confirmed interaction and don't un-consume to flatter the chart. The 0–10 strength score is a descriptive ranking framework for directing attention, not a backtested edge.
🔔 Native Alerts — new sell-side pool and new buy-side pool formation.
🎯 Why this is different. MTF tools make you tab between charts and reconcile the structure in your head. Profile tools show you liquidity and leave the map disconnected from your entries. Strong MTF Liquidity Matrix holds all four higher timeframes in view at once, marks the order blocks and fair value gaps on every one of them, grades each so you know which to trust, and lays the liquidity price is actually hunting directly on your candles — so you read where structure sits, how strong it is, and where price is being pulled, at a glance.
🚀 Apply to Gold (XAUUSD), Silver, Forex, Crypto, Indices and Futures on any timeframe (liquidity heat requires a volume-bearing symbol).
💡 Cleanest setup: give the four panels room — nudge Right Offset and the panels sit clear of live price to the right, while liquidity zones map onto the candles on the left.
🎯 How To Trade It — Two Approaches
Everything hinges on one read the Matrix gives you at a glance: is higher-timeframe structure lining up, and is price being pulled toward unfilled liquidity?
◾ 1) Trade into confluence toward liquidity (the core thesis)
Use when a high-strength zone on a higher panel lines up with a resting liquidity pool in the same direction.
▪️ Scan the four panels for a strong OB or FVG (7+) on H1/H2/H4 sitting where price is heading.
▪️ Confirm a naked liquidity pool (BSL below / SSL above) as the magnet — the untested pools are where price is drawn.
▪️ Entry: as price reaches the higher-timeframe zone, in the direction of the unfilled liquidity beyond it.
▪️ Stop: beyond the zone; if price closes through and accepts, the level failed — stand aside.
▪️ Target: the nearest resting pool in your direction; the opposite-side pool if the move extends.
⚖️ The cleanest version: H1 and H2 panels both print a strong bull OB at the same area, a fat buy-side pool sits just below unconsumed, and the M30 panel shows price rotating down into it. Structure, strength and liquidity all point the same way. That confluence is the exact setup this tool was built to frame.
◾ 2) Stand down — the map says wait
The Matrix also tells you when there's nothing to do.
▪️ Panels disagree — a bull OB on H1 against a bear FVG on H4 is conflict, not confluence. Wait for alignment.
▪️ Liquidity already consumed on your side — the magnet's gone; the pull is spent.
▪️ No strong zone in range — low scores everywhere means no level worth risking on. Let it develop.
Rule of thumb: ⭐ Aligned high-strength zones + an unfilled pool in the same direction → trade into the confluence toward the liquidity. ⭐ Conflicting panels, consumed pools, or weak scores → stand down until the map agrees.
⚠️ IMPORTANT NOTICE: Strong MTF Liquidity Matrix is a structure-and-liquidity mapping tool. Order blocks, fair value gaps and liquidity pools are drawn from swing-pivot and gap logic — a model of institutional behaviour, not exchange order-book data. Liquidity weight is inferred from volume × range and requires a volume-bearing symbol. The 0–10 strength score is a descriptive ranking framework for directing attention — NOT a backtested signal and NOT a standalone trade trigger. Trading into higher-timeframe structure still carries real risk of failed levels and stop-outs. Always combine it with your own strategy, price-action analysis and risk management. Past behaviour does not guarantee future results. Indicateur

Indicateur

Asian Range Liquidity Sweep - Kill Zone ReversalASIAN RANGE LIQUIDITY SWEEP — the complete ICT Asian Range liquidity model in one indicator
The Asia session builds a small, quiet range. London opens, runs the stops sitting above or below that range, and then walks the price the other way. That single move is one of the most repeatable things in FX, and this indicator is the full rule set for it: the range, the liquidity raid, the higher-timeframe point of interest that makes the raid tradeable, the entry, the stop, the targets — and, just as important, the days on which the raid will NOT happen.
Everything is drawn in New York time, the way the model is defined.
━━━ WHAT IT DOES ━━━
① ASIAN RANGE (20:00 – 00:00 New York)
A time based range, not a structural one. The box, its high, its low and its 50 % are projected forward into the whole trading day. The high is buy side liquidity, the low is sell side liquidity. Direction is mechanical and never inverts: above the range this model only sells, below the range it only buys.
② HIGHER TIMEFRAME POI ENGINE — the filter that decides everything
A raid of the Asian high on its own is, most of the time, a trap. The raid only becomes high probability when it lands inside a higher-timeframe point of interest. The indicator scans three timeframes at once (15m / 1h / 4h by default) for
· Fair Value Gaps
· Order Blocks
· Breaker Blocks (a demand block that price closed through and that now acts as resistance)
· Inverse Fair Value Gaps (a bullish gap that got closed through and flipped bearish)
Every zone is anchored to the exact candles that built it, is extended while it is alive, and is dropped once it is used up or once it sits too far from the daily range to matter. On top of that, the higher-timeframe structure itself has to agree: bearish structure for shorts, bullish for longs.
③ LONDON KILL ZONE (02:00 – 05:00, optional 01:30 start) — Trade 1
Between those hours the indicator waits for price to raid the Asian high (or low) INTO one of those zones. A raid is not even accepted as valid until price has traded back into a fair value gap. Then it waits for a lower-timeframe confirmation and enters at a point of interest — never at market:
· MSS + FVG — market structure shift, entry on the retracement into the gap
· CISD — change in state of delivery, entry back at the CISD level itself
· FVG tap — proximal edge on small gaps, 50 % on big ones
· HIDDEN ORDER BLOCK — the opposite-colour candle trapped between two same-direction fair value gaps. The block almost nobody marks, and the sharpest entry in the whole model
That list is a risk ladder: 1m MSS+FVG is the most aggressive and pays the most, 15m FVG is the safest, wins most often and pays the least. Pick the timeframe you actually want to trade and run the indicator there.
Stop goes on the protective structure that belongs to the entry zone. Target 1 is always the opposite side of the Asian range. Target 2 extends to the next inducement swing — the draw for the day.
④ NEW YORK KILL ZONE (07:00 – 10:00) — Trade 2, the continuation
When the London raid then breaks the OPPOSITE side of the Asian range with displacement, the London extreme is very likely the high or the low of the day. The indicator draws the optimal trade entry fibonacci over that impulse — 0.5 / 0.618 / 0.705 / 0.79 — and takes the continuation from the retracement into it, with the stop beyond 0.79 or 1.0. The setup is strongest when the origin zone was a 4h zone, because the whole day is then a 4h market-maker model running internal to external. If the draw on liquidity was already reached before New York opens, the day is flagged as low probability and skipped.
⑤ THE NO-SWEEP FILTERS — the part almost nobody explains
Two situations mean the raid you are waiting for will never come:
· HTF POI ALREADY TAPPED IN ASIA — price worked into the zone during the Asian session and then broke structure against the range. The Asian high is now protected. The indicator says so on the chart and points you at the fallbacks instead: the 50 % of the range, an internal range high (trend line liquidity), or a fair value gap built inside the Asian session.
· STRONG HIGH / STRONG LOW INSIDE THE RANGE — a sweep immediately followed by a break of structure. That extreme is protected. What looks like equal highs later on is a rejection-block reversal, not a raid. Wait for the sweep and you miss the trade.
⑥ NEWS FILTER
High-impact US news in the New York session turns London into a range or a one-way run with no reversal. Pine cannot read a news feed, so paste the dates and those days are skipped.
━━━ WHY EVERY SIGNAL EXPLAINS ITSELF ━━━
Hover any signal pill and you get the full reasoning, not a label:
the range and its size, the exact price the liquidity was raided at, which point of interest it landed in, what the higher timeframe structure was doing, which confirmation fired, whether the raid was validated by a fair value gap, plus entry, stop, both targets, risk in pips, reward in pips and the R multiple.
Setups that were found but rejected are explained too. A "NO TRADE" tag tells you the raid, the zone and the confirmation were all there but the reward did not pay for the stop — so you learn the filter instead of wondering why nothing fired.
Every zone, every structure event, the range lines, the OTE levels and both education cards carry the same kind of tooltip. There is a HOW TO READ THIS card and an honest BEFORE YOU TRADE THIS card on the chart.
━━━ COCKPIT PANEL ━━━
Live session state, symbol, chart timeframe, higher-timeframe bias, the full Asian range with a PROTECTED / OPEN flag on each side, an eight-step checklist that fills in as the setup builds, the open position with stop and target, a large status line, a rough win / loss / break-even tracker and the timestamp of the last signal.
━━━ ALERTS AND AUTOMATION ━━━
Every event fires a clean JSON payload ready for a webhook — entry, stop, both targets, the range boundaries, the point of interest that produced the signal, symbol, exchange, timeframe, volume and an optional account field. Events: ENTRY, TP1, SL, BE, SWEEP, RANGE. Five plain-language alertconditions are included as well for anybody who just wants a notification.
━━━ SETTINGS WORTH KNOWING ━━━
· Sessions are fully configurable if your broker feed needs a different reference
· Turn individual POI types and POI timeframes on and off
· Choose one confirmation model or let it take the first valid trigger
· Four stop modes, two-target management, break-even at a chosen R
· Full chart theme with navy background, mint / red candles and session shading — or switch it off and keep your own
━━━ HONEST NOTES ━━━
This model is mechanical up to the trigger. Direction is fixed and never inverts, the windows are fixed, the filters are fixed — but the final judgement, is this really the high of the session, stays discretionary. Anybody telling you a setup is 100 % mechanical is selling you something.
Expect zero to four setups a day across two pairs, roughly 20 pips average per trade, and losing days. Judge it weekly and monthly, never daily. The safest entry model fires rarely by design; the aggressive ones fire more and stop out more.
The win / loss counter in the panel is a rough on-chart tracker that assumes a fill at the marked price and resolves target before stop within the same bar. It is not a backtest and it is not a performance claim.
This indicator is a study tool. It is not financial advice.
━━━ CREDIT ━━━
The rule set follows the well-known ICT Asian-sweep model as it is taught publicly in the ICT community. The implementation, the point-of-interest engine, the no-sweep filters, the panel and the design are original work.
Open source — read it, change it, learn from it.
WHY THESE PARTS BELONG TOGETHER
The session range, the higher-timeframe point of interest and the lower-timeframe confirmation form
a single filter chain, and the model does not work with any link missing. The range supplies the
liquidity pool that is going to be raided, the higher-timeframe zone decides whether that raid is a
reversal or a trap, and the lower-timeframe trigger decides when. A raid without a zone is noise,
a zone without a raid has nothing to react to, and both without a trigger have no entry.
Indicateur

Engulfing Overlap Zone [8 Types]Engulfing Overlap Zone
This script looks for the moment control changes hands.
An engulfing pattern forms and commits one side of the market. Later that pattern breaks. On or
around the same candle, an engulfing pattern in the OPPOSITE direction confirms. When the two
structures occupy the same price area, that shared area is where one side was trapped and the
other took over. This script finds those moments and draws only that area.
Nothing else is plotted. Ordinary engulfing patterns, and engulfing patterns that simply failed,
are used internally but never drawn, because on their own they are not what this tool is about.
WHAT MAKES THIS DIFFERENT
1. It reports a transfer of control, not a pattern.
Most pattern tools mark every occurrence they find. This one requires a three step sequence to
complete before anything appears: a pattern forms, that pattern breaks, and an opposing pattern
confirms in the same price area. Any of the three missing means nothing is drawn.
2. The zone is measured, not just marked.
Two zones can touch by a hair or sit almost perfectly on top of each other. Those are very
different situations, so the script measures how much of the zone is actually shared and states
it as a percentage. You can then hide everything below a threshold you choose.
3. Everything is sorted into eight types.
The zone carries the identity of the engulfing pattern that took over, including whether that
pattern grabbed liquidity before it confirmed. Each of the eight can be shown or hidden
independently and has its own alert.
4. The hard part is the pairing.
When a pattern breaks there is often more than one opposing pattern nearby that could be its
counterpart. Picking the right one, and rejecting the ones that only look related, is what this
script is really about. The rule used is simple to state and is described below, but it is the
piece that decides whether the output is meaningful or noise.
THE PATTERNS INVOLVED
A candle is Green when close is greater than open, Red when close is less than open, and a Doji
when close equals open. A Doji is neither. Only fully closed candles are read, and the running
candle is never used.
Regular engulfing, two candles
R Buy EG: Red Base candle, and the very next candle is Green and closes above the Base High.
R Sell EG: Green Base candle, and the very next candle is Red and closes below the Base Low.
E-Regular engulfing, three or more candles
ER Buy EG: Red Base candle followed by a run of consecutive Green candles. The run must contain
at least 2 Green candles, and confirmation happens when one of them closes above the Base High.
A single Red candle before confirmation cancels the run. Doji candles are skipped: they neither
count toward the run nor break it.
ER Sell EG: the mirror image, with a Green Base and a run of at least 2 Red candles, one of
which closes below the Base Low.
If the very first candle after the Base already closes through it, that is by definition a
Regular pattern, so E-Regular requires the second candle or later to break the level. One Base
candle can never produce both.
Type 1, the same four patterns plus a liquidity sweep
Type 1 adds one requirement: before the close breaks through one side of the Base candle, price
must have traded through the opposite side.
T1 R Buy EG: the Confirm candle's Low reaches at or below the Base Low.
T1 R Sell EG: the Confirm candle's High reaches at or above the Base High.
T1 ER Buy EG: at least one Green candle of the run reaches at or below the Base Low.
T1 ER Sell EG: at least one Red candle of the run reaches at or above the Base High.
Any candle of the run can satisfy the sweep, including the Confirm candle itself. The sweep is
always measured against the Base candle, never against another candle in the run.
HOW AN OVERLAP ZONE IS BUILT
Step 1. A pattern confirms and is tracked from then on.
Step 2. The pattern breaks. A Buy Engulfing breaks when a Red candle CLOSES below its Base Low.
A Sell Engulfing breaks when a Green candle CLOSES above its Base High. A wick through the level
is not enough; the close has to settle beyond it.
Step 3. The script looks for an engulfing pattern in the opposite direction whose confirmation
lands on the breaking candle, or as close before it as possible, and whose zone shares both time
and price with the broken one. Where several candidates exist, the one closest to the break is
taken, because that is the one that actually represents the handover.
When all three steps line up, one zone is drawn: the price range of the Base candle of the
pattern that took over, running from that Base candle to its Confirm candle.
The eight resulting types are R Buy EG Overlap, R Sell EG Overlap, ER Buy EG Overlap, ER Sell EG
Overlap and the four Type 1 versions of the same. The type always describes the pattern that
took over, because that is the zone on your chart.
OVERLAP STRENGTH
Strength is the share of the drawn zone that sits inside the price range of the broken zone.
100 percent means the whole zone is shared, which is the tightest possible confluence. A small
number means the two structures barely reach each other. The figure is appended to each label,
and Minimum Overlap Strength lets you discard anything below a level you set. That threshold
applies to the chart, the summary table and the alerts together, so what you see and what you
are notified about never disagree.
READING THE CHART
Each zone is filled in two tones, and the split is the whole point:
- The part that shares price with the broken zone is drawn in the direction colour, green for a
Buy Overlap and red for a Sell Overlap, with a solid border. This is the confluence.
- Whatever is left over is drawn in neutral yellow with no border.
So the colour split you see is the strength figure, shown rather than stated. A zone that is
almost entirely green is strong. A zone with a thin green sliver and a large yellow body is
weak, and the percentage will say so.
Each zone carries a label with its type and strength, placed below a Buy Overlap and above a
Sell Overlap so it points at its own zone.
A summary table in the corner counts what was found in the current scan window, split by Buy and
Sell. Types you have switched off are still counted, so the table always reflects what the market
printed rather than what is currently on screen. Zones rejected by the strength threshold are not
counted, because that threshold decides what qualifies as a zone at all.
SETTINGS
Scan
- Scan Length: how many closed candles are scanned backwards. The running candle is always
excluded.
- Minimum Overlap Strength: the percentage a zone must reach to qualify.
Pattern Types
- An individual switch for each of the eight types.
Zone Style
- Separate colours for the shared area and the remaining area, on both the Buy and Sell side.
Labels
- Show Labels, Show Strength in Label, Label Size, and Label Distance from Zone as a percentage
of the zone height. Increase the distance on noisy charts so labels clear the candles.
Summary Table
- Show, position and size of the corner table.
ALERTS
Eight alert conditions are available, one per type:
R Buy EG Overlap, R Sell EG Overlap, T1 R Buy EG Overlap, T1 R Sell EG Overlap, ER Buy EG
Overlap, ER Sell EG Overlap, T1 ER Buy EG Overlap, T1 ER Sell EG Overlap.
An alert fires on the candle that completes the handover. Each message carries the type, the
symbol, the timeframe and the closing price. The same messages are also sent through the alert
function, so the "Any alert() function call" alert type can deliver every zone through a single
alert.
All alerts are evaluated only after a candle has fully closed.
If you read the source, note that the chart and the alerts are two separate paths. The chart is
rebuilt by scanning history backwards on the last bar, while the alerts keep a running list of
confirmed patterns and test each closed candle against it. Two paths are used because rescanning
the whole history on every bar would be far too slow, and a running list cannot redraw the past.
Both apply exactly the same rules and the same strength threshold, so they always agree.
REPAINTING
This script does not repaint.
- Detection reads confirmed candles only. The scan starts one bar behind the latest bar, so the
candle that is still forming is never part of any calculation.
- Every alert signal is written so that it can only become true once a candle has finished. Price
moving inside an open candle cannot make a signal appear and then disappear.
- Zones are rebuilt on the last bar from confirmed history. A drawn zone does not move, change
colour, change type or change its strength figure afterwards. It only leaves the chart when it
falls outside the Scan Length window.
When you create an alert, TradingView may show a caution banner saying the indicator can repaint.
That banner appears automatically for any script that uses the built in bar state variables, no
matter how they are used, because the platform cannot check the intent behind them. This script
uses them for the opposite purpose: one of them is what restricts every signal to bar close, and
the other is what redraws the zones efficiently on the final bar. Choosing "Once Per Bar Close"
when creating the alert is still recommended.
NOTES AND LIMITATIONS
- These zones are rare by design. Three separate conditions have to line up, so long stretches
with nothing on the chart are normal and expected. If you want to see more, lower the strength
threshold before raising the scan length.
- Scan Length is capped lower than in a plain pattern scanner. Every candidate pattern has to be
followed forward for a break and then matched against opposing patterns, which is far heavier
than simply detecting a pattern. The cap keeps the script responsive on slower machines.
- A zone whose Base candle falls outside the scan window will not appear even if the handover
itself was recent. If zones seem to be missing, raise the Scan Length before changing anything
else.
- For alerts the number of patterns tracked at once is capped and the oldest are released first.
In practice patterns break or age out long before this matters.
- Detection is purely structural. It reports where control changed hands and how much the two
structures shared. It does not rank zones beyond that, measure what happened afterwards, or
produce entries, targets or stops.
- Doji candles are treated as neutral by design. They never act as a Base candle and never break
an E-Regular run. On symbols and timeframes that print many Doji candles this makes runs
slightly more tolerant than a strict same colour rule would be.
HOW TO USE IT
A zone marks an area where one side committed, was proven wrong, and was immediately replaced by
the other side. Traders commonly watch these areas for reactions when price returns to them,
particularly the shared portion, since that is the part both structures agreed on.
The strength figure is there to let you be selective. Starting at zero shows everything so you
can see how the tool behaves on your symbol and timeframe, and raising it narrows the output to
the tighter confluences.
Type 1 zones are worth separating out. There the pattern that took over first grabbed liquidity
and only then confirmed, which is a different sequence from a clean takeover.
These are reference areas, not entry signals. Use them alongside higher timeframe structure, your
own support and resistance mapping, and proper risk management.
DISCLAIMER
This indicator is a pattern detection tool. It is not financial advice and it makes no claim
about profitability. Trading involves risk. Always apply your own analysis and risk management. Indicateur

ICT Entry Model Liquidity Sweep, MSS & FVG [LunqFX]A smart-money entry is never a single signal — it is a sequence. Price runs the stops beyond a swing, structure shifts the other way, and the entry is taken from the imbalance that shift left behind. Most ICT indicators draw one of those pieces and leave you to assemble the rest by hand. This one tracks the whole sequence live and finishes it with an actual trade: entry, stop, target and a quality score that tells you whether the setup was worth taking at all.
❶ THE FOUR STAGES
▸ LIQUIDITY SWEEP — price trades beyond a swing high or low, takes the stops resting there, and closes back inside. The sweep is marked and the level it raided is drawn. This is the manipulation leg, and it is where the stop for the trade will sit.
▸ MSS (MARKET STRUCTURE SHIFT) — after the sweep, price closes through the last short-term swing in the opposite direction. This is the confirmation that the sweep was a reversal and not a continuation. Note that the shift is measured against internal structure, not the major swing: waiting for a major swing to break would put the entry far too late, which is the single most common mistake in automated ICT tools.
▸ FVG ENTRY — the displacement that broke structure leaves a three-candle imbalance. That gap is the entry zone, drawn as a box, because price commonly returns to fill it before continuing.
▸ RISK AND TARGET — the stop goes beyond the sweep extreme, the target is your chosen R multiple. Both are drawn as filled zones running back to the entry, so the whole trade reads as one object instead of a set of loose lines.
❷ SETUP QUALITY 0–100
Not every sequence deserves a trade, and this is where the indicator does something no other entry tool does. Every setup is graded on four measurable properties:
▸ SWEEP DEPTH — how far beyond the level price actually ran, in ATR. A deeper raid means more stops were genuinely taken. ▸ DISPLACEMENT — how decisively the structure was broken, in ATR. A weak break is a weak setup. ▸ FVG SIZE — how large the imbalance is. A bigger gap is a stronger entry. ▸ SPEED — how quickly the shift followed the sweep. A fast reversal is aggressive; a slow one has lost its edge.
The four are blended into a single 0–100 score shown on every entry tag and in the dashboard. Set the minimum quality in the settings and weak sequences simply stop being drawn — you trade the good ones instead of every arrow.
❸ HOW TO TRADE IT
1 — Wait for the SWEEP marker. The dashboard turns amber and reads SWEEP · WAITING MSS. Nothing to do yet: the manipulation has happened but it is not confirmed.
2 — Wait for MSS. When structure shifts, the setup is drawn and the dashboard turns green for a long or red for a short. If structure does not shift within the allowed window, the sweep is discarded and the model resets — no stale signals.
3 — Check the quality score before committing. High scores come from a deep sweep, a decisive break and a clean imbalance. If the number is low, the sequence was technically valid but structurally weak.
4 — Place the trade from the ticket. Entry at the FVG edge, stop beyond the sweep, target at your R multiple. The dashboard shows all three plus the exact risk in price, so the position size follows directly.
5 — Let price come to you. The FVG is a limit entry, not a market entry. If price never returns to the gap, the setup is simply skipped — that is the model working as intended.
❹ HOW IT WORKS
Liquidity swings and internal structure are detected with confirmed pivots, so a level only exists once the bars on both sides of it have closed. A sweep requires a bar to trade beyond the swing and close back inside it, and it is only registered when the shift level is still unbroken — otherwise the sequence could confirm itself on the very next bar. The structure shift requires a close through that internal level within your chosen window. The imbalance is found in the displacement leg using the standard three-candle definition. The stop is the sweep extreme, the target is the entry plus or minus the risk times your R multiple, and setups whose stop would be smaller than a fraction of ATR are rejected as untradeable. The quality score is a weighted blend of the four properties above, each normalised by ATR so the score behaves the same on every symbol and timeframe.
Works on any market and timeframe — forex, gold, indices, crypto and stocks. Intraday charts from 5m to 4h suit the model best, since that is where liquidity raids and structure shifts happen most often.
SETTINGS — liquidity swing length, internal structure length, maximum bars from sweep to shift, R multiple for the target, minimum stop distance, minimum quality, number of setups kept, level extension, FVG and level visibility, candle colouring and dashboard position.
ALERTS — long setup confirmed, short setup confirmed, and any setup confirmed. All fire on closed bars only.
NON-REPAINTING — every stage is validated on bar close and built from confirmed pivots. A setup that has printed never moves, never changes its levels and never disappears.
The four stages are not four indicators bundled together — they are four steps of one entry model, and none of them is tradeable alone. The sweep without the shift is just a wick; the shift without the sweep is just a break; the imbalance without either is just a gap. That is why they belong in a single tool.
This indicator is an educational market-analysis tool, not financial advice. The quality score describes the structure of a setup and does not predict its outcome. Always confirm with your own analysis and manage your risk. Indicateur

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. TradingView 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. Indicateur

Engulfing Failed Zone [8 Types]Engulfing Failed Zone
Most engulfing tools show you where a pattern formed. This one shows you where it broke.
The script finds confirmed engulfing patterns and then keeps watching them. When price later
closes back through the far side of the pattern's Base candle, the pattern is invalidated and
the area it occupied is drawn as a failed zone, from the Base candle to the exact candle that
broke it.
A failed pattern is not noise. It marks a level where one side committed, was proven wrong,
and left an area behind that price often reacts to again.
WHAT MAKES THIS DIFFERENT
1. It tracks invalidation, not formation.
A normal engulfing indicator stops working the moment the pattern prints. This script treats
the pattern as an open structure and follows it forward until something breaks it. Only the
broken ones are drawn, so the chart shows failures rather than signals.
2. Failure is defined by the close, not by a wick.
A candle may spike through the Base candle and recover. That is not a failure here. The
breaking candle has to CLOSE beyond the level, and it has to be the correct color: a Red
candle closing below the Base Low breaks a Buy Engulfing, a Green candle closing above the
Base High breaks a Sell Engulfing.
3. Failed zones are sorted into eight types, not two.
The failure inherits the identity of the pattern that failed. A liquidity sweep engulfing that
fails is a different event from a plain two candle engulfing that fails, and the script keeps
them separate so you can study or filter them independently.
4. Only the first failure is drawn.
Once a pattern breaks, it is done. Later candles closing through the same level are not drawn
again, which keeps the chart readable instead of stacking boxes on one level.
THE PATTERNS BEING TRACKED
A candle is Green when close is greater than open, Red when close is less than open, and a
Doji when close equals open. A Doji is neither. Only fully closed candles are read, and the
running candle is never used.
Regular engulfing (2 candles)
R Buy EG
Red Base candle, and the very next candle is Green and closes above the Base candle's High.
R Sell EG
Green Base candle, and the very next candle is Red and closes below the Base candle's Low.
E-Regular engulfing (3 or more candles)
ER Buy EG
Red Base candle followed by a run of consecutive Green candles. The run must contain at least
2 Green candles, and confirmation happens when one of them closes above the Base candle's
High. A single Red candle appearing before confirmation cancels the run. Doji candles are
skipped: they neither count toward the run nor break it.
ER Sell EG
Green Base candle followed by a run of at least 2 consecutive Red candles, one of which closes
below the Base candle's Low. A single Green candle cancels the run. Doji candles are skipped.
If the very first candle after the Base already closes through it, that is by definition a
Regular pattern, so E-Regular requires the second candle or later to break the level. One Base
candle can therefore never produce both a Regular and an E-Regular pattern.
Type 1: the same four patterns plus a liquidity sweep
Type 1 adds one requirement. Before the close breaks through one side of the Base candle,
price must have traded through the opposite side.
T1 R Buy EG
An R Buy EG where the Confirm candle's Low is at or below the Base candle's Low.
T1 R Sell EG
An R Sell EG where the Confirm candle's High is at or above the Base candle's High.
T1 ER Buy EG
An ER Buy EG where at least one Green candle in the run has a Low at or below the Base
candle's Low. Any candle of the run qualifies, including the Confirm candle itself.
T1 ER Sell EG
An ER Sell EG where at least one Red candle in the run has a High at or above the Base
candle's High. Any candle of the run qualifies, including the Confirm candle itself.
The sweep is always measured against the Base candle, never against another candle in the run.
WHAT COUNTS AS A FAILURE
After a pattern confirms, the script scans forward one candle at a time.
A Buy Engulfing fails when a Red candle closes strictly below the Base candle's Low.
A Sell Engulfing fails when a Green candle closes strictly above the Base candle's High.
The scan begins on the candle after the Confirm candle, so a pattern is never judged by its
own confirmation. The first candle that meets the condition becomes the Failure candle, and
the zone is drawn from the Base candle across to it. Nothing is drawn for patterns that are
still intact.
That gives eight failed zone types in total: R Buy EG Failed, R Sell EG Failed, ER Buy EG
Failed, ER Sell EG Failed, and the four Type 1 versions of the same.
READING THE CHART
Each failed pattern draws a rectangle covering the Base candle's full High to Low range,
stretched horizontally from the Base candle to the candle that broke it.
Colors follow the OUTCOME, not the original direction. This is worth reading twice:
- A Buy Engulfing that failed is drawn in the bearish color. The buyers committed and lost, so
the area above is now resistance, and its label sits above the zone.
- A Sell Engulfing that failed is drawn in the bullish color. The sellers committed and lost,
so the area is now support, and its label sits below the zone.
In other words the zone is colored by who is in control after the failure, which is the
information you actually trade from.
The border tells you which pattern failed:
Solid border: a Regular pattern, confirmed by the very next candle
Dashed border: an E-Regular pattern, confirmation was delayed over several candles
Thin, softened border: a plain pattern, no sweep
Thick, crisp border: Type 1, a liquidity sweep occurred before confirmation
Type 1 zones are also filled more solidly, so the stronger patterns stand out when several
zones sit close together.
A separate line marks the broken edge of the Base candle: the Low for a failed Buy Engulfing,
the High for a failed Sell Engulfing. This shows at a glance which side of the pattern gave
way, and it is the level price most often returns to.
Each zone carries a label with its pattern tag, pointing at its own zone, so it is always
clear which label belongs to which rectangle.
A summary table in the corner counts how many of each type were found in the current scan
window, split into Buy EG and Sell EG columns. The counts include types that are currently
hidden, so the table always reflects what the market actually printed rather than what is
switched on.
SETTINGS
Scan
- Scan Length: how many closed candles are scanned backwards from the latest bar. The running
candle is always excluded.
Pattern Types
- An individual on and off switch for each of the eight failed zone types.
Zone Style
- Buy EG Failed Zone and Sell EG Failed Zone: the two zone colors. Defaults follow the outcome
logic described above.
- Zone Transparency: fill transparency of a plain Regular or E-Regular failed zone.
- Type 1 Extra Opacity: how much more solid Type 1 zones are filled compared to the value
above.
- Highlight Broken Edge, and its color: marks the side of the Base candle price closed
through.
Labels
- Show Labels, Label Size, and Label Distance from Zone as a percentage of the Base candle
height. Increase the distance on noisy charts so labels clear the candles.
Summary Table
- Show, position, and size of the corner table.
ALERTS
Eight alert conditions are available, one per failed zone type:
R Buy EG Failed, R Sell EG Failed, T1 R Buy EG Failed, T1 R Sell EG Failed, ER Buy EG Failed,
ER Sell EG Failed, T1 ER Buy EG Failed, T1 ER Sell EG Failed.
An alert fires on the candle that completes the failure. Each message carries the pattern tag,
the symbol, the timeframe and the closing price. The script also sends the same messages
through the alert function, so the "Any alert() function call" alert type can deliver every
failure through a single alert.
All alerts are evaluated only after a candle has fully closed.
Internally, every confirmed engulfing is held in a list and each closed candle is checked
against that list. This is what allows a failure to be reported the moment it happens, without
rescanning the whole history on every bar.
REPAINTING
This script does not repaint.
- Detection reads confirmed candles only. The scan starts one bar behind the latest bar, so
the candle that is still forming is never part of any calculation.
- Every alert signal is written so that it can only become true once a candle has finished.
Price moving inside an open candle cannot make a signal appear and then disappear.
- Zones are rebuilt on the last bar using confirmed history. A drawn zone does not move,
change color or change type afterwards. It only leaves the chart when it falls outside the
Scan Length window.
When you create an alert, TradingView may show a caution banner saying the indicator can
repaint. That banner appears automatically for any script that uses the built in bar state
variables, no matter how they are used, because the platform cannot check the intent behind
them. This script uses them for the opposite purpose: one of them is what restricts every
signal to bar close, and the other is what redraws the zones efficiently on the final bar.
Choosing "Once Per Bar Close" when creating the alert is still recommended.
NOTES AND LIMITATIONS
- Nothing is drawn for a pattern that has not failed. An empty chart means the engulfing
patterns in that window are all still intact, which is information in itself.
- Increasing Scan Length raises the number of drawing objects. TradingView caps these at 500
boxes, 500 labels and 500 lines, and the oldest objects are dropped once a cap is reached.
The default value is chosen to stay well inside those limits on normal charts.
- A very short Scan Length can hide zones whose Base candle sits outside the window even
though the failure is recent. If failures seem to be missing, raise the Scan Length.
- For alerts, the number of patterns tracked at once is capped, and the oldest are released
first. In practice patterns fail or age out long before this matters.
- Detection is purely structural. It reports where a pattern broke and nothing more. It does
not rank failures by quality, measure what happened afterwards, or produce entries, targets
or stops.
- Doji candles are treated as neutral by design. They never act as a Base candle and never
break an E-Regular run. On symbols and timeframes that print many Doji candles this makes
runs slightly more tolerant than a strict same color rule would be.
HOW TO USE IT
A failed engulfing zone marks a level where one side of the market committed and was proven
wrong. Traders commonly watch these areas for:
- Broken supply and demand zones that price returns to and respects from the other side
- Areas where a reversal attempt was flushed out before the move continued
- Momentum shifts, since a failed reversal often precedes a strong continuation
Type 1 failed zones are worth separating out. There the pattern first grabbed liquidity, then
confirmed, and then still failed, which is a different story from a clean pattern simply being
overrun.
These zones are reference areas, not entry signals on their own. Use them alongside higher
timeframe structure, your own support and resistance mapping, and proper risk management.
DISCLAIMER
This indicator is a pattern detection tool. It is not financial advice and it makes no claim
about profitability. Trading involves risk. Always apply your own analysis and risk management. Indicateur

Engulfing Zone [8 Types]Engulfing Zone
A price action tool that scans closed candles for engulfing behavior and draws the exact zone
each pattern creates, from the candle that sets the level to the candle that breaks it.
Instead of treating "engulfing" as one generic signal, this script separates it into eight
distinct types and reports every pattern under exactly one of them, so what you see on the
chart is never double counted.
WHAT MAKES THIS DIFFERENT FROM A STANDARD ENGULFING INDICATOR
1. Engulfing is measured by the CLOSE, not by body overlap.
Most engulfing scripts check whether one candle's body covers the previous candle's body.
This script requires the Confirm candle to CLOSE beyond the Base candle's High or Low, wick
included. A candle that merely covers the body but closes back inside the Base range is not
accepted. This is a stricter definition and it filters out a large number of weak signals that
body based detection would report.
2. Confirmation is allowed to be delayed.
A classic engulfing pattern is strictly two candles. In real markets the reaction is often
spread over several candles: a base forms, price pushes in the opposite direction for a few
bars, and only then does a close break the base level. This script detects those extended
setups as their own category rather than ignoring them.
3. Liquidity sweeps are identified as a separate class.
Sometimes the candles that produce the engulf first trade through the far side of the Base
candle, taking out the stop orders resting there, and only then close through the opposite
side. That behavior is meaningfully different from a clean engulf, so it is detected and
labelled separately as Type 1.
THE EIGHT PATTERNS
Throughout, a candle is Green when close is greater than open, Red when close is less than
open, and a Doji when close equals open. A Doji is neither Green nor Red, and is handled
explicitly. Only fully closed candles are read. The running candle is never used.
Regular (2 candles)
R Buy EG
Base candle is Red
The very next candle is Green
That Green candle closes above the Base candle's High
R Sell EG
Base candle is Green
The very next candle is Red
That Red candle closes below the Base candle's Low
E-Regular (3 or more candles)
ER Buy EG
Base candle is Red
It is followed by a run of consecutive Green candles
The run must contain at least 2 Green candles
Confirmation happens when one of those Green candles closes above the Base candle's High
A single Red candle appearing before confirmation cancels the run entirely
Doji candles are skipped: they neither count toward the run nor break it
ER Sell EG
Base candle is Green
It is followed by a run of consecutive Red candles
The run must contain at least 2 Red candles
Confirmation happens when one of those Red candles closes below the Base candle's Low
A single Green candle appearing before confirmation cancels the run entirely
Doji candles are skipped
If the very first candle after the Base already closes through it, that is by definition a
Regular pattern, so E-Regular requires the second candle or later to be the one that breaks
the level. Regular and E-Regular can therefore never both fire from the same Base candle.
Type 1: the same four patterns plus a liquidity sweep
Type 1 adds one requirement on top of the rules above. Before the close breaks through one
side of the Base candle, price must have traded through the opposite side.
T1 R Buy EG
An R Buy EG where the Confirm candle's Low is at or below the Base candle's Low.
T1 R Sell EG
An R Sell EG where the Confirm candle's High is at or above the Base candle's High.
T1 ER Buy EG
An ER Buy EG where at least one Green candle in the run has a Low at or below the Base
candle's Low. Any candle of the run qualifies, including the Confirm candle itself.
T1 ER Sell EG
An ER Sell EG where at least one Red candle in the run has a High at or above the Base
candle's High. Any candle of the run qualifies, including the Confirm candle itself.
The sweep is always measured against the Base candle, never against another candle in the run.
HOW A PATTERN IS CLASSIFIED
Every detected pattern is reported once, under its strongest matching type.
A Regular pattern that also swept is reported as T1 R and is not additionally reported as R.
An E-Regular pattern that also swept is reported as T1 ER and is not additionally reported as
ER. This means:
One pattern produces exactly one zone on the chart, never two stacked on top of each other
The summary table counts each pattern once
Turning off a type hides only that type and never silently hides another
Because Type 1 is a stricter version of its plain counterpart, hiding the plain types and
keeping the Type 1 types visible is a straightforward way to see only the sweep driven setups.
READING THE CHART
Each detected pattern draws a rectangle covering the Base candle's full High to Low range,
stretched horizontally from the Base candle to the Confirm candle. The rectangle is styled so
that its type can be read without looking at the label:
Solid border: Regular, confirmed by the very next candle
Dashed border: E-Regular, confirmation was delayed over several candles
Thin, softened border: a plain pattern, no sweep
Thick, crisp border: Type 1, a liquidity sweep occurred
Type 1 zones are also filled more solidly than plain zones, so stronger patterns stand out
when several zones sit close together.
On a Type 1 zone, a dotted line marks the exact Base level that was raided before the break:
the Base Low on the Buy side, the Base High on the Sell side. This makes the liquidity grab
visible instead of leaving it implied.
Each zone carries a label showing its pattern tag. Labels point at their own zone, below and
pointing up for Buy patterns, above and pointing down for Sell patterns, so it is always clear
which label belongs to which rectangle.
A summary table in the corner shows how many of each type were found inside the current scan
window, split into Buy and Sell columns. The table counts every detected pattern, including
types that are currently hidden, so it always reflects what the market actually printed rather
than what is currently switched on.
SETTINGS
Scan
Scan Length: how many closed candles are scanned backwards from the latest bar.
The running candle is always excluded.
Pattern Types
An individual on and off switch for each of the eight types.
Zone Style
- Bullish Zone and Bearish Zone: the two base colors used for all Buy and all Sell zones.
- Zone Transparency: fill transparency of a plain Regular or E-Regular zone.
- Type 1 Extra Opacity: how much more solid Type 1 zones are filled compared to the value
above.
- Mark Swept Level: draw the dotted line on the raided Base level of Type 1 zones.
- Swept Level Color: color of that line.
Labels
- Show Labels, Label Size, and Label Distance from Zone as a percentage of the Base candle
height. Increase the distance on noisy charts so labels clear the candles.
Summary Table
- Show, position, and size of the corner table.
ALERTS
Eight alert conditions are available, one per pattern type:
R Buy EG, R Sell EG, T1 R Buy EG, T1 R Sell EG, ER Buy EG, ER Sell EG, T1 ER Buy EG,
T1 ER Sell EG.
Each message carries the pattern tag, the symbol, the timeframe and the closing price. The
script also sends the same messages through the alert function, so the "Any alert() function
call" alert type can be used to receive every pattern through a single alert.
All alerts are evaluated only after a candle has fully closed.
REPAINTING
This script does not repaint.
- Detection reads confirmed candles only. The zone scan starts one bar behind the latest bar,
so the candle that is still forming is never part of any calculation.
- Every alert signal is written so that it can only become true once a candle has finished.
Price moving inside an open candle cannot make a signal appear and then disappear.
- Zones are rebuilt on the last bar using confirmed history. A zone that has been drawn does
not move or change type afterwards. It only leaves the chart when it falls outside the Scan
Length window.
When you create an alert, TradingView may show a caution banner saying the indicator can
repaint. That banner appears automatically for any script that uses the built in bar state
variables, no matter how they are used, because the platform cannot check the intent behind
them. This script uses them for the opposite purpose: one of them is what restricts every
signal to bar close, and the other is what redraws the zones efficiently on the final bar.
Choosing "Once Per Bar Close" when creating the alert is still recommended.
NOTES AND LIMITATIONS
- The script draws on the last bar only. Increasing Scan Length raises the number of drawing
objects. TradingView caps these at 500 boxes, 500 labels and 500 lines, and the oldest
objects are dropped once a cap is reached. The default value is chosen to stay well inside
those limits on normal charts.
- Detection is purely structural. It reports where a pattern occurred and nothing more. It
does not rank patterns by quality, measure follow through, or produce entries, targets or
stops.
- Doji candles are treated as neutral by design. They never act as a Base candle and never
break an E-Regular run. On symbols and timeframes that print many Doji candles this makes
runs slightly more tolerant than a strict same color rule would be.
HOW TO USE IT
The zones mark where one side of the market decisively lost control of a level. They are
reference areas, not entry signals on their own. Common approaches are to watch how price
behaves when it returns to a zone, or to use zone direction as context alongside higher
timeframe structure, support and resistance levels, or trend direction.
Type 1 zones deserve particular attention, because the sweep tells you the move happened after
liquidity was taken rather than before.
DISCLAIMER
This indicator is a pattern detection tool. It is not financial advice and it makes no claim
about profitability. Trading involves risk. Always apply your own analysis and risk management. Indicateur

Liquidity Sweep Reversal & Continuation A liquidity-sweep detector that classifies each sweep into a Reversal or Continuation setup, with a live dashboard and built-in entry signals.
Overview
This indicator tracks recent swing highs and lows as active liquidity levels — the pools of resting stop orders that tend to sit just beyond obvious structure. When price wicks beyond one of those levels and closes back inside it, that's flagged as a liquidity sweep (a stop hunt), and the level is removed from tracking since it's been used.
What makes a sweep useful for trading is context: the same sweep can mean two very different things depending on the broader trend.
A sweep against the prevailing higher-timeframe trend is treated as a Reversal setup — often a sign of exhaustion or a stop-hunt marking a turn.
A sweep with the prevailing higher-timeframe trend is treated as a Continuation setup — a shakeout before the trend resumes.
How it works
Liquidity levels — pivot-based swing highs/lows are plotted as dashed lines and tracked until swept.
Sweep detection — a wick beyond a level followed by a close back inside it triggers a sweep event.
Confirmation filters (all optional/toggleable):
Displacement candle — requires real conviction in the sweep candle's body, measured against ATR.
Volume spike — requires above-average participation on the sweep.
Follow-through confirmation — waits for price to break beyond the sweep candle's high/low within a configurable number of bars before actually firing a signal, rather than firing on the wick alone.
Trend context — an EMA-based bias, either local or from a higher timeframe, determines whether a confirmed sweep gets classified as Reversal or Continuation.
Signal quality grading — each fired signal is graded High/Medium/Low based on how many confirmation factors (displacement, volume, ADX alignment) lined up.
Dashboard
Shows the current trend context, the most recent sweep and its price level, whether a signal is currently pending follow-through confirmation, ADX/volume readings, the last signal fired and its quality grade, and running daily counts of reversal vs. continuation signals by direction.
Inputs
Every stage is configurable: pivot lookback and max tracked levels, trend context source (local EMA or HTF EMA) and timeframe, displacement/volume/follow-through confirmation toggles and thresholds, ADX length and trend-strength threshold, and dashboard placement/size.
How to use it
This is a discretionary tool for reading liquidity-driven price action, not a standalone automated system:
Use the Trend Context row to understand what a fresh sweep would mean before it happens.
Treat Reversal signals as higher-risk, contrarian setups — they work best with strong confirmation (high signal quality, ADX alignment) rather than on the wick alone.
Treat Continuation signals as lower-risk, trend-following setups — a shakeout in the direction of the existing trend.
Use the Signal Quality grade to filter out weaker setups rather than acting on every marker.
As with any price-action tool, sweep frequency and quality vary significantly by instrument, timeframe, and the pivot/confirmation settings chosen — backtest and forward-test before trading it live.
Concepts used
This script implements the widely-used "liquidity sweep" / stop-hunt concept found across smart-money and price-action trading methodologies — the idea that price often trades just beyond obvious swing highs/lows to trigger resting stop orders before reversing or continuing. The pivot detection, sweep logic, confirmation filters, trend-context classification, and dashboard are an original implementation built specifically for this script.
Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance of any setup or strategy does not guarantee future results. Always do your own research and risk management before trading. Indicateur

Liquidity Sweep Engine Auto Targets [JPT]🔷 OVERVIEW
Liquidity Sweep Engine Auto Targets is an original Pine Script v5 indicator that detects liquidity sweep events using confirmed swing highs and swing lows. Once a valid sweep is identified, the indicator automatically builds a complete trade framework by plotting the Entry, Stop Loss, and multiple Take Profit levels directly on the chart.
The goal is to simplify market structure analysis and provide a clear visual trade plan without requiring manual calculations.
🔷 HOW IT WORKS
The indicator continuously monitors confirmed swing highs and swing lows to identify potential liquidity grabs.
Buy Setup
A bullish setup is generated when price sweeps below a previous swing low and closes back above the swept level (optional close confirmation).
After confirmation, the indicator automatically calculates:
• Entry Price
• Stop Loss
• TP1
• TP2
• TP3
Sell Setup
A bearish setup is generated when price sweeps above a previous swing high and closes back below the swept level.
The indicator then projects:
• Entry Price
• Stop Loss
• TP1
• TP2
• TP3
using user-defined Risk:Reward ratios.
🔷 VISUAL FEATURES
• Buy-side Liquidity Sweep labels
• Sell-side Liquidity Sweep labels
• Automatic Entry line
• Automatic Stop Loss line
• Three configurable Take Profit levels
• Historical trade setup visualization
• Risk-to-Reward projection
• Optional background highlighting
• Configurable line length
• Customizable colors
🔷 AUTO TARGET ENGINE
The built-in Auto Target Engine calculates trade objectives using the selected Risk:Reward values.
Supported target structure:
• TP1 = 1R (default)
• TP2 = 2R
• TP3 = 3R
Users may customize each target independently from the settings panel.
🔷 SIGNAL FILTERS
To reduce false signals, the indicator includes:
• Confirmed swing pivot detection
• Optional close confirmation
• Market structure-based liquidity detection
These filters are designed to help identify higher-quality liquidity sweep events.
🔷 INPUTS
Available settings include:
• Swing Length
• Close Confirmation
• Target Line Length
• TP1 Risk:Reward
• TP2 Risk:Reward
• TP3 Risk:Reward
• Label Visibility
• Line Colors
• Background Highlight
🔷 ALERTS
Built-in alerts are available for:
• Buy-side Liquidity Sweep
• Sell-side Liquidity Sweep
These alerts can be connected to TradingView's notification system.
🔷 COMMON WORKFLOW
A typical workflow is:
1. Wait for a confirmed liquidity sweep.
2. Allow the signal candle to close (if Close Confirmation is enabled).
3. Review the automatically plotted Entry, Stop Loss, and Take Profit levels.
4. Combine the setup with your own market structure, trend analysis, or additional confirmation before making any trading decisions.
🔷 MARKETS
This indicator can be used on:
• XAUUSD & GOLD
• Forex
• Stocks
• Cryptocurrency
• Futures
• Indices
• Commodities
It is compatible with multiple timeframes and may be adapted to different trading styles.
🔷 BEST PRACTICES
Many traders choose to combine liquidity sweeps with:
• Market Structure
• Break of Structure (BOS)
• Change of Character (CHoCH)
• Fair Value Gaps (FVG)
• Order Blocks
• Higher Timeframe Trend
These concepts are optional and can provide additional context when evaluating a setup.
🔷 DISCLAIMER
This indicator is provided as a chart analysis tool for educational and informational purposes only. It identifies trade setups according to its programmed rules and does not predict future price movements or guarantee trading results. Users should always perform their own analysis, apply sound risk management, and consider additional market factors before making trading decisions. Indicateur

Liquidity Sweep Hunter Algo [AlgoAlpha]🟠 OVERVIEW
Liquidity Sweep Hunter Algo identifies liquidity highs and lows across three different lookback periods and keeps them active until they are mitigated. This creates a persistent view of where resting liquidity has formed instead of only showing the latest swing points.
The indicator also displays a heatmap that highlights the relative strength of active liquidity levels and generates reversal signals after price sweeps multiple visible liquidity bands before reclaiming them. Optional trade drawings project a stop loss, reward target, and intermediate target levels directly on the chart.
🟠 CONCEPTS
Liquidity Level — A price extreme detected from fast, medium, and slow lookback windows. Matching levels are merged so nearby highs or lows are treated as the same liquidity area.
Liquidity Heatmap — A visual strength map where colour represents the relative strength of each active liquidity level compared to the other visible levels.
Multi-Level Liquidity Sweep — A reversal condition where price sweeps at least two visible liquidity bands and then closes back beyond the reclaim level within a limited number of bars. An optional strength filter can require the swept levels to exceed a minimum average strength.
🟠 FEATURES
Liquidity Heatmap — Displays active liquidity levels using a colour gradient that reflects their relative strength.
Multi-Level Sweep Signals — Plots bullish and bearish reversal labels after confirmed liquidity sweep and reclaim events.
Trade Projection Boxes — Draws entry, stop loss, reward zone, and target milestone levels after each signal.
Trade Progress Display — Fills the target area as price reaches successive target levels and marks completed trades with a check mark.
🟠 HOW TO USE
Watch the heatmap to identify where stronger liquidity has accumulated around current price.
Wait for a bullish or bearish sweep signal after price clears multiple liquidity bands and reclaims the area.
Use the optional trade projection as a visual reference for the calculated stop loss, reward target, and target milestones.
Increase the lookback values to focus on broader liquidity zones or decrease them to detect more local levels.
Adjust the sweep strength filter if you want signals only when stronger liquidity zones are involved.
🟠 CONCLUSION
Liquidity Sweep Hunter Algo combines persistent liquidity mapping, a relative strength heatmap, and multi-level liquidity sweep detection in a single indicator. It also provides optional trade projections that remain on the chart after each signal. Together these features help traders monitor where liquidity has formed, when it has been swept, and where price has reclaimed the area. Indicateur

Liquidity Sweep & ATR Envelope⚡ Liquidity Sweep & ATR Envelope
The market hunts stops. This tool shows you where it just happened — and whether price actually rejected the grab or kept right on going. 🎯
Liquidity sweeps caught at volatility extremes, confirmed by a real reclaim, fully resolved on the bar they fire. No repaint. No HTF trickery.
🔍 THE MECHANICS
📐 The envelope — an ATR band around a 20-period basis. It's the visual anchor on the chart AND the qualification threshold at once: the same measurement does both jobs, so there's no separate cosmetic ATR filter bolted on top.
🎯 Pivot + envelope, both required — a signal needs the wick to breach a confirmed pivot level AND clear the band plus a clearance buffer. Levels are one-shot: any wick through a tracked pivot consumes it, signal or not. Re-arms on the next confirmed pivot.
↩️ Reclaim, not just recovery — the close has to snap back past the swept level by at least half the wick's own penetration depth (adjustable, 0 to disable). A candle that barely creeps back over the line doesn't count as a rejection — the snap-back has to beat the sweep.
Levels are one-shot: any wick through a tracked pivot consumes it — signal or not — and the tool re-arms on the next confirmed swing. What you see is exactly what happened.
🛡️ Non-repaint by construction — pivots confirm after their right-side bars, and every signal, marker, zone, and alert is gated to bar close. A triangle that printed yesterday printed on that bar and never moved. What you backtest is what you trade. ✅
🎨 On the chart:
🌊 Hero ATR envelope with event-driven band glow — bands light up when price presses them or on a fresh sweep.
📦 Gradient sweep zones from swept level to wick extreme — historical signals legible at a glance.
👣 Swept-history footprints so you can read where liquidity already got taken.
🎛️ 8 themes (Suite, Ocean, Royal, Ember, Mono, Frost + full Custom), optional bar tint, trigger-threshold line, compact status table.
🔔 Clean JSON alerts (direction / level / trigger) — wire it straight into your automation.
⏱️ Timeframe notes — single-timeframe and scale-free. Every threshold is measured in ATR or as an intra-bar ratio, so it ports across instruments and timeframes with zero rescaling. Defaults are tuned on H1 and carry to M15 unchanged — comparable signal frequency and reclaim quality on both. On H4 and above the setup is rarer by nature; drop Pivot Left/Right to 3 if you want more events there. Read every signal as liquidity-location context, not a standalone entry — pair it with your structure read (or Confluence Context, regime/confluence indicator on my profile) for direction. 🧭
📈 How to use it — the tool tells you where the market just swept liquidity and rejected. Stack it with structure.
Built to one standard: still useful after it's been on your chart for a while. Indicateur
