Session Seasonality Deviation [MarkitTick]💡 A highly advanced analytical framework meticulously engineered to quantify, measure, and visualize volatility anomalies within specific, localized trading windows. By programmatically isolating price action strictly to predefined market hours—such as the London or New York opens—this tool establishes an objective statistical baseline of expected market movement based exclusively on historical day-of-the-week performance data. Rather than relying on lagging continuous averages, this mathematical model detects the precise moment a market transitions from baseline activity into statistically significant expansion or compression, providing an objective lens through which to view true price dynamics.
● ✨ Originality and Utility
Traditional volatility metrics and bands typically analyze continuous price data streams, inadvertently blending distinct, structurally different trading periods into a single, homogenized moving average. This generalized approach inherently degrades the accuracy of volatility forecasting. The core utility of the SSD indicator lies in its targeted isolation of distinct market sessions, mathematically acknowledging the reality that a Tuesday London session behaves with entirely different liquidity parameters than a Friday New York session.
By creating an isolated historical distribution for each specific day of the week, this tool offers a highly accurate, predictive baseline for expected volatility that adapts to the calendar. Furthermore, the integration of structural price action filters ensures that these statistical anomalies are always correlated with actual market mechanics, elevating the tool beyond simple moving average bands and providing a robust, multidimensional analysis of market intent.
● 🔬 Methodology and Concepts
This script operates on a sophisticated confluence of statistical profiling and structural market analysis, creating an unyielding logic engine designed to filter market noise.
Time-Series Stratification: The underlying logic initiates by isolating raw price data exclusively within a user-defined temporal window. It captures the extreme upper and lower boundaries of this session, establishing the true operational range and discarding irrelevant data from inactive hours.
Day-of-Week (DOW) Seasonality Profiling: Rather than utilizing a generic rolling lookback of consecutive calendar days, the algorithmic engine stores and categorizes historical session ranges based on the specific day of the week. It builds an independent, localized statistical distribution for each day, calculating the mean average range and the variance of those specific historical instances.
Standardized Deviation (Z-Score) Engine: The primary mathematical trigger relies on a rigorous Z-Score calculation. It compares the current session's confirmed range against the historical DOW average, divided by the established standard deviation. This quantifies exactly how far the current volatility deviates from the empirical historical norm.
Structural Confluence and Market Character: To prevent the system from acting on anomalous volatility that lacks definitive directional intent, the logic engine requires a structural confirmation. It evaluates recent high and low boundaries, demanding that the closing price breaches these structural bounds to validate the statistical signal and confirm a genuine shift in market character.
● 🎨 Visual Guide
The visual interface is precision-engineered for rapid cognitive interpretation of complex statistical states, designed to relay critical data without cluttering the charting canvas.
Dynamic Heatmap Candles: The primary price action is overlaid with a responsive heatmap. Candlesticks are colored dynamically to reflect the internal bias of the active session, providing an immediate visual cue of the dominant buying or selling pressure.
Average Range Bounds: Subtle, non-intrusive bracketing lines are plotted symmetrically around the session open, projecting the historical average range. This creates a visual baseline for expected session expansion, allowing the user to see when price escapes the statistical norm.
Actionable Trade Levels: Upon the generation of a confirmed signal, the tool plots projected Entry, Stop Loss, and multiple Take Profit coordinates. Chart labels are meticulously configured to display raw value strings without percentage signs, ensuring a clean, distraction-free presentation of critical price levels.
Analytical Heads-Up Dashboard: A sophisticated data table is rendered on the chart, centralizing key real-time metrics. It details the active session, current directional bias, real-time Z-Score, Sample Size validity, and structural state. The dashboard is explicitly designed to display a matching, comprehensive evaluation of both long and short transaction outcomes, ensuring a perfectly balanced view of all potential market trajectories.
● 📖 How to Use
Interpreting the output of this tool requires a methodical, step-by-step approach, focusing heavily on the intersection of statistical deviation and structural shifts.
Monitor the on-chart dashboard for the Z-Score to definitively exceed the user-defined deviation threshold, which serves as the primary indicator of a statistically significant expansion in volatility.
Verify the directional bias of the current session using the Heatmap Candles and ensure this localized momentum aligns with the broader, macro market structure.
Wait for a confirmed structural breach signal that perfectly matches the directional bias of the initial statistical deviation, ensuring momentum is backed by actual price displacement.
Utilize the automatically plotted Trade Action Levels for strict risk management. The Stop Loss is dynamically calculated based on historical variance, and Take Profit levels offer scaled, mathematically logical target zones.
Exercise extreme caution and avoid executing signals during periods of severe price compression, or when the dashboard indicates that the sample size of historical data is insufficient to form a mathematically reliable statistical distribution.
● ⚙️ Inputs and Settings
The configuration panel is categorized logically to allow for the precise, modular tuning of both the statistical engine and the visual outputs.
Core Settings: Select the target session (Asia, London, New York) and define the lookback period for the seasonality model. Adjust the precise Deviation Threshold (Z-Score limit) to control the strictness and sensitivity of the generated signals.
Filters: Toggle specific confirmation layers, including the minimum required historical sample size, minimum expansion criteria, and specific structural requirements necessary to validate a move.
Trade Tools: Calibrate the multiplier values for the dynamically calculated Stop Loss and Take Profit levels, allowing the user to seamlessly align the tool with their individual risk parameters and payout models.
Visuals and Dashboard: Customize the display properties of the heatmap candles, the average range bands, and the spatial positioning of the analytical dashboard to suit personal workspace preferences.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The theoretical foundation of this analytical tool is deeply rooted in advanced Quantitative Finance, specifically drawing upon the established principles of Volatility Clustering and the Day-of-the-Week Anomaly. Academic literature frequently notes that financial markets exhibit leptokurtic distributions, wherein volatility is not a constant force but rather clusters densely in specific, predictable temporal windows. By employing a variance measurement technique akin to Standardized Moments, the script effectively normalizes session volatility.
This process allows the underlying algorithm to objectively classify current price action relative to an empirical baseline, entirely removing subjective human bias from the equation. Furthermore, the integration of structural pivot analysis introduces a deterministic filter to an otherwise probabilistic model. This synthesis ensures that statistical outliers are only deemed actionable when they are accompanied by a verifiable, measurable shift in the underlying supply and demand equilibrium.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Wskaźnik

Daily Sweep Pro: liquidity raid, AMD filter & FVG entriesWHAT IT DOES
A full top-down liquidity playbook on one chart. It reads daily structure for bias (higher highs and higher lows = longs only; the reverse = shorts only), waits for a liquidity pool to get raided against that bias — intraday swings, the Asian range, premarket levels, or the opposing prior-day level — then demands a fair value gap in the trend direction before arming an entry at the gap, with the sweep extreme as the stop and the prior-day level as the target.
HOW IT WORKS
- Bias: daily pivots, evaluated on confirmed bars only.
- The AMD filter (on by default) requires the trap to happen on the wrong side of the weekly open — the classic Judas swing. Turn it off for more, lower-quality setups.
- Every armed setup passes a minimum reward:risk check, and a daily circuit breaker stops new setups after your max entries per day.
- A status table narrates the state machine live: bias, current state, levels, and a timeframe check.
- Signals and drawings fire on closed bars — no repaint. Staged alerts cover raid, FVG confirmation, entry, target, and stop.
HOW TO USE IT
Built for 1H and below during the New York session (sessions are configurable). Let the table tell you where you are in the sequence; the labels mark each stage on the chart.
WHAT IT CAN'T DO
It follows one playbook, strictly. On days without a clean raid-and-gap sequence it will do nothing at all — that is the design, not a malfunction. It also can't know the news; the circuit breaker is your friend on event days.
SETTINGS
Daily pivot strength, session windows, which liquidity pools are eligible, FVG size and entry style, minimum R:R, max entries per day, and full display toggles.
Open source. Free. If it keeps you out of one chase a week, that's the job. Wskaźnik

ICT GapsICT Gaps
Multi-timeframe ICT gap toolkit: Fair Value Gaps from up to nine higher timeframes, plus New Week Opening Gaps (NWOG), New Day Opening Gaps (NDOG), and the Opening Range Gap (ORG) — all on one chart.
What it does
HTF Fair Value Gaps Displays FVGs (3-candle imbalances) from up to 9 configurable timeframes (defaults: 1m, 2m, 3m, 5m, 15m, 1H, 4H, 1D, 1W) on your current chart. Each timeframe has its own show/hide toggle, bullish/bearish colors, and display cap.
Zones extend a configurable distance ahead of the current candle, with each timeframe's labels stacked in its own column so you can read the chart at a glance.
Mitigation tracking with five modes: None, Wick filled, Body filled, Wick filled half, Body filled half. Mitigated zones freeze at the candle that filled them and recolor (or hide entirely — your choice).
C.E. (Consequent Encroachment) midpoint line on every FVG, with selectable line style.
Proximity filter: only FVGs within an ATR-based distance of current price are drawn, keeping the chart clean. The multiplier is adjustable.
Optional merging of back-to-back FVGs (two 3-candle gaps sharing 2 candles) into a single zone.
"Hide Lower Timeframes" automatically hides any configured timeframe below your chart timeframe.
Opening Gaps (NWOG / NDOG) The gap between Friday's close and the new week's open (NWOG), and between each day's close and the next day's open (NDOG). Keeps a configurable number of recent gaps (ICT convention: last 5). Opening gaps do not mitigate — they stay on the chart while relevant.
Opening Range Gap (ORG) The gap between the previous regular session close (default 16:15 ET) and today's regular session open (09:30 ET). The box spans exactly the overnight region — from the prior close to the opening bell — and freezes there. Session window and time-zone are configurable. Requires a 15-minute or lower chart timeframe so session boundaries align with bars.
Internal levels for gaps Each gap type can display either the C.E. midpoint or SD quadrant lines at 0/25/50/75/100% of the gap — one dropdown per feature, so the two never conflict. SD lines can carry small 25/50/75 value labels in a color of your choice.
Usage tips
Keep fill colors mostly transparent (75–90%). Opaque fills will visibly jump in front of the candles when hovered — that's TradingView's hover behavior, not the script.
If you prefer candles always on top: right-click the indicator → Visual order → Send to back.
ORG requires a 15m or lower chart. NWOG/NDOG require an intraday chart.
On a 1H chart with defaults, expect the nearest timeframe's zones to sit a few candles right of price, with higher timeframes stacked further out. Adjust "Distance from current candle" and "Spacing between timeframes" to taste.
Credits
Built on the open-source "ICT HTF FVGs" by fadizeidan, extended with additional timeframes, gap types (NWOG/NDOG/ORG), SD levels, mitigation-freeze behavior, and gap-session logic. Published under the Mozilla Public License 2.0.
This indicator is a charting tool for ICT-style analysis. It is not financial advice and produces no buy/sell signals. Wskaźnik

