MT5 Liquidity Sweeps Indicator
MT5 Liquidity Sweeps Indicator detects buy-side and sell-side liquidity sweeps using swing-based market structure analysis. The indicator supports Wick-Based Sweeps, Break-and-Retest Sweeps, and Combined detection modes while tracking sweep lifecycle states including detected, touched, mitigated, and expired zones. Additional features include configurable mitigation logic, liquidity level visualization, event alerts, swing structure analysis, and historical sweep zone tracking for structured liquidity analysis in MetaTrader 5.
Already a subscriber or have purchased a product?
Liquidity Sweeps Concept Explained
Liquidity sweeps occur when price moves beyond previous swing highs or lows where stop orders and resting liquidity are commonly concentrated.
In ICT and Smart Money Concepts (SMC) methodologies, swing highs often represent buy-side liquidity, while swing lows represent sell-side liquidity. When price reaches these areas, it may briefly trade beyond the level before reversing — interacting with the resting orders concentrated there.
These events can appear in different market contexts: as part of a reversal, a continuation move, or a displacement phase. Rather than assigning fixed directional meaning to every sweep, the indicator focuses on identifying the structural behavior itself — where price went, how far it moved, and whether it returned.
Not every move beyond a swing high or low qualifies as a liquidity sweep. Sweep structure depends on how the swing was formed, how far price penetrated beyond the level, and how quickly it returned. A brief wick through a level and a sustained break that later retraces carry different structural characteristics — and the indicator treats them differently.
To keep the detection precise, the indicator includes configurable swing validation, minimum sweep distance filtering, mitigation logic, and sweep lifecycle tracking.
Read the guide: What Are Liquidity Sweeps and Why They Matter
Open guide →Liquidity Sweeps Indicator — Key Features
Liquidity Sweep Detection Modes
The indicator supports three sweep detection modes: Wick-Based Sweeps, Break-and-Retest Sweeps, and Combined Mode.
Wick-Based Sweeps focus on immediate rejection after price moves through a liquidity level. The sweep zone forms when price briefly pushes beyond a previous swing high or low and then returns back through the level.
Break-and-Retest Sweeps use delayed directional sweep behavior. Price first breaks a liquidity level, returns back through it, and forms a sweep zone based on the displacement structure. If price later revisits that zone within the allowed retest window, the interaction is registered as a sweep event.
Combined Mode allows both detection models to operate simultaneously.
The detection engine also includes configurable minimum sweep distance filtering. Sweeps can be validated using tick-based or percentage-based displacement requirements, helping filter out low-displacement liquidity interactions.
Wick-Based Sweeps
Break-and-Retest Sweeps
Swing-Based Liquidity Levels
Liquidity sweep detection is built around swing structure analysis rather than fixed candle patterns.
The indicator automatically identifies swing highs and swing lows that can act as potential liquidity levels. These levels are then monitored for sweep interactions and directional liquidity events.
Structural swing labels are also supported directly on the chart. Horizontal swing levels can remain visible after formation, making it easier to track where liquidity may still be resting.
Swing sensitivity is controlled through the Swing Strength parameter. Higher values create stricter structural validation, while lower values react faster to developing market movement.
The indicator also includes Swing Expiration logic, limiting how far apart swing structures can be while still qualifying for sweep detection.
Sweep Zone Lifecycle Management
The indicator tracks the lifecycle state of every sweep zone after detection.
Sweep zones can transition through multiple states: Detected, Touched, Mitigated, and Expired.
A touch event occurs when price re-enters the sweep zone before mitigation conditions have been satisfied.
Mitigation and expiration are tracked independently, allowing active, mitigated, and expired sweep zones to be visually separated on the chart. Expired and mitigated zones can remain visible as historical liquidity references rather than disappearing immediately after state transition.
The Sweep Zone Expiration setting controls how long sweep zones remain active before becoming expired.
Mitigation Mode & Reaction Control
The indicator supports multiple mitigation models for sweep zone interaction tracking: Touch (High/Low), Full Fill (High/Low), Body Close Inside (Close), and % Fill (High/Low or Close).
Touch mode considers the zone mitigated as soon as price interacts with the sweep area. Full Fill requires complete zone coverage before mitigation is registered.
Body Close Inside uses candle close confirmation instead of wick extremes.
% Fill mode requires price to mitigate a configurable percentage of the sweep zone depth.
The indicator also includes Skip Immediate Mitigation logic. This prevents newly created sweep zones from being mitigated too quickly during immediate post-sweep volatility. Mitigation Skip Bars controls how many bars are ignored before mitigation tracking becomes active.
Touch (High/Low)
Full Fill (High/Low)
Body Close Inside (Close)
% Fill (High/Low or Close)
Alerts & Event Signals
The indicator supports alert and signal events for every major sweep lifecycle stage: Sweep Detected, Sweep Touch, Sweep Mitigated, and Sweep Expired.
Touch events are tracked independently from mitigation events, allowing sweep interaction and full mitigation to be monitored separately.
Available alert types include popup alerts, sound alerts, and email notifications.
Buy-side and sell-side sweep markers can also be displayed directly on the chart for visual event confirmation.
Active sweep zones, touched zones, mitigated zones, and expired zones remain visually distinguishable during historical review and live analysis.
Run it quietly, or use it as an active liquidity monitoring tool.
Chart Visualization & Sweep Levels
The indicator includes multiple visualization tools for monitoring liquidity structure directly on the chart.
Swing highs and lows can be extended as horizontal liquidity levels, allowing previous liquidity areas to remain visible after the original swing forms.
Sweep zones are displayed directly on the chart using separate bullish and bearish visual states. Buy-side and sell-side sweep markers use independent color settings for faster visual recognition during live analysis.
Historical sweep zones can remain visible after mitigation or expiration, preserving previous liquidity reactions and structural context.
How to Interpret and Use the Liquidity Sweeps Indicator
Reading Wick-Based Sweeps
Wick-Based Sweeps focus on immediate rejection after liquidity interaction.
A bearish sweep forms when price moves above a previous swing high and quickly returns back below the level. A bullish sweep follows the same logic on swing lows.
These reactions often appear around short-term liquidity grabs where price briefly trades beyond resting liquidity before reversing back through the level.
Understanding Break-and-Retest Sweeps
Break-and-Retest Sweeps use delayed directional sweep behavior.
Price first breaks through a liquidity level, then returns back through it and forms a sweep zone based on the displacement structure. If price later revisits that zone within the configured retest window, the interaction is registered as a sweep event.
Unlike Wick-Based Sweeps, the reaction does not need to happen immediately after the initial liquidity break.
Using Combined Mode
Combined Mode allows Wick-Based and Break-and-Retest sweep detection to operate simultaneously.
This makes it possible to track both immediate liquidity rejection and delayed sweep structures within the same workflow.
Interpreting Sweep Lifecycle States
Each sweep zone can transition through multiple structural states: Detected, Touched, Mitigated, and Expired.
Touch events represent the first return into the sweep zone before mitigation conditions have been satisfied.
Mitigated zones represent completed interaction based on the selected mitigation model.
Expired zones indicate that price failed to revisit or mitigate the sweep within the configured expiration period.
Using Swing Levels as Liquidity References
Swing highs and lows are used as the primary liquidity reference points for sweep detection.
Previous swing levels can remain extended on the chart after formation, making it easier to monitor where liquidity may still be resting.
Higher Swing Strength values produce stricter structural validation, while lower values react faster to developing market movement.
Indicator Settings & Parameters
Full parameter reference, grouped by configuration area.
| Parameter | Description |
|---|---|
| General | |
| History Bars To Process | Defines how many historical bars are used for sweep detection calculations. |
| Liquidity Sweeps Mode | Selects the sweep detection model:
|
| Swing Strength | Controls how strictly swing highs and lows are validated before qualifying as liquidity levels. Higher values create stricter structure. Lower values react faster to developing price movement. |
| Minimum Sweep Distance Mode | Defines how minimum sweep penetration is measured:
|
| Minimum Sweep Distance Ticks | Defines the minimum sweep penetration distance when tick-based validation is used. |
| Minimum Sweep Distance Percentage | Defines the minimum sweep penetration distance when percentage-based validation is used. |
| Retest Max Bars | Defines the maximum number of bars allowed for retest validation in Break-and-Retest sweep mode. |
| Sweep Zone Expiration (Bars) | Defines how long sweep zones remain active before transitioning into expired states. |
| Swing Expiration (Bars) | Defines the maximum allowed distance between swing structures used for sweep detection. Older swing levels outside this range are ignored. |
| Mitigation | |
| Mitigation Mode | Defines how price must interact with a sweep zone for mitigation to be registered.
|
| Mitigation Price Mode | Defines whether mitigation validation uses:
|
| Mitigation % | Defines the required percentage of zone fill when percentage-based mitigation mode is used. |
| Skip Immediate Mitigation | Prevents newly created sweep zones from being mitigated too quickly immediately after detection. |
| Mitigation Skip Bars | Defines how many bars are ignored before mitigation tracking becomes active. |
| Sweep Alerts & Signals | |
| Enable Sweep Detected Alert | Triggers an alert when a new sweep zone is detected. |
| Enable Sweep Touch Alert | Triggers an alert when price re-enters a sweep zone before mitigation. |
| Enable Sweep Mitigated Alert | Triggers an alert when a sweep zone becomes mitigated. |
| Enable Sweep Expired Alert | Triggers an alert when a sweep zone expires. |
| Enable Sweep Detected Marker | Displays chart markers for newly detected sweep zones. |
| Enable Sweep Touch Marker | Displays chart markers when price touches a sweep zone. |
| Enable Sweep Mitigated Marker | Displays chart markers when mitigation occurs. |
| Enable Sweep Expired Marker | Displays chart markers when sweep zones expire. |
| Chart Visuals | |
| Buy-Side Sweep Color | Defines the color used for bullish sweep markers and sweep zones. |
| Sell-Side Sweep Color | Defines the color used for bearish sweep markers and sweep zones. |
| Mitigated Sweep Color | Defines the color used for mitigated sweep zones. |
| Expired Sweep Color | Defines the color used for expired sweep zones. |
| Sweep Zone Opacity | Controls transparency of sweep zone visualization. |
| Show Swing Points | Displays swing structure labels directly on the chart. |
| Show Swing Levels | Displays horizontal liquidity levels derived from swing highs and lows. |
| Max Displayed Swings | Defines the maximum number of swing structures displayed simultaneously on the chart. |
| Alerts | |
| Enable Pop Up Alert | Displays an on-screen popup when a sweep event alert is triggered. |
| Enable Sound Alert | Plays an audio notification for supported sweep events. |
| Alert Sound File | Selects the sound file used for audio alerts. |
| Enable Email Alert | Sends email notifications when supported sweep events occur. Requires MetaTrader email settings to be configured. |
| Email To | Defines the recipient email address for alert notifications. |
Frequently Asked Questions
Liquidity Sweep Basics
A liquidity sweep occurs when price moves beyond a previous swing high or low where stop orders and resting liquidity are commonly concentrated.
After interacting with that liquidity, price may react around the swept level depending on market conditions.
Wick-Based Sweeps focus on immediate rejection after price moves through a liquidity level.
Break-and-Retest Sweeps use delayed sweep behavior. Price first breaks the level, returns back through it, forms a sweep zone, and later revisits that zone within the configured retest window.
The indicator also supports Combined Mode, allowing both sweep models to operate simultaneously.
Yes. The indicator detects both buy-side and sell-side liquidity sweeps.
Bullish and bearish sweep zones, markers, alerts, and lifecycle states are tracked independently.
Liquidity levels are built from swing highs and swing lows detected through configurable swing structure analysis.
These swing levels can remain extended on the chart as active liquidity references.
This indicator combines multiple sweep detection models, configurable mitigation logic, sweep lifecycle tracking, swing-based liquidity analysis, and historical zone management within a single framework.
Key features include:
- Wick-Based Sweeps
- Break-and-Retest Sweeps
- Combined Detection Mode
- Touch / Mitigated / Expired lifecycle states
- Multiple mitigation models
- Historical sweep zone tracking
- Swing-based liquidity levels
- Configurable sweep validation filters
The indicator focuses on structural liquidity sweep analysis rather than isolated sweep marking.
Zones & Mitigation
Mitigated zones represent completed interaction based on the selected mitigation model.
Expired zones indicate that price failed to revisit or mitigate the sweep zone within the configured expiration period.
Historical zones can remain visible after mitigation or expiration for structural context and liquidity review.
Yes. The indicator can keep mitigated and expired sweep zones visible instead of removing them immediately.
This helps preserve previous liquidity reactions and historical sweep structure directly on the chart.
The indicator supports multiple mitigation models, including:
- Touch (High/Low)
- Full Fill (High/Low)
- Body Close Inside (Close)
- % Fill
Mitigation can be validated using either High/Low prices or candle Close values depending on the selected configuration.
The indicator also supports Skip Immediate Mitigation logic for filtering early post-sweep interactions.
System Requirements & Installation
What you need to run the indicator, how to download and install it in MetaTrader 5, and how the license works.
System Requirements
- Platform
- MetaTrader 5 (Desktop)
- Operating system
- Windows 10 or Windows 11
- Instruments
- Forex pairs, metals, indices, CFDs and other symbols available from your broker in MetaTrader 5
- Data
- Your broker’s price feed in MetaTrader 5
Not available on MetaTrader 5 Web or Mobile. Custom indicators run in the MetaTrader 5 desktop terminal only.
License Terms
- Lifetime License
- This indicator only, 1 live and 1 demo account, one-time payment, free updates included.
- All-Access Subscription
- All indicators and trade copiers, billed monthly, cancel anytime, updates included while the subscription is active.
- Free trial
- 5 days on the subscription plan. If not cancelled, the subscription starts automatically.
- License binding
- Linked to your email and to your MetaTrader 5 trading accounts: one live account and one demo account.
- Computers
- Not restricted. The license is linked to your trading accounts, not to a specific computer.
Installation
- Get access
Start the free trial, subscribe, or buy a lifetime license on this page.
- Download
The indicator is not sent by email. Open (top right of this page) and enter the email you used for your trial, subscription or purchase. The indicator file (.ex5) downloads to your computer.
- Copy to the MetaTrader 5 data folder
In MetaTrader 5, go to
File → Open Data Folder, openMQL5 → Indicatorsand copy the downloaded .ex5 file there. - Add to a chart
Restart MetaTrader 5 or right-click Indicators in the Navigator window and select Refresh. Then drag the indicator from the Navigator onto a chart.
- Activate the license
In the indicator inputs, enter the same email. On first activation, the license is linked to that email and to the trading account the terminal is logged into.
If MetaTrader 5 asks for additional permissions when the indicator is attached, such as DLL imports or WebRequest access, allow them in the indicator’s Common tab or under
Tools → Options → Expert Advisors.
Updating: When a new version is released, download it again through and replace the existing .ex5 file in the same folder.
Installation questions? Contact support, Monday to Friday.
"Best Seller" and "Trending" reflect Nordman Algorithms sales and usage data, January–September 2026.
Disclaimer — Software Use & Risk Disclosure
Nordman Algorithms is a trade name of Nordman Algorithms OÜ (Reg. No. 14435535), registered in Tallinn, Estonia.
Software Use
Software Nature & User Responsibility — Nordman Algorithms provides algorithmic software tools for technical analysis. Nordman Algorithms is not a financial advisor and is not liable for any losses. All trades conducted based on the software’s output are executed at the user’s sole discretion and risk.
Visual Markers & Signal Disclosure — This software may display visual markers (such as arrows, dots, or alerts) when predefined mathematical conditions are met. These markers are provided for educational and analytical purposes only, must not be interpreted as financial guidance, and do not constitute a recommendation to buy, sell, or hold any financial instrument. Users must independently validate all visual cues within their own trading methodology.
No Financial Advice — Nordman Algorithms does not provide discretionary trading signals, investment advice, or managed signal services. Our software represents a mathematical visualization of historical and real-time data. The appearance of a visual marker does not guarantee a profitable trade or predict future market behavior.
Read the full Terms of Service →Risk Disclosure
Trading Risk Warning — Futures, Forex, and options trading involve significant risk. Risk capital is money that can be lost without jeopardizing financial security. Only risk capital should be used for trading. Past performance is not indicative of future results. An investor could potentially lose all or more than the initial amount committed.
ESMA Risk Warning — Financial instruments, especially those involving leverage such as CFDs and Forex, are complex and carry a high risk of rapid financial loss. Our software provides analytical outputs and visual markers based on predefined mathematical conditions and does not mitigate or reduce inherent market risks. You should carefully consider whether you understand how leveraged financial instruments work and whether you can afford the high risk of losing your capital.
CFTC Rule 4.41 — Hypothetical or simulated performance results have inherent limitations. Unlike actual performance records, simulated results do not represent real trading. Because trades have not actually been executed, these results may under- or over-compensate for the impact of market factors such as liquidity. Simulated results are also subject to the benefit of hindsight. No representation is being made that any account will achieve profits or losses similar to those shown.
Read the full Risk Disclosure →Trademark Notice — MetaTrader 5 and MT5 are trademarks of MetaQuotes Ltd. Nordman Algorithms is an independent software developer and is not affiliated with, sponsored by, or endorsed by MetaQuotes Ltd. References to MetaTrader 5 identify software compatibility.
Need a different setup?
We can customize this indicator to your specifications: add new functions, modify the logic, refine visuals, or integrate it with other trading tools. We also convert indicators into Expert Advisors with trailing stops, position parameter controls, execution filters and rule-based automation built to your technical specifications.
Every project is delivered with full source code and post-delivery support. Fixed-price quote before development begins.