NY Open Range Gap Reversal (M1D)M1D NY Open Range Gap Reversal
OVERVIEW
A reference and marking tool for the New York Regular Trading Hours (RTH) opening gap. It maps the price and time levels of the classic open-gap "manipulation then reversal" sequence so a discretionary trader can read the session at a glance. It draws levels and flags conditions on closed bars — it does not place orders, produce buy/sell calls, or predict outcomes.
THE IDEA
At the 09:30 ET cash open a gap frequently forms between the prior session's 16:15 ET RTH close and today's open. That gap often produces an early "judas swing": a first push off the open that raids liquidity, fails, and reverses back through the gap toward a gap-fill draw. This indicator frames that sequence with objective, repeatable levels and time windows so the read is consistent from day to day.
WHAT IT DRAWS
- RTH Open (True Day Open) line, annotated with the day's gap size and direction.
- Opening-gap retracement levels at 25%, 50% (the primary draw, emphasised), 75%, and 100% (full fill = the prior RTH close).
- Shading of the 09:30-10:00 gap-fill window and a 10:00 checkpoint line.
- Opening Range high and low (first N minutes of RTH; default 30).
- Liquidity Sweep flag when the opening-range extreme is taken and price closes back inside (the manipulation leg).
- SMT divergence flag against two correlated index futures (default YM and ES), pivot-based. Each flag names which comparison index diverged (e.g. "SMT - YM"), so a one-sided divergence is distinguishable from both indices disagreeing.
- An info panel showing gap size, live gap-fill percentage, a countdown to the RTH close, the day's directional bias, and which SMT comparison symbols are in play.
- Right-margin labels that sit within a configurable ATR distance of each other are merged into one line of text instead of overlapping illegibly.
HOW IT WORKS
Session handling uses the exchange clock in the America/New_York timezone, so it is daylight-saving safe with no fixed offset. The gap is measured from the prior RTH session's 16:15 ET futures close to the current 09:30 ET open; the electronic/Globex 17:00 ET close is intentionally not used. Directional bias is derived from gap direction: a gap up frames a bearish fade toward the fill, a gap down frames a bullish fade. The Sweep and SMT modules only evaluate on days whose gap is at or above a configurable minimum. The minimum can be expressed as a multiple of the previous day's ATR (the default, 0.15, so the threshold scales with each instrument's own volatility), as a percentage of price, or in raw points. Both modules arm only after the opening range locks (SMT pivot history is still tracked through the range, so the first pivot after the lock has a same-session reference; an input allows SMT inside the range). By default an SMT flag requires BOTH comparison symbols to fail to confirm the chart's pivot; an input relaxes this to either one. A comparison symbol that tracks the same index as the chart cannot diverge from it, so that leg is automatically excluded and the info panel reports which symbols remain active. Line and label activity (extension and new Sweep/SMT detection) stops at a configurable cutoff (default 11:30 ET) and resumes automatically at the next session's open; the info panel is unaffected and keeps updating through the close. All detection is evaluated on bar close (barstate.isconfirmed) to avoid repainting, and prior-day drawings are removed at the 16:15 ET boundary so nothing carries into the next session.
HOW TO USE IT
Apply to CME equity-index futures (for example MNQ/NQ, MES/ES, MYM/YM) on an intraday execution timeframe such as 1-5 minute. Read the levels as context: the gap-fill levels are potential draws, the opening range and its sweep mark the manipulation leg, and the SMT flag marks a confirming (or diverging) move in the correlated indices. The trader decides where and how to act — the script does not mark an entry. Every module, colour, time window, label size, and the SMT symbol pair are adjustable in the settings.
INPUTS
Grouped controls for session times, the gap minimum (ATR-relative, percent, or points) and which fib levels to show, opening-range length, timing references, and the Sweep / SMT modules (symbol pair, pivot length, both-or-either divergence, bias filter). Every drawn line and label has its own colour, line style, and label text, on top of global controls for the brand colours, line width, label size, right-margin offset, and info-table position.
NOTES
- This is an indicator, not a strategy: it does not generate orders, alerts to enter, or performance results.
- It evaluates conditions on closed bars and does not repaint.
- Descriptions of how gaps have tended to behave are informational, not predictive.
DISCLAIMER
This script is provided for educational and informational purposes only. It is not financial advice and is not a recommendation to buy or sell any instrument. Trading futures carries a substantial risk of loss. Past behaviour is not indicative of future results. You are solely responsible for your own trading decisions. Test thoroughly before relying on it in any live environment. Wskaźnik

Wskaźnik

ICT Everything Pro @SafarTradesICT Everything Pro
ICT Everything Pro consolidates multiple ICT time-based references into a single configurable indicator, allowing traders to monitor sessions, opening prices, key time markers, and higher timeframe reference levels without cluttering the chart or switching between multiple scripts.
Designed for intraday traders, the indicator centralizes the market timing concepts commonly used within the ICT methodology while providing extensive customization to match individual workflows.
Sessions
Display and customize the major trading sessions including Asia, London, AM, PM, London Close, and New York Lunch. Sessions can be displayed individually, highlighted using different styles, and limited to the current day or current week depending on your workflow.
CBDR, Asia & FLOUT
Visualize ICT session ranges including CBDR, Asia, and FLOUT. Each range supports independent visibility, colors, labels, and session definitions.
Time Markers
Display important ICT reference times using customizable vertical markers, including:
Midnight
London Open
New York Open
Equities Open
Each marker supports independent color, style, and width settings.
Opening Price Levels
Project important opening prices directly onto the chart, including:
Midnight Open
New York Open
Equities Open
Afternoon Open
RTH Open
Daily 50% Level
Each level supports customizable extensions, labels, colors, styles, and visibility.
Higher Timeframe Opening Levels
Optionally display Weekly and Monthly opening prices to maintain higher timeframe context while executing on lower timeframes.
Labels
Display day-of-week labels and a customizable chart label to improve chart organization and quickly identify trading sessions.
Customization
Every module can be configured independently, including:
Timezone selection
Session visibility
Session styles
Opening price extensions
Vertical line styling
Colors and labels
Historical display options
Higher timeframe opening levels
Intended Use
ICT Everything Pro is designed for traders who want a centralized ICT workspace without relying on multiple individual indicators. By combining session visualization, opening prices, higher timeframe references, and key time markers into a single configurable tool, it provides a cleaner and more efficient environment for market analysis and execution. Wskaźnik

Wskaźnik

1st Presented Fvg's [M1D]OVERVIEW
1st Presented Fvg's (M1D) isolates the very first Fair Value Gap each hourly window prints —
the one everything else in that hour reacts to — and tracks its full lifecycle: does it
hold, does it fail, does it invert, and does the inversion validate on a retest. Instead of
marking every FVG on the chart, it keeps only the one gap the model cares about per hour and
reports what happened to it.
It is a single-timeframe, event-tracking tool rather than a signal generator. It tags one
gap per hourly window, runs a strict hold / fail / invert / validate state machine on it, and
rolls a running Hold %, Inverted count and Valid IFVG count into a small dashboard so you can
see how the current session is actually behaving.
Detection and every state transition evaluate on confirmed bars only — nothing is decided
intrabar, and the chart requires an intraday timeframe of 60 minutes or less.
WHAT IT PLOTS
- 1st Presented FVG zone — a coloured box drawn from the exact three-candle gap, labelled
with its hourly window (e.g. "1st - 2pm") and an optional macro-window time suffix (e.g.
"1st - 2pm 1:50-2:10"). Zone colour cycles through your chosen palette by hour.
- NY Open tag — inside the 9:30-10:00 NY session specifically, the gap is labelled "1st -
NY Open" instead of the generic hour label, and only appears once price has swept a recent
pivot high or low first (see Key Definitions below).
- Inversion (IFVG) tag — a gap that held, then closed through, turns orange and is
relabelled IFVG.
- Valid IFVG tag (✔) — once an inverted gap is retested (price trades back into it), it
gains a check mark and a brighter fill, so a live, usable IFVG stands out from one still
forming.
- Failed gap (optional) — a gap that closed through without ever holding can be kept on
chart dimmed for context, or deleted outright; either way it is counted in the stats.
- Dashboard (M1D) — a small monospace table showing the current session, current time, and
a Today vs. Total read of gaps tagged, gaps held, Hold %, gaps inverted, and validated
IFVGs.
KEY DEFINITIONS
- Held — the point at which a 1st Presented FVG is considered to have defended its zone,
rather than just being tagged. Governed by the Hold Definition setting below.
- Reject & Close Away (default Hold Definition) — price must trade into the gap and then
close back outside its proximal edge before it counts as held. A tap that closes through
without that rejection is scored as a fail, not a hold — so Hold % reflects confirmed
rejections, not every incidental touch.
- Touch & Hold (alternate Hold Definition) — any trade into the gap that doesn't close
through it counts as held immediately, no rejection required.
- Inversion (IFVG) — a gap that held first, then later closed through it. This sequence is
mandatory: a gap that runs straight through without ever holding is a fail, never an
inversion.
- Valid IFVG — an inverted gap that price has subsequently traded back into.
- Hold % — held gaps ÷ gaps tagged, shown separately for Today and All-Time.
- NY Open liquidity sweep — inside the 9:30-10:00 New York session, the 1st Presented tag
runs on its own daily slot, separate from the normal hourly one, so an earlier random gap
in the same clock hour can't use up the slot before the open range even happens. That slot
only fills once price has swept a recent confirmed swing pivot — a low for a bullish gap,
a high for a bearish gap — immediately before the gap forms, so the tag reflects a genuine
liquidity grab rather than the first random three-candle gap after 9:30.
HOW TO USE IT
Reading the state of the current gap
- A live-coloured zone with no orange means the 1st Presented FVG is still fresh or holding
— treat it as an active zone.
- Orange means it has inverted — price closed through it after holding, so it now has the
opposite role.
- Orange with a ✔ means the inversion has been retested and validated — the strongest read
of the three, since price has both flipped the gap and come back to confirm it.
- A dimmed zone (if you keep failed gaps) means it closed through without ever holding —
context only, not a level to lean on.
Reading the dashboard
- Hold % (Today vs. All-Time) tells you how respected first-hour gaps have been — a low
reading suggests today's imbalances are being run through rather than defended.
- Inverted vs. Valid IFVG counts show how often a failed gap actually resolves into a
confirmed continuation level (✔) rather than just failing outright.
- Session tells you which killzone you're in without leaving the chart.
Choosing your settings
- Use Reject & Close Away when you only want gaps that show a confirmed rejection —
Touch & Hold is looser and counts the first touch, useful for comparing how often price
even reaches the gap versus how often it truly holds.
- Switch Mode to First Of Each Direction if you want to track a bullish and a bearish 1st
gap side-by-side within the same hour, instead of only the first of either.
- Turn on the Displacement Filter if you want the tag to skip small, low-conviction gaps in
favour of the next one that clears your ATR multiple.
- Leave NY Open: Require Liquidity Sweep on if you specifically want the opening-range gap
isolated from the generic hourly noise; adjust Pivot Lookback to make the swing-pivot
reference tighter (fewer bars, more sensitive) or wider (more bars, more established swings).
SETTINGS
- Detection — 1st FVG Mode (First Of Either / First Of Each Direction), Hourly Window
Timezone, Displacement Filter (ATR × multiple), Restrict To Time Window, NY Open (9:30-
10:00): Require Liquidity Sweep, Pivot Lookback.
- Inversion (IFVG) — Track Inversions toggle, Hold Definition (Touch & Hold / Reject &
Close Away).
- Labels — Show Labels, Label Text prefix, Show Macro Window Time, Label Size, Label
Colour.
- Colours — Colours In Cycle (2 or 3), the cycle colours, Inversion Colour, Zone
Transparency.
- Display — Gap Lifetime (Until Invalidated / End Of Hour / End Of Day), Keep Failed Gaps
(Dimmed), Max Gaps On Chart.
- Stats Table — Show Stats Table, Position, Text Size.
This is a decision-support and context tool for discretionary ICT trading. It does not
generate buy or sell signals and does not place trades. This is not financial advice, and no
market's past behaviour is indicative of future results.
Wskaźnik

XI0033 Williams FractalA Williams fractal confirms late by definition: the pattern is complete only after the bars to its right have closed, so the marker always appears in the past. This script keeps the classic fractal template — three- or five-bar — and adds the one thing the classic version cannot show: the bar that is about to become a fractal, before the confirmation arrives.
It draws triangles for confirmed fractal highs and lows, plus one highlighted triangle for the last potential fractal on the live edge. Nothing else: no lines, no levels, no signals.
Confirmed fractals
A fractal high is a bar whose high stands above the highs of its neighbours; a fractal low mirrors that on the lows. The 3-bar mode compares one neighbour on each side, the 5-bar mode two on each side — the original Bill Williams definition. The Periods input sets how many bars back the reference bar sits. Confirmed fractals are painted as muted grey triangles above the highs and below the lows, and once the pattern that produced them is closed, they are history: they do not move and do not disappear.
Confirmed fractal highs and lows in the muted default colour: every triangle marks a bar whose extreme beat its neighbours on both sides, printed only after the pattern completed.
The last potential fractal
This is the addition. One bar to the right of the last confirmable centre there is always a candidate: a bar already higher (or lower) than its closed neighbours, waiting only for the current bar to keep its distance. The script highlights that candidate with an orange triangle — pointing down above a potential high, pointing up below a potential low — so the developing swing is visible before it becomes official.
The highlight exists only on the live bar. It is recalculated tick by tick, disappears the moment price violates the candidate, and is deliberately dropped on the bar's final update, so it never leaves a trace in the chart history. Scroll back and you will find only confirmed fractals.
Left: the orange triangle under the newest low is the last potential fractal. Right, a few bars later: that low now carries a grey confirmed triangle — the preview left no trace — and a new potential fractal already sits above the latest high.
What repaints, and what does not
The potential marker repaints by design — that is its job. It is a live preview that appears, moves and vanishes with the current bar, and it is intentionally not committed to history. Confirmed fractals in the default 3-bar mode are built from closed bars only, so once a triangle prints, it is final. In the 5-bar mode with the default period, the newest confirmation still involves the forming bar's extreme, so it can appear and be withdrawn until that bar closes; after the close it is final. And every confirmed fractal is late by definition — the triangle appears above a bar that is already in the past, because that is what confirmation means.
What is reused, and what is new
The confirmed-fractal logic is the classic Bill Williams fractal template as coded by Mit Nayi, reused open-source with attribution in the source header. What this edit adds: the port to Pine Script v6, and the whole potential-fractal layer — the candidate detection one bar to the right of the confirmable centre, and the barstate mechanism that shows the preview on the live bar only and drops it on the bar's final update, so it never piles up in history.
What it does not do
It gives no signals. A fractal marks a local extreme, and most local extremes get traded through; on their own they are not entries. This is a structural marker — swing logic, liquidity maps and ICT-style analysis use fractals as raw material, and the potential marker only tells you where the next one may appear. The decision stays yours.
The Inputs allow you to set:
Periods: how many bars back the fractal centre sits; the triangles are drawn on that centre bar
3 or 5 Bar Fractal: one or two neighbours compared on each side
Show last potential fractal: the live-edge preview on or off
Potential down and up fractal colours
About the chart
BYBIT:BTCUSDT.P, 5-minute chart. The only script on it is this one, with default settings: muted grey triangles mark confirmed fractal highs and lows across the chart, and the orange triangle at the right edge is the last potential fractal, not yet confirmed. No other indicators, no drawings. Wskaźnik

Wskaźnik

Fractal Timeframe Collision Node [MarkitTick]💡 The financial markets operate across multiple interacting timeframes, creating complex structural geometries that cannot be accurately analyzed through a single, isolated lens. The tool presented here acts as a comprehensive multi-timeframe aggregation engine, designed to isolate highly significant structural support and resistance clusters. By evaluating pivot points across four distinct time spans and merging them based on volatility-adjusted proximity, this system identifies high-probability reaction zones where structural exhaustion is most likely to occur. It is built strictly for the modern Pine Script environment, utilizing an entirely non-repainting architecture that respects the highest standards of data integrity and execution logic.
● ✨ Originality and Utility
Standard pivot or support/resistance scripts typically plot historical swing highs and lows independently. This creates chart clutter and often leaves the analyst guessing which level holds the most technical weight. This tool introduces the concept of "Collision Nodes." Instead of simply drawing every pivot, the algorithm scans higher timeframe data, identifies structural extremes, and clusters them together using a dynamic, adaptive mechanism.
When multiple higher timeframes project a pivot at the exact same price zone, a structural "Collision Node" is formed.
The utility lies in its objective strength grading: a node formed by the confluence of the 1-hour, 4-hour, and Daily charts mathematically demands more respect than a single localized swing point on a lower timeframe.
By filtering out the noise and only projecting nodes that meet a user-defined minimum strength threshold, the analyst is presented with a remarkably clean chart displaying only the most critical, high-liquidity zones.
Furthermore, the script automatically generates full trade execution parameters (Entry, Stop Loss, and multiple Take Profits) directly on the chart when a valid structural rejection occurs.
● 🔬 Methodology and Concepts
• Multi-Timeframe Pivot Extraction
The core engine relies on detecting localized extrema (Pivot Highs and Pivot Lows) over a user-defined lookback window. The script fetches these pivot values simultaneously from three higher timeframes plus the current chart's timeframe. To ensure absolute data integrity and prevent any future data leakage (repainting), the algorithm strictly requests historical, confirmed data using offset historical referencing.
• Volatility-Normalized Spatial Clustering
Once the pivots are extracted, the algorithm must determine if they "collide" or overlap. Because absolute price distance is irrelevant across different assets, the script uses a dynamic clustering mechanism normalized by the Average True Range (ATR).
A tolerance band is calculated by multiplying the current ATR by a user-defined coefficient.
If a newly discovered higher timeframe pivot falls within this exact tolerance band of an existing pivot cluster, it is merged into that cluster, and the cluster's "strength" rating is incremented.
If it falls outside the tolerance band, a new independent node is registered.
• Memory Management and Age Pruning
Financial markets possess a memory, but structural relevance decays over time. The script incorporates a memory management protocol that continually monitors the age of all registered nodes. If a node has not been tested or updated within a specific bar count limit, it is automatically pruned from the active array, ensuring that only highly relevant, modern liquidity pools are analyzed.
• Automated Signal Validation
A visual node is not a signal; it is an area of interest. The script validates trade signals by combining spatial location with price action. A valid signal requires the price to close inside the tolerance zone of a high-strength node, accompanied by a rejection candle (where the wick constitutes a significant percentage of the total candle range), and a structural close confirming the directional bias.
● 🎨 Visual Guide
• Collision Nodes
Teal Horizontal Lines: Represent bullish support nodes. The opacity of the line dynamically shifts based on the strength of the node (darker/more solid lines indicate higher timeframe confluence).
Red Horizontal Lines: Represent bearish resistance nodes. Like the bullish nodes, their visibility scales with structural strength.
Diamond Labels (◆×2, ◆×3): Attached to the end of the node lines, these labels explicitly display the node's strength rating. A "◆×3" label means three separate timeframes have confirmed a pivot at this exact mathematical level.
• Trade Execution Box
Dashed Blue Line: Indicates the exact Entry price upon signal confirmation.
Solid Red Line: Represents the dynamic Stop Loss, which is placed behind the collision node with an added ATR-based buffer to avoid premature liquidation.
Dashed Teal Lines (TP1, TP2, TP3): Represent calculated Take Profit levels projected automatically based on the user's defined Risk-to-Reward (RR) multipliers.
Red Background Fill: Visually maps the total risk zone between the Entry and the Stop Loss.
Teal Background Fill: Visually maps the total reward zone extending from the Entry up to the final Take Profit target.
• Real-time Dashboard
Located by default in the top right corner, this data table provides an instant summary of the market structure.
Bias: Displays the current active signal direction (LONG, SHORT, or NONE).
Active Nodes & Strengths: Lists the exact price levels of the nearest active bull and bear nodes, accompanied by visual progress bars displaying their respective strengths (Green for high strength, Yellow for medium, Red for low).
Trade Tracking: Displays the currently active Stop Loss and primary Take Profit levels if a trade configuration is locked on the chart.
● 📖 How to Use
Apply the indicator to your chart and set your three preferred higher timeframes in the settings (e.g., if trading on the 15-minute chart, you might select 1-Hour, 4-Hour, and Daily).
Observe the chart for the formation of high-strength Collision Nodes (look for ◆×3 or ◆×4 labels). These are your primary zones of interest.
Wait for price action to approach these nodes. Do not place blind limit orders.
Allow the script's internal logic to identify a structural rejection. When a valid rejection candle forms and closes at a node, a trade execution box will automatically populate on the chart.
Use the provided Entry, Stop Loss, and Take Profit lines to format your position sizing and manage the trade according to the mapped risk-to-reward parameters.
Optionally, link the script's advanced JSON webhook alerts to an external execution platform for automated trade routing.
● ⚙️ Inputs and Settings
• Core Settings
Pivot Lookback: The structural length required to confirm a swing high or low.
TF 1, TF 2, TF 3: The three higher timeframes used to scan for structural confluence.
Include Chart TF: Determines if the current chart's timeframe should also contribute to node strength.
Node Tolerance (×ATR): The spatial bandwidth used to cluster pivots together, measured as a multiplier of current volatility.
Min Node Strength: The minimum number of overlapping timeframes required for a node to be rendered on the chart.
• Filters
Require Rejection Candle: Enforces strict price action criteria, demanding that signals only fire if the candle displays a prominent rejection wick.
Min Wick % of Range: The exact percentage of the candle that must be composed of the wick to validate a rejection.
Max Node Age (bars): The duration a node remains active without being re-tested before being permanently purged from memory.
• Trade Tools
SL Buffer (×ATR): Adds a dynamic volatility buffer beyond the structural node to determine the absolute invalidation point.
TP1, TP2, TP3 (×SL Risk): The respective risk-to-reward multipliers used to dynamically project profit targets.
Lock Current Trade Levels: Freezes the visual risk/reward box on the chart until the trade hits either the final target or the stop loss, ignoring subsequent signals.
• Dashboard & Alerts
Show Dashboard: Toggles the visibility of the real-time data table.
Alert Actions: Customizable text fields allowing users to define specific JSON payload strings for long, short, and exit triggers.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The architectural foundation of this algorithm is heavily rooted in the Fractal Market Hypothesis (FMH), which posits that financial markets exhibit self-similar statistical structures across varying scales of time. In practical terms, a distribution pattern on a 5-minute chart mathematically resembles a distribution pattern on a Weekly chart. By aggregating pivot extrema from multiple independent time scales, this script exploits these fractal geometries to identify areas of harmonic resonance—price zones where liquidity pools overlap across different cohorts of market participants.
To resolve the spatial clustering problem, the system utilizes a volatility-normalized one-dimensional grouping algorithm conceptually akin to Density-Based Spatial Clustering of Applications with Noise (DBSCAN). Instead of utilizing fixed scalar distances (which fail as asset prices scale), the algorithm calculates an epsilon distance bounded by the Average True Range (ATR). This ensures that the clustering logic expands and contracts organically with market entropy. The ultimate output is a mathematically objective reduction of structural noise, isolating only the highest-density liquidity nodes that possess the greatest statistical probability of halting directional momentum.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Wskaźnik

Unicorn Model (M1D)M1D-
ICT Unicorn Model finds the ICT Unicorn and frames its context.
A Unicorn forms where a displacement leaves a Breaker Block and the Fair Value Gap that displacement traded through inverts onto it — the same-direction Inversion FVG (IFVG) overlapping the Breaker is what confirms the Unicorn: two arrays reinforcing each other at one price, which ICT teaches as a tight, high-probability zone. This tool detects it, marks the Breaker that qualifies, always shows the inversion FVG that makes it one, tracks the liquidity that engineered it, and keeps your HTF bias and the draw on a clean dashboard. It maps structure — it does not fire trades.
The idea (ICT concepts)
The Unicorn is a confluence, not a standalone trigger. The sequence it looks for (bullish; bearish mirrors):
Liquidity is taken — price sweeps a sellside low, engineering the reversal.
A swing is broken — displacement closes through the last swing high (a market-structure shift); the run of candles immediately before that leg is left behind as an Order Block. It becomes a Breaker only once price later closes through it — the OB failing and flipping, exactly as an FVG inverts into an IFVG — its box spanning exactly those candles' high to low.
The FVG inverts onto the Breaker — a candle body closes through the gap, so it fails and flips into an Inversion FVG (IFVG) of the opposite polarity. A Breaker a same-direction IFVG overlaps is the Unicorn; with no overlapping IFVG it stays a plain Breaker.
Bias frames it — the model needs a clear HTF read, so a bullish Unicorn is shown in a bullish / discount context and a bearish one in premium.
The draw — engineered liquidity in the direction of bias is the target the setup delivers toward.
Because the Unicorn is only as good as its narrative, bias is first-class here: qualification is gated to your HTF read by default, and the dashboard keeps the read, the raid and the draw in front of you.
These are established Inner Circle Trader (ICT) concepts — FVG / BISI–SIBI, the Breaker Block, MSS, liquidity, the Midnight Open and premium/discount. This script is an original implementation that detects them and, distinctively, resolves the Breaker + the Inversion FVG that confirms it into a single premium zone rather than plotting each array in isolation.
What it draws
Unicorn — when a live same-direction IFVG overlaps a Breaker, that Breaker box is relabelled Unicorn + (bullish) / Unicorn - (bearish), drawn in the brand purple / magenta and given a distinct dashed border, so the setup reads at a glance and stands apart from the solid-bordered arrays. It is confirmed once and holds — it does not flicker bar to bar — and the confirming IFVG is kept alive with it: the two live and die together, so a Unicorn always shows the inversion that makes it one. It stays on the chart until it is invalidated (below).
Breaker & FVG ingredients — drawn faintly beneath: FVGs in blue (bullish) / red (bearish) and Breakers in a neutral black (a Breaker only takes a directional colour once it becomes a Unicorn), each tagged with the chart timeframe (e.g. Breaker M5, BISI + M5). A BISI / SIBI that sits inside the Unicorn or its inversion hides its own box, so the premium zone is never buried under the ingredient it is built from. Everything invalidates by the candle body only — a wick through a zone never counts. A plain FVG inverts the moment one body closes through it (becoming the IFVG); the Breaker and the inversion take a configurable number of body closes (default two) to retire — or a zone clears once price trends a full range off-screen, keeping only the structure still near price.
IFVG (inversion) — when a candle body closes through an FVG it does not simply vanish; it inverts, flipping polarity to deliver from the other side (the ICT Inversion FVG). The same-direction inversion overlapping a Breaker is what confirms the Unicorn — it is shaded orange (no label — orange reads as IFVG), rendered behind the Unicorn so the premium zone stays in front, and held for as long as the Unicorn is live.
Liquidity — swing highs are buyside, swing lows are sellside, plus prior-day and prior-week levels (PDH / PDL / PWH / PWL) as external-range reference liquidity, each anchored to the candle that formed it. The outermost live swing each side is tagged Buyside Liquidity / Sellside Liquidity (external-range liquidity), inner swings carry Minor Buyside / Minor Sellside, and prior-period levels keep a dated tag. A level that is also the high or low of an Asia / London / New York session window carries that tag too (e.g. NY High, London Low). Every level is removed the instant it is taken — no dotted stub, no lingering line — and any un-taken level that price trends a full range past without returning also clears, so nothing hangs far off the price action. Buyside tags trail the right edge on the line; sellside tags sit back at their origin (left) and just below the line, so the live right edge stays uncluttered and the text clears the price action. Any tags that share a price (e.g. a swing high sitting on the prior-day high) merge into a single combined tag rather than stacking.
Midnight Open (00:00 NY) — a core ICT daily reference and a bias input; below it leans bullish, above it leans bearish.
Draw — the nearest live opposing liquidity in the direction of bias, tagged ← Draw on that level — the target the Unicorn delivers toward. When the draw or the Midnight Open share a level's price they are appended to that one tag rather than stacked as a second label.
Dashboard (M1D™)
HTF Bias — BULLISH / BEARISH / MIXED, auto or manual (auto stacks dealing-range position with the Midnight Open).
Unicorn — whether a bullish, bearish or both-side Unicorn is live in recent context; when none is live it falls back to the last one's direction (bullish (last) / bearish (last)) rather than a bare dash.
Raided — which side of liquidity was most recently taken (the raid that sets up the reversal).
Draw — the current target: nearest live BSL / SSL in the bias direction, with its price.
PDH / PDL — prior-day high and low prices (tracked even when the lines are hidden).
Midnight Open — price above / below the 00:00 NY open.
Dealing range — discount (bullish) / premium (bearish) relative to the swing-range equilibrium.
Settings
General — session timezone, right-side offset (keeps labels in clear space), line- and zone-label sizes.
HTF Bias — Auto / Bullish / Bearish; gate Unicorns to bias on/off; Midnight Open toggle and colour.
Swing Structure — pivot left / right strength.
Liquidity — show liquidity, line colour / width, external + Minor labelling, max live swing levels per side, prior day / week levels (PDH·PDL·PWH·PWL) with days- and weeks-back, and the raid-relevance window.
Sessions — tag session highs / lows on / off, and the Asia / London / New York window times (in the session timezone).
Breaker & FVG — show ingredients, bull / bear colours, FVG minimum height (× ATR), displacement body size (× ATR), biggest-array-wins declutter, the cap on how many
FVGs show at once (so gaps never stack up), show the framing IFVG and its colour, max live zones, the number of body closes that invalidate a zone (default two), and the off-screen retire controls (bars-away, and distance in multiples of the recent price range).
Unicorn — flag Unicorns on / off, bull / bear colours.
Dashboard — show / hide, position (including Middle Right), text size.
Reading it in practice
Trade with the dashboard bias. A Unicorn + / Unicorn - marks the Breaker whose overlapping inversion FVG makes it a Unicorn; the orange IFVG shows the imbalance it sits within. ICT guidance waits for price to tap the FVG side, places the stop beyond the combined Breaker + FVG extreme (whichever is furthest), and targets the engineered liquidity marked by the ← Draw tag. A gap left open below a bullish Unicorn range is intended — it shows bullish intent and speed, and is not meant to be filled.
Repainting
All detection evaluates on closed bars — swings, the MSS / Breaker flip, FVGs, the inversion and the Unicorn overlap are confirmed on candle close, never intrabar. Once a Unicorn is confirmed it is locked — it does not re-evaluate or flip state bar to bar — and invalidation is counted only from confirmed body closes, so an in-progress candle (including a wick through a zone) does not remove it. The Midnight Open fixes on its forming bar and levels anchor to the candle that formed them. Live zones and levels extend to the right edge for readability; that right-side projection is cosmetic and does not change any confirmed level, tap or raid.
Analytics only
This is a decision-support tool for discretionary ICT study — it maps zones, structure and context. It contains no alerts, no arrows, and no buy / sell signals, and it does not tell you when to enter or exit.
Built by M1D. For education and study of price delivery — not financial advice. Wskaźnik

EQH/EQL Liquidity Sweep | AlphaScript⚖️ EQH/EQL Liquidity Sweep
Detects clusters of equal highs (EQH) and equal lows (EQL) the resting-liquidity pools that price hunts and tracks exactly what happens to each one: swept, broken, or still active. Then it measures the real sweep rate so you can see your actual edge.
🎯 Why equal highs and lows matter
When price makes a high, pulls back, then makes another high at the same level, stops pile up just beyond that level — breakout orders, protective stops, resting liquidity.
The more times price taps the same level, the more orders accumulate there. Those pools are what larger participants hunt. This tool maps them automatically and then tells you whether each pool got raided or genuinely failed.
🔍 How pools form
The indicator finds swing highs and lows, then groups any that sit within a configurable tolerance of each other into a single pool.
A pool needs at least a minimum number of touches (default 2) to display. The pool line is drawn at the extreme of the cluster — the highest of the equal highs, or lowest of the equal lows — because that is where the stops actually rest. A small × marks each individual swing that built the pool, and the line thickness and badge show the touch count.
Each pool resolves in one of these ways:
⚡ SWEPT — price wicks through the pool extreme but the bar closes back on the original side. Stops were taken, but the level held on a closing basis. A liquidity raid.
💥 BROKEN — a bar closes through the pool extreme. The level genuinely failed — continuation, not a raid. Breaks are shown separately and never labeled as sweeps.
🛡️ Active — the pool has neither been swept nor broken and is still in play. Pools that go too long without resolving expire and are removed.
First qualifying event wins: one outcome per pool. If a bar both wicks through and closes through, it counts as a break — a close through the level can never be a sweep.
📊 Sweep-rate table | know your real edge
This is what separates the tool from every other equal-highs indicator: instead of just drawing levels, it measures what actually happens to them. The table breaks down every resolved pool by touch count (2 / 3 / 4+) and shows the real sweep and break percentages for each group — computed live from your own instrument, timeframe, and history.
That means you can answer the question that matters before taking a trade: do the pools you're watching actually get swept, or do they break? If 3-touch pools on your instrument sweep far more often than they break, that's a measured edge you can trade around. If 2-touch pools are a coin flip, you know to demand more confluence. The numbers come from the chart, not from a claim on a marketing page.
Only fully resolved pools are counted, active pools are excluded, so the rates can never be inflated by in-progress levels. The denominator is honest: what you see is what actually happened.
⚙️ Settings
-Swing lookback, and equal tolerance in ATR multiples (instrument-independent) or fixed ticks.
-Minimum touches to form a pool, maximum pool age, and how many active pools to track per side.
-Optional minimum wick penetration (ATR-based) to filter marginal sweeps. Does not apply to breaks.
-Optional "Strict Virgin Liquidity" mode: discards a forming level if price closes decisively beyond it before a second touch, so only levels that were never truly broken can pair. Off by default.
-Full display control: pool zones, touch badges, × touch markers, colors, line styles and widths, and how many resolved pools remain on the chart.
-Sweep-rate table with position options.
🔔 Alerts
Per-side sweep alerts (EQH and EQL), separate break alerts, and a combined "Any Pool Swept" alert. All alerts fire on the close of the event bar.
📌 Notes and limitations
-Designed for intraday and swing timeframes. Very low timeframes produce many small pools; adjust tolerance and swing lookback to suit.
-Detection uses standard swing pivots. A peak whose neighboring bar wicks slightly higher may not register as a separate pivot, so not every visual high becomes a pool — tune the swing lookback and tolerance to match how you read structure.
-The equal tolerance is the single most important setting. Too tight and genuine equal levels are missed; too loose and unrelated highs merge. Start moderate and adjust to your instrument.
-The sweep-rate table describes the pools on your loaded chart history. It is a measurement of what happened, not a prediction of what the next pool will do.
✅ Why no repaint
-Pivots are confirmed only after the swing lookback completes, and all pool detection runs on closed bars only. A sweep or break tag will never appear intrabar and then vanish.
-A pool is only evaluated for sweep or break once it has fully formed. A level still building cannot be resolved.
-No request.security() calls are used anywhere. All detection is chart-timeframe state. Wskaźnik

BIAS Day ver0.1 - NASDAQ London and New York Session BiasBIAS Day ver0.1
BIAS Day ver0.1 is an open-source intraday context indicator designed to estimate directional bias separately for the London and New York sessions.
The indicator uses an ICT-style analytical framework based on the completed Asia range, liquidity sweeps, return into the range and Change in State of Delivery confirmation.
It does not provide complete trade setups, entry signals, stop-loss levels or guaranteed price predictions. Its purpose is to provide directional context that traders can combine with their own higher-timeframe analysis, liquidity objectives and Points of Interest.
Core methodology
The script builds the Asia range between 20:00 and 00:00 New York time.
After the Asia range is completed, it monitors whether price:
• trades above the Asia High or below the Asia Low,
• returns inside the completed Asia range,
• produces a completed directional CISD confirmation.
A bullish sequence requires:
1. a liquidity sweep below the Asia Low,
2. a return above the Asia Low,
3. a subsequent bullish CISD confirmation.
A bearish sequence requires:
1. a liquidity sweep above the Asia High,
2. a return below the Asia High,
3. a subsequent bearish CISD confirmation.
When valid bullish and bearish sequences are both present, the script uses the most recent completed confirmation.
If no complete sequence is available, or the confirmations cannot provide a clear direction, the indicator displays NEUTRAL.
London Bias
London Bias is calculated at 03:00 New York time.
The calculation uses only information completed before the bar beginning at 03:00. The London model uses completed 1-hour CISD confirmation.
The London chart label remains visible until 08:30 New York time. The stored London result remains available in the information table after the chart label is removed.
New York Bias at 09:00
The first New York Bias is calculated at 09:00 New York time using information completed through 08:59.
The New York model uses completed 5-minute and 15-minute CISD confirmations.
The result is displayed on the chart and in the information table.
New York Bias update
At 09:50 New York time, the existing New York Bias remains visible.
The label and information table display an UPDATING status while retaining the previously calculated direction. The indicator does not remove the New York label during this update period.
At 10:00 New York time, the script recalculates the New York Bias using information completed through 09:59.
The existing chart label is then updated to show the new 10:00 result. The direction may remain unchanged or change according to the newly completed liquidity and CISD sequence.
The New York label can be hidden manually through the chart-label setting.
Displayed information
The indicator can display:
• the London Bias,
• the New York Bias,
• LONG, SHORT or NEUTRAL direction,
• the detected liquidity and CISD model,
• the expected opposing liquidity objective,
• the UPDATING status before the 10:00 New York recalculation,
• a compact information table.
Chart labels and the information table can be enabled or disabled independently.
Bias interpretation
LONG means that the completed liquidity and CISD sequence supports bullish intraday delivery.
SHORT means that the completed liquidity and CISD sequence supports bearish intraday delivery.
NEUTRAL means that the required sequence has not been completed or that the available information does not provide a clear directional result.
The displayed target represents the opposing side of the completed Asia range:
• H-Asia / BSL for a bullish model,
• L-Asia / SSL for a bearish model.
The displayed target is a contextual liquidity objective, not a guaranteed take-profit level.
Time zone
All session calculations use the America/New_York time zone.
This allows the session schedule to follow New York daylight-saving-time changes without requiring manual seasonal adjustments.
User interface translation
The script currently uses Polish input labels. Their English meanings are:
• Zakres Asia - czas New York: Asia range - New York time
• Minimalne wybicie poziomu - ticki: Minimum level break - ticks
• Pokaż znaczniki BIAS na wykresie: Show BIAS labels on chart
• Pokaż tabelę BIAS: Show BIAS table
• Pozycja tabeli: Table position
• Rozmiar tekstu tabeli: Table text size
• Prawy górny: Top right
• Prawy dolny: Bottom right
• Lewy górny: Top left
• Lewy środek: Middle left
• Mały: Small
• Normalny: Normal
Table headings:
• Sesja: Session
• Model: Model
• Cel: Target
• Aktualizacja: Update
Limitations
This indicator is a contextual analytical tool and not a standalone trading system.
Its calculations depend on the symbol's available market data, the broker or data provider, the chart timeframe and the availability of overnight session data.
Different CFD, futures or index data feeds may produce different Asia ranges, liquidity sweeps and CISD confirmation times.
The script does not guarantee future market direction, profitability, signal accuracy or trading performance.
The indicator should be used together with independent market analysis and appropriate risk management.
This script is an independent implementation inspired by ICT-style liquidity and market-delivery concepts. It is not affiliated with or endorsed by ICT, TTrades, TradingView or any broker.
This publication is provided for analytical and educational purposes only and does not constitute investment advice.
Open-source license
The source code is published under the GPL-3.0 license, as declared in the script source header. Wskaźnik

CandelaCharts - MTF FVG Alignment📝 Overview
The CandelaCharts - MTF FVG Alignment indicator detects Fair Value Gaps (FVGs) across up to four customizable timeframes and visualises them directly on the chart. A Fair Value Gap is a three-candle pattern where price moved so rapidly that an unfilled area remains between the high of the first candle and the low of the third candle, representing a price imbalance the market often returns to fill.
The core strength of this indicator is Confluence . An alignment signal is generated only when every enabled timeframe shows FVGs in the same direction (all Bullish or all Bearish), giving traders a powerful multi-timeframe confirmation before taking a position.
📦 Features
Four-Timeframe Analysis : Track up to four independent timeframes simultaneously with per-TF toggle and FVG count.
Confluence Alignment : Automatic detection of Bullish or Bearish alignment across all enabled timeframes.
Bias Filter : Filter displayed FVGs to show only Bullish, only Bearish, or both (Neutral).
FVG Mitigation : FVGs are automatically invalidated and removed from the chart once they are fully filled by price action.
Hide Overlapped : Clean up chart clutter by automatically hiding lower-timeframe or older FVGs that overlap with others.
Fibonacci Levels : Optional Fibonacci retracement levels (0.236, 0.382, 0.5, 0.618, 0.65, 0.705, 0.786) drawn inside each FVG with a highlighted Golden Pocket zone (0.705–0.786).
FVG Visuals : Semi-transparent boxes showing active FVGs for each timeframe, with configurable borders and midlines.
Status Dashboard : A clean table showing the current directional status (Bullish / Bearish / None) for each enabled timeframe.
⚙️ Settings
Timeframes
TF 1–4: Each timeframe row has a toggle (show/hide), a timeframe selector, and an FVG count (1–10) controlling how many recent FVGs are displayed for that timeframe. Defaults are 1D, 4H, 1H, and 15m.
Settings
Bias Filter: Filter displayed FVGs by direction — Neutral (show all), Bullish (show only bullish FVGs), or Bearish (show only bearish FVGs).
Bull / Bear Colors: Customise the colours used for bullish and bearish FVG zones.
Border: Toggle the FVG box border and configure its style (Solid, Dotted, Dashed) and width (1–5).
Midline: Toggle the Consequent Encroachment midline inside each FVG and configure its style and width. When enabled, the timeframe label moves outside the box.
Fibonacci: Toggle the drawing of Fibonacci retracement levels inside each FVG, including the highlighted Golden Pocket (0.705–0.786).
Hide Overlapped: Toggle whether to hide overlapping FVGs across different timeframes to keep the chart clean (prioritising higher timeframes).
Dashboard
Show: Toggle the multi-timeframe status dashboard.
Position: Choose the dashboard corner — Top Right, Top Left, Bottom Right, or Bottom Left.
⚡️ Showcase
Multi-Timeframe FVG Boxes
Fibonacci Levels & Golden Pocket
Status Dashboard
🔎 Usage
Trend Identification : Glance at the dashboard to see the current bias of each higher timeframe at a glance.
Confluence : When all enabled timeframes align in the same direction, it provides strong multi-timeframe confluence for a directional trade.
Fibonacci Entries : Use the Fibonacci levels inside each FVG — particularly the Golden Pocket (0.705–0.786) — for precise entries when price retraces into the gap.
Bias Filtering : Set the Bias Filter to Bullish or Bearish to remove counter-trend FVGs and keep the chart focused on your directional thesis.
Execution : Use the alignment as confirmation for your existing strategy. Bullish alignment suggests upward momentum; Bearish alignment suggests downward momentum.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
Wskaźnik

Wskaźnik

Liquidity Sweep & Golden Zone [StrixEDGE]Overview
Liquidity Sweep & Golden Zone is a multi-timeframe structural analysis tool built for traders who use Smart Money Concepts (SMC) and ICT methodology. It identifies liquidity sweeps at confirmed swing levels, maps the Fibonacci Golden Zone (OTE), and presents a real-time confluence dashboard across 15-minute, 1-hour, 4-hour, and daily timeframes.
The indicator answers three questions at a glance: where is the liquidity?, has it been swept?, and do multiple timeframes agree on direction?
How It Works
Liquidity Sweep Detection
The engine tracks confirmed swing highs and swing lows using pivot detection. These pivots represent resting liquidity pools — areas where stop-loss orders accumulate:
- Buy-Side Liquidity (BSL) sits above swing highs, where short sellers place their stops. When price wicks above a swing high and closes back below, a BSL sweep is triggered — signaling that buy-side stops were hunted. This typically precedes bearish continuation.
- Sell-Side Liquidity (SSL) sits below swing lows, where long traders place their stops. When price wicks below a swing low and closes back above, an SSL sweep is triggered — signaling that sell-side stops were hunted. This typically precedes bullish reversal.
Each sweep event displays the estimated volume in USDT at the moment of the sweep. This is calculated as `volume × close` on the sweep bar and serves as a proxy for the magnitude of liquidations that occurred. Higher volume sweeps tend to produce stronger reversals.
After a sweep, the level is updated to the new extreme — preventing duplicate signals and establishing a fresh liquidity reference.
Support & Resistance (Pivot-Based)
Active (un-swept) pivot levels are drawn on the chart as structural Support and Resistance:
- A line extending from the bar where the pivot formed to the current price area
- A zone band (ATR × 0.15) around the level, representing the area of influence
- Origin labels showing "Buy-Side Liquidity SWEEP" or "Sell-Side Liquidity SWEEP" with the USDT volume
- Price labels on the right edge for quick reference
These levels update dynamically: when a new pivot is confirmed, the line starts from the new origin. When a sweep occurs, the level shifts to the sweep bar.
Golden Zone (Fibonacci OTE: 0.618 – 0.786)
The Golden Zone represents the Optimal Trade Entry area — the 61.8% to 78.6% Fibonacci retracement of the most recent price range. Unlike pivot-based calculations, this indicator uses a **lookback-based approach**: it finds the highest high and lowest low over a configurable number of bars, then derives the zone from that range.
The zone is visualized with:
- A filled box between the 0.618 and 0.786 levels (transparency adjustable)
- Dashed border lines at 0.618 and 0.786
- A dotted midline at the 0.702 level
- Price labels showing exact values
- A centered "GOLDEN ZONE" tag
This approach produces a stable, always-visible zone that doesn't depend on individual pivot detection, making it reliable across all market conditions.
Multi-Timeframe Heatmap
The core of this indicator is a 7-column heatmap table that evaluates market conditions across four timeframes simultaneously:
| Column | What It Shows | Bullish | Bearish |
|--------|--------------|---------|---------|
| SWEEP | Recent liquidity sweep direction | ● BULL (SSL swept) | ● BEAR (BSL swept) |
| GZ | Price position relative to Golden Zone | ▲ ABOVE | ▼ BELOW |
| S/R | Price position vs. pivot S/R midpoint | ▲ BULLISH | ▼ BEARISH |
| BIAS | EMA 21/50 trend direction | ▲ BULL | ▼ BEAR |
| RSI | RSI(14) value with decimal precision | Color-coded by zone | Color-coded by zone |
| SIGNAL | Composite of all conditions | LONG ▲ | SHORT ▼ |
Signal Logic: The SIGNAL column counts four conditions per timeframe — RSI above/below 50, price in/above the Golden Zone, price above/below the S/R midpoint, and EMA bias direction. When 3 or more conditions align bullish, the signal reads LONG. When 3 or more align bearish, it reads SHORT. Otherwise, NEUTRAL.
A confluence bar at the bottom aggregates all timeframes. When the majority of conditions across all four timeframes agree, it displays STRONG BULLISH or STRONG BEARISH CONFLUENCE.
RSI Color Coding
| RSI Range | Color | Meaning |
|-----------|-------|---------|
| > 70 | Orange | Overbought |
| 50 – 70 | Green | Bullish momentum |
| 30 – 50 | Red | Bearish momentum |
| < 30 | Blue | Oversold |
Settings
Structure Settings
| Setting | Default | Description |
|---------|---------|-------------|
| Pivot Lookback Length | 5 | Bars left and right to confirm a swing pivot. Higher values produce fewer but stronger levels |
| Sweep Active Memory | 10 | How many bars a sweep signal remains active on the heatmap after detection |
Golden Zone
| Setting | Default | Description |
|---------|---------|-------------|
| Lookback Period | 20 | Number of bars to find highest high and lowest low for Fibonacci calculation |
| Show Golden Zone | On | Toggle zone visibility on chart |
| Fill Golden Zone | On | Shade the area between 0.618 and 0.786 |
| Fill Transparency | 88 | Opacity of the filled zone (50–98) |
| Golden Zone Color | Gold | Color for all Golden Zone elements |
Support & Resistance
| Setting | Default | Description |
|---------|---------|-------------|
| Show S/R on Chart | On | Toggle S/R lines, zone bands, and labels |
| Support Color | Teal | Color for support level and SSL elements |
| Resistance Color | Red | Color for resistance level and BSL elements |
| Line Width | 2 | Thickness of S/R lines (1–4) |
| Line Style | Solid | Solid, Dashed, or Dotted |
| Show Price Labels | On | Display price values at the right edge of each level |
Sweep Event Labels
| Setting | Default | Description |
|---------|---------|-------------|
| Show Sweep Labels | On | Toggle sweep event markers on chart |
| Bullish Sweep Color | Green | Color for SSL sweep labels (bullish reversal) |
| Bearish Sweep Color | Red | Color for BSL sweep labels (bearish reversal) |
Heatmap Table
| Setting | Default | Description |
|---------|---------|-------------|
| Show Heatmap Table | On | Toggle the entire dashboard |
| Table Position | Top Right | 9 position options across the chart |
| Table Cell Size | Normal | Tiny, Small, Normal, Large, or Auto |
Alerts
Five alert conditions are built in and ready to use:
1. Bullish Liquidity Sweep — SSL swept, potential bullish reversal
2. Bearish Liquidity Sweep — BSL swept, potential bearish reversal
3. Bull Sweep + Golden Zone — SSL swept while price is inside the OTE zone (high-probability long)
4. Bear Sweep + Golden Zone — BSL swept while price is inside the OTE zone (high-probability short)
5. Price in Golden Zone — Price enters the 0.618–0.786 zone on any bar
Disclaimer
This indicator is a technical analysis tool designed to assist in identifying potential areas of interest based on market structure and liquidity concepts. It does not constitute financial advice. The USDT volume figures are approximations, not verified liquidation data. Always use proper risk management and combine this tool with your own analysis. Past performance of any signal or pattern does not guarantee future results. Trade at your own risk. Wskaźnik

Inversion Fair Value Gaps [iFVG] (Zeiierman)█ Overview
Inversion Fair Value Gaps (Zeiierman) identifies when traditional Fair Value Gaps (FVGs) fail and transition into powerful inversion zones.
A regular Fair Value Gap represents an imbalance where price moved aggressively in one direction, leaving behind inefficient trading. While many traders expect these gaps to act as support or resistance, not every imbalance survives. Some are broken, absorbed, and eventually become areas where the opposite side of the market gains control.
This indicator continuously tracks every valid bullish and bearish FVG. When price successfully closes through an existing FVG and later forms an opposing FVG within the user-defined pairing window, the overlapping imbalance is converted into an Inversion Fair Value Gap (iFVG).
Rather than treating every FVG equally, the indicator focuses on failed imbalances that demonstrate a genuine shift in market order flow.
⚪ FVG Detection
The indicator continuously scans price using the classic three-candle Fair Value Gap model.
A Bullish FVG forms when:
• Price leaves an upside imbalance.
• The third candle creates a gap above the first candle.
A Bearish FVG forms when:
• Price leaves a downside imbalance.
• The third candle creates a gap below the first candle.
Unlike many FVG indicators, every detected gap remains internally tracked so it can later evolve into an inversion.
⚪ Inversion Fair Value Gap Detection
Once an FVG is created, it enters an internal memory system.
If price later closes completely through that imbalance, the FVG is considered broken. Rather than immediately discarding it, the indicator temporarily remembers the remaining imbalance.
If an opposing FVG forms before the memory expires, both structures are combined into a new Inversion Fair Value Gap.
Bullish iFVG
• Bearish FVG is broken.
• Bullish FVG forms shortly afterwards.
• The overlapping imbalance becomes bullish support.
Bearish iFVG
• Bullish FVG is broken.
• Bearish FVG forms shortly afterwards.
• The overlapping imbalance becomes bearish resistance.
This process filters out many ordinary FVGs and highlights only those that demonstrate a meaningful transition in buying or selling pressure.
█ How It Works
⚪ Fair Value Gap Detection
The script continuously searches for valid bullish and bearish three-candle imbalances.
Each detected FVG is validated using:
• Minimum gap size.
• Optional fractal confirmation.
• ATR-based filtering.
Only valid gaps enter the internal tracking system.
bullGap = bullW or bullB
bearGap = bearW or bearB
bullValid = bullGap and bullSz >= gapAtr * minGap
bearValid = bearGap and bearSz >= gapAtr * minGap
⚪ Memory & Inversion Detection
Every valid FVG is stored until one of two events occurs:
• Price never breaks the gap, and it eventually expires.
• Price breaks the gap and an opposing FVG forms before the pairing window ends.
When both conditions are satisfied, the overlapping imbalance becomes a confirmed iFVG. This allows the indicator to detect genuine reversals rather than simply highlighting every imbalance.
⚪ Zone Management
Each zone continuously updates its internal state.
A zone may transition through several stages:
• Active
• Tested
• Mitigated
• Frozen
• Removed
Depending on user settings, mitigated zones can either disappear or remain on the chart as historical context.
⚪ Dynamic Zone Merging
Nearby live zones of the same direction can optionally be merged into a single visual area. This reduces chart clutter while preserving the original internal detection logic. The merged display affects visualization only.
⚪ Distance Filtering
Charts containing hundreds of historical zones can quickly become difficult to read.
The indicator can automatically hide zones that are farther than a user-defined ATR distance from the current price. Hidden zones continue to exist internally and become visible again if price returns. This improves chart clarity without affecting detection, memory, or alerts.
█ How to Use
⚪ Bullish iFVG Retest
After a bullish iFVG forms, price retraces back into the inversion zone before finding support and continuing higher.
Rather than chasing the initial breakout, traders can wait for the retest and look for long confirmation as price reacts from the bullish iFVG.
⚪ Bearish iFVG Retest
After a bearish iFVG forms, price retraces back into the inversion zone before finding resistance and continuing lower.
Instead of entering during the initial breakdown, traders can wait for the retest and look for short confirmation as price reacts from the bearish iFVG.
█ Settings
Minimum FVG Size: Minimum ATR-adjusted size required before a Fair Value Gap is accepted.
Enable Fractal Filter: Requires FVGs to form near confirmed swing highs or lows.
Fractal Length: Controls how large a swing must be before it is confirmed.
Maximum Distance From FVG: Maximum allowed distance between the confirmed swing and the FVG.
Pairing Window: Number of bars a broken FVG remains eligible to form an iFVG.
Delete Mitigated Zones: Removes mitigated zones or freezes them as historical references.
Mitigation Level: Select whether mitigation occurs at the 50% level or after a full fill.
Mitigation Source: Uses wick touches or candle closes to confirm mitigation.
Filter Distant Zones: Hides zones that are far away from the current price.
Maximum Distance From Price: Maximum ATR distance before zones become hidden.
Merge Nearby Zones: Visually combines nearby live zones of the same type.
Maximum Merge Distance: Controls how close zones must be before they merge visually.
Fade With Age: Gradually fades older zones while keeping newer zones more prominent.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Wskaźnik

Mini SMC Screener I EonMetrics Mini SMC Screener
Mini SMC Screener watches up to 5 symbols at once and answers a question no single-chart indicator can: WHERE is something happening right now. Instead of flipping through charts, you read one small table: market structure direction and the freshest Fair Value Gap event for every symbol on your list.
HOW IT WORKS
The script scans each symbol on the timeframe you choose (empty = chart timeframe) and reports two independent readings per symbol.
🔵Structure — a strict MSS/BOS engine. Swing points are confirmed pivots (a candle with N higher/lower candles on both sides). A close above the last confirmed swing high in a downtrend is a Market Structure Shift to bullish; a close below the protected swing low in an uptrend shifts structure bearish. Between shifts, breaks of structure in trend direction keep updating the protected level. The column shows the current state: ▲ Bull or ▼ Bear.
🔵FVG — a three-candle imbalance tracker. A Fair Value Gap forms when the first and third candle of a three-candle sequence do not overlap (the low of the newest candle stays above the high of the candle two bars back, or the mirror for bearish). The gap between them is unfilled territory. The engine registers a gap only when its height clears an ATR-based minimum size, keeps it active until price trades through its far edge (a full fill), and reports the freshest of two events:
- New — a qualifying gap just formed (displacement is happening now)
- Retest — price traded back INTO a still-open gap (the return many traders wait for)
Each event ages out of the table after a configurable number of bars, so the column only ever shows fresh information — an FVG event from 200 bars ago is not a setup and is not displayed.
Why the two are combined in one script: they answer the two halves of the same scanning question. Structure tells you the directional context of a symbol; the FVG event tells you that something tradeable is happening there right now. One without the other is either context with no trigger, or a trigger with no context — a scanner needs both on one row to be useful.
KEY FEATURES
- 5 symbol slots, each with its own on/off toggle — defaults cover crypto, forex, gold and an index; replace them with your own watchlist
- Structure column: live Bullish / Bearish read from confirmed swing pivots (non-repainting state machine — the state changes only on a confirmed close through a level)
- FVG column: New / Retest events with age in bars ("now", "3b", …); the cell background lights up when the event happened on the current bar
- ATR size filter — noise-sized gaps never make it into the table
- Freshness windows for FVG events, so stale signals disappear on their own
- Alerts: per-symbol alert() messages (structure flips, new FVG, FVG retest) plus two named conditions — "Structure flip (any symbol)" and "FVG event (any symbol)"
- Scan timeframe input — scan a higher timeframe than your chart; a warning shows if you accidentally scan below the chart timeframe (unreliable by design on TradingView)
- Table position and text size inputs
HOW TO USE
1. Add the indicator to any chart and open Settings → Symbols. Replace the default tickers with the instruments you actually follow.
2. Pick a Scan Timeframe — the chart timeframe or higher. A common setup: chart on M15, scan on M15 or H1.
3. Read rows left to right: Structure gives you the direction bias, FVG tells you whether a fresh imbalance or a retest is in play on that symbol.
4. The combination many traders look for: structure and a fresh FVG event pointing the SAME way — e.g. ▲ Bull structure plus a bullish FVG retest.
5. Set an alert with "Any alert() function call" to get the detailed per-symbol messages without watching the table.
SETTINGS
- Scan: scan timeframe
- Symbols: 5 slots with toggles
- Structure: pivot strength (candles each side to confirm a swing)
- Fair Value Gaps: minimum gap size (× ATR), event freshness (bars)
- Alerts: master toggle
- Table: position, text size, bullish/bearish colors
A note on how the scan works under the hood: each symbol is evaluated in its own sandboxed context via request.security — the full engine state (structure machine, active gap list) is kept separately per symbol, and signals commit on bar close. Disabled slots still consume their data request (a TradingView compile-time requirement); the toggle hides the row.
This tool reports structure state and imbalance events. It does not generate buy/sell signals, targets or stop levels — what you do with a reading is your decision. It is not financial advice; always do your own analysis and manage your own risk.
Part of the EonMetrics toolset.
Wskaźnik

Equal Highs and Lows [D4A]Overview
This indicator identifies and displays **Relative Equal High (EQH)** and **Equal Low (EQL)** zones, highlighting price levels where the market has stalled or reversed from before. These areas are considered liquidity zones because they mark locations where price has previously paused, reversed, or encountered significant buying or selling activity, and as a result there is a concentration of buy-stops or sell-stops in these zones. In trading approaches such as Smart Money Concepts (SMC/ICT), equal highs and lows are considered important liquidity targets that may influence future market movement, as larger participants are thought to seek the liquidity concentrated around these levels.
How this script is different from other similar tools
- It marks two pivots as Equal Highs only if the second pivot is lower (within the threshold) than the 1st one and likewise, two pivots are marked as Equal Lows only if the second pivot is situated higher (within the threshold) than the 1st pivot. In other words the price has still a reason to re-visit this area
- It provides three different, user configurable pivot lengths that the script scans at the same type in search of EQHL. Most scripts use only one pivot length thus missing on many potential targets
- Apart from main labels, it draws also side labels at defined location which can be convenient to see all EQHL target levels at glance
How It Works
The indicator analyses **pivot highs** and **pivot lows** to locate meaningful swing points on the chart. When two consecutive pivots form within a user-defined price threshold, they are recognized as an Equal Highs or Equal Lows. A line is then drawn between the matching pivots, and the zone is labelled for easy identification.
Since market prices rarely align at exactly the same value, the indicator includes a **ATR Threshold** setting. This parameter specifies the maximum percentage difference allowed between two pivot levels for them to qualify as equal, giving traders the flexibility to adjust the detection based on market volatility and their preferred level of precision.
How to Use
(EQH/EQL) are strong liquidity targets: Use the marked levels as potential targets for take-profits, as price often seeks out these "equal" levels to sweep liquidity.
SETTINGS
- Show EQHL - show labels and drawings
- # of bars to use - limits the number of bars used to find EQHL
- Threshold / ATR Length - are used to establish difference between two levels being considered "equal high" or "equal low"
- Show Labels - define labels shown
- Show Side Labels - enables additional labels on the side of the chart
- Right Coordinate - how many bars to the right the side labels are displayed at
- Pivot Length - there are three different lengths to configure to cover large distance difference between two pivots
- Remove All Drawings After Sweep - when EQH or EQL levels are swept, the corresponding drawings are removed from memory
-----------------
Disclaimer
The content provided in this script is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs. Wskaźnik

Wskaźnik

Liquidity Radar Engine [MarkitTick]💡 The financial markets operate on a continuous search for liquidity, moving dynamically from areas of consolidation to zones of unmitigated resting orders. This technical evaluation tool is engineered to objectively map these critical liquidity thresholds and provide a comprehensive framework for identifying high-probability market reversals and continuation phases. By tracking the exact interaction between historical pivot structures and real-time volume dynamics, it offers a highly systemic, algorithmic approach to charting price action.
✨ Originality and Utility
● A Synergistic Approach to Market Dynamics
Standard technical tools typically evaluate a single dimension of market data, such as momentum or trend direction, which frequently leads to fragmented analysis and false signals. This script stands out by synthesizing pure price structure, volume delta approximation, and multi-timeframe consensus into a unified visual environment. It removes the guesswork from order block and liquidity trading by mathematically defining structural shifts.
• Justification of the Integrated Logic
This tool is a deliberate fusion of price action concepts and mathematical volume filtering. Relying strictly on a breakout of a previous day's high or low can be highly susceptible to false moves and liquidity traps. By incorporating a relative volume (RVOL) filter and a proprietary candle-based delta estimation, the tool validates structural shifts with quantifiable market participation. Additionally, the inclusion of momentum divergence protocols ensures that price action is aligned with the anticipated structural pivot, filtering out low-probability setups in exhausted trends.
🔬 Methodology and Concepts
● Core Analytical Framework
The script operates by mapping significant price extremes across varying temporal horizons and evaluating the market's precise reaction when these zones are breached.
• Liquidity Sweep Detection
The algorithm constantly monitors the Highs and Lows of the Previous Day, Week, and Month. When current price action breaches one of these levels but fails to sustain the breakout—closing back inside the defined range—a sweep zone is generated. This defines a failed auction mechanism where stops may have been triggered without genuine directional follow-through from larger market participants.
• Equal Highs and Lows (EQH/EQL)
To identify resting liquidity pools, the script evaluates historical pivot points within an adjustable lookback window. Using the Average True Range (ATR) as a dynamic tolerance threshold, it mathematically defines whether two separate swing points are functionally "equal," marking them as magnetic targets for future price action.
• Structural Shifts and Displacement
Once a sweep occurs, the engine scans for a localized Change in State of Delivery (CISD). A valid shift requires displacement, which is measured by comparing the breakout candle's body size against a moving average of recent candle bodies, or by the immediate formation of a Fair Value Gap (FVG).
• Multi-Factor Validation
Signals are not generated strictly on price structure. They must pass a rigorous matrix of internal filters:
Relative Volume (RVOL): Requires the sweep or shift to occur with volume significantly exceeding the recent moving average.
Cumulative Volume Delta (CVD): Approximates buying and selling pressure within the candle spread to confirm directional momentum.
Trend Alignment: Evaluates the current price against a long-term Exponential Moving Average (EMA).
Volatility Squeeze Avoidance: Uses ATR ratios to actively block signals in exceptionally low-volatility environments.
Currency Correlation: Compares the traded pair against a reference index to ensure macroeconomic alignment.
News Blackout: Blocks all signals during user-defined, high-impact news windows to protect against erratic slippage.
🎨 Visual Guide
● Chart Elements and Topography
The visual interface is meticulously designed to present complex, multi-dimensional data without obfuscating the primary candlestick action.
• Historical Liquidity Levels
PDH/PDL Lines: Displayed as subtle, translucent lines indicating the Previous Day's High and Low.
PWH/PWL Lines: Denoting the Previous Week's extremes in distinct, moderately visible hues.
PMH/PML Lines: Marking the Previous Month's extremes for macro higher-timeframe context.
Equilibrium Line: A distinct midline drawn between the daily extremes to gauge intraday premium and discount pricing.
• Structural Zones and Markers
Sweep Zones: Highlighted boxes marking the exact area of a failed breakout. Buy-side sweeps appear in a muted green-toned box, while sell-side sweeps are marked in a red-toned box. These zones feature active aging, gently fading as time progresses.
FVG Clouds: Displayed as gold or yellow background areas denoting supply/demand imbalances.
EQH/EQL Markers: Small textual annotations above or below the price, bounded by a semi-transparent box, indicating concentrated liquidity pools.
• Execution and Management Visuals
Signal Labels: Distinct text markers indicating validated Buy or Sell conditions upon bar close.
Position Boxes: When a signal is active, a structured box appears showing the Entry level (dashed neutral line), Stop Loss (dashed red line), and up to three Take Profit targets (dashed teal lines).
Heatmap Candles: The main chart candles are dynamically colored based on the dominant daily bias or RSI momentum.
• The Multi-Timeframe (MTF) Dashboard
A tabular data panel positioned on the chart displays the trend and liquidity status across three distinct timeframes. It also features a comprehensive statistics section monitoring the active trading session, the current volatility regime, the count of unfilled fair value gaps, and the dynamic risk-to-reward ratio of any open simulated positions.
📖 How to Use
● Interpreting the Data
The primary workflow involves observing the direct interaction between price velocity and the mapped structural zones.
• Executing an Analysis
Wait for a visual Sweep Zone to form, indicating that a significant historical level has been tested and rejected by the market.
Observe the Signal Labels. A signal is only printed if the internal confluence engine—validating volume, delta, and structural displacement—has fully approved the setup.
If the FVG entry model is active, wait for price to retrace into the highlighted Fair Value Gap cloud before considering the setup valid for engagement.
• Trade Management
Utilize the plotted Position Boxes to evaluate the mathematical risk profile. The entry, stop loss, and targets are drawn directly on the chart for immediate visual feedback.
Monitor the MTF Dashboard to ensure the lower timeframe execution signal is not fighting a dominant higher timeframe trend.
If Dynamic Trade Management is enabled, closely observe the Stop Loss line as it automatically trails price based on the selected ATR, Swing, or Chandelier mathematical logic.
⚙️ Inputs and Settings
● Configuration Options
The script is heavily modular, allowing for extensive adjustment of its internal validation logic.
• General and Display Limits
Toggle the visibility of specific liquidity levels (Daily, Weekly, Monthly) and limit the maximum number of historical zones, FVG clouds, or signal boxes retained on the chart to maintain a highly optimized workspace.
• Validation Filters
Volume Validation: Adjust the Moving Average length and the RVOL threshold multiplier to define what constitutes a genuine volume climax.
Delta Filter: Toggle the requirement for estimated volume delta to perfectly align with the signal direction.
Divergence Source: Choose whether the script requires RSI, MACD, or a combination of both to display divergence before validating a reversal.
ADX Threshold: Define the strict minimum trend strength required for continuation signals.
• Target and Management Settings
Risk to Reward (R:R) Inputs: Define the exact mathematical multiples for Target 1, Target 2, and Target 3.
Position Sizing: Input an account balance and risk percentage to have the engine calculate the exact unit size for the plotted setup.
Trailing Logic: Select between None, ATR-based, Swing-based, or Chandelier-based trailing stops, complete with user-defined multiplier adjustments and partial profit scaling.
• Dashboard and Visual Preferences
Modify the specific timeframes monitored by the MTF panel, alter its position, and heavily customize the color palettes for all sweep zones, lines, heatmaps, and interface text.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
● Theoretical Foundations
The architecture of this script is grounded in several well-documented financial theories, primarily focusing on Auction Market Theory and the statistical modeling of price volatility distributions.
• Auction Market Theory and Liquidity
The core premise of the sweep detection logic rests securely on the concept of order matching and liquidity cascades. Markets move constantly to facilitate trade, frequently gravitating toward areas with a high density of resting stop orders, such as historical highs and lows. When these areas are breached but fail to attract aggressive participation, the auction process is deemed to have failed. This script mathematically quantifies these failed auctions by tracking the spatial relationship between the breakout wick and the closing price relative to the historical pivot.
• Statistical Variance and Normalization
The tool heavily utilizes the Average True Range (ATR) as a core normalization factor. Financial time series exhibit continuous heteroskedasticity, meaning volatility varies over time. Hardcoding a fixed point-value for concepts like "Equal Highs" or "Trailing Stops" is mathematically flawed. By utilizing ATR ratios, the algorithm rapidly adapts its spatial thresholds to the current standard deviation of price movement, ensuring highly consistent behavior across varying market regimes and asset classes.
• Momentum Divergence and Rate of Change
The inclusion of oscillators like the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) serves to measure the first and second derivatives of price—specifically velocity and acceleration. By actively requiring a divergence between price extremes and momentum extremes, the script effectively filters for environments where the kinetic energy of the prevailing trend is decaying, thereby increasing the statistical probability of a mean-reverting event or structural reversal.
• Volume Delta Approximation
While granular tick data is technically required for an exact volume delta calculation, the script employs a highly robust approximation algorithm that distributes volume proportionally across the candle's spread. This provides a quantifiable metric of localized supply and demand imbalances, adhering strictly to the Wyckoffian principle of Effort versus Result, ensuring that price moves are backed by actual transactional weight.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Wskaźnik

Liquidity Sweep Hunter & Targets | AlphaScript⚡ Liquidity Sweep Hunter & Targets
Tracks the High and Low of the Asia and London sessions, tells you exactly what happened to each level, and plots a risk-defined trade framework when a level is swept during the New York session.
This indicator is an upgrade to the : Session Sweep Detector
🔍 What it does
When a session closes, its High and Low become fixed liquidity levels. The indicator draws each level from the exact candle that printed the extreme and watches it until the same session opens again the next day.
Each level resolves in exactly one of three ways:
⚡ SWEEP — price wicks through the level but the bar closes back on the original side. A liquidity raid: stops were taken, but the level held on a closing basis.
💥 BREAK — a bar closes through the level. This is not a sweep, and the indicator never labels it as one. Breaks are displayed separately (and can be hidden) so the two events are never conflated.
🛡️ Untouched — the level survives its full watch window without either event.
First qualifying event wins: one outcome per level, per session, per day. If a bar both pierces and closes through a level, it counts as a break — a close through the level can never be a sweep.
🎯 NY Sweep Targets
When a session level is swept during the New York session, the indicator plots a risk-defined framework:
-Entry at the sweep bar's close
-Stop beyond the sweep wick or beyond the swept level (your choice), plus a tick buffer
-Four fully configurable R-multiple targets (default 1R / 1.5R / 2R / 3R)
-Optional risk / reward zone shading
A Low swept = bullish framework (targets above); a High swept = bearish (targets below). The targets are risk-multiple geometry measured from your entry and stop — planning levels for trade management, not predictions of where price will go.
📖 How to read the chart
-Solid colored lines are session levels, each starting at the candle that actually made the High or Low, so the line points at the liquidity itself.
-Every level line extends to the same right edge, so the name/price labels line up in a clean column.
-When a level is swept or broken, a tag prints at the event bar marking exactly where it happened.
-Previous sessions' levels remain on the chart as reference, with an option to keep or hide their labels.
⚙️ Settings
-Toggle each level independently (Asia High/Low, London High/Low), with per-session colors and fully configurable session hours (New York time; defaults: Asia 18:00–04:00, London 03:00–12:00).
-Minimum wick penetration filter (in ticks) to ignore marginal pokes when qualifying sweeps. Does not apply to breaks.
-Full control over the target framework: stop anchor, buffer, four R-multiples, line styles, colors, and optional risk/reward fills.
-Control how many previous sessions stay on the chart, whether previous-session labels are shown, and optional transparency for past levels.
🔔 Alerts
Per-level sweep alerts (Asia High/Low, London High/Low), combined "Any Sweep" and "Any Break" alerts, and an "NY Sweep Setup" alert that fires when a target framework is plotted. All alerts fire on the close of the event bar.
📌 Notes and limitations
-Designed for intraday timeframes (1 minute to 30 minutes). On higher timeframes, sessions span too few bars for meaningful detection.
-Session times are defined in New York time (America/New_York) and handle the midnight crossover correctly. If you use another session-levels indicator, match the session hours so both tools agree on where the levels are.
-The target framework is a trade-management and planning tool. Entry, stop, and R-targets are geometry based on the sweep — use your own analysis and risk management to decide whether and how to act on a setup.
-Sweep-vs-break classification depends on your chart timeframe: a wick-through-and-reclaim on a 15m bar may resolve as a break on 1m if an intermediate bar closed beyond the level. Neither reading is wrong — they answer different questions.
✅ Why no repaint
-Events are evaluated on confirmed (closed) bars only. A sweep or break tag will never appear intrabar and then vanish.
-Levels are only armed after their session has fully completed. A session High that is still forming cannot be "swept" — price touching it would simply extend it — so no detection runs until the level is final.
-No request.security() calls are used anywhere. All session tracking is chart-timeframe stat Wskaźnik
