The NinjaTrader Liquidity Sweeps Indicator is based on the concept of liquidity capture — a market behavior rooted in price action and market microstructure, and widely used in ICT and Smart Money methodologies. Liquidity sweeps occur when price intentionally moves beyond a clearly defined high or low to trigger resting stop orders, only to reverse shortly after. These events are not random spikes; they reflect moments when larger market participants seek to access liquidity before initiating or continuing a directional move.
From a market mechanics perspective, liquidity marks areas where sufficient resting orders exist to facilitate large-scale execution. Stop-loss orders and breakout entries tend to accumulate above highs and below lows, forming identifiable liquidity pools. When price approaches these areas, larger market participants can execute significant volume by accessing this resting liquidity. Once the required orders are absorbed, price often loses acceptance beyond the level and reacts in the opposite direction.
Unlike traditional breakout analysis, liquidity sweep logic focuses on false acceptance. A brief violation of a level does not signal strength, but rather the completion of liquidity collection. Recognizing this behavior helps traders avoid chasing impulsive moves and instead analyze price action after liquidity has been taken and order flow conditions change.
The NinjaTrader Liquidity Sweeps Indicator automates the identification of these events by detecting price movements that sweep prior highs or lows and subsequently fail to hold beyond them. By marking liquidity sweeps directly on the chart, the indicator removes subjective interpretation and provides a consistent framework for analyzing stop runs, failed breakouts, and liquidity-driven market reactions.
In practical analysis, Liquidity Sweeps serve several important purposes:
• they highlight areas where stop liquidity has been absorbed;
• they help distinguish genuine breakouts from liquidity-driven false moves;
• they provide contextual insight for reversal or continuation scenarios when combined with market structure and imbalance analysis.
Rather than treating highs and lows as static support or resistance, the liquidity sweep methodology views them as objectives for price. The NinjaTrader Liquidity Sweeps Indicator supports this perspective by explicitly highlighting liquidity-taking events, allowing traders to focus on moments when price completes stop execution and reveals its true directional intent.
The NinjaTrader Liquidity Sweeps Indicator provides practical and convenient tools, allowing traders to adjust settings for different trading styles and approaches. These features include:
The indicator supports three sweep detection modes that describe how price behaves around swing highs and lows, where breakout attempts often occur. Each mode is designed to help traders distinguish genuine continuation moves from failed breakouts, reducing false signals and improving decision-making around key swing levels.
Combined Mode detects both immediate rejections and slower, multi-bar sweep formations within a single detection logic. This flexibility allows traders to adapt to different market conditions and timeframes while focusing on validated interactions with liquidity instead of raw price breakouts.
This parameter defines the minimum distance price must move beyond a swing high or swing low for a sweep to be considered valid. It can be configured in ticks or percentages. The filter removes minor price spikes and market noise, allowing traders to focus on meaningful liquidity events and avoid false sweep signals, especially on lower timeframes and during periods of high volatility.
Mitigation Mode determines how price must interact with a sweep zone for it to be considered mitigated. Available modes include Touch (High/Low), Full Fill (High/Low), Body Close Inside (Close), and % Fill (High/Low or Close). An additional Skip Immediate Mitigation (Bars) parameter allows traders to ignore premature zone interactions immediately after a sweep, helping to filter out weak or noisy reactions.
Swing Expiration limits the maximum number of bars between a swing point and the sweep event, preventing the use of outdated market structure. Sweep Zone Expiration controls how long a detected sweep zone remains active on the chart. These parameters help traders avoid working with stale liquidity and maintain a clean, relevant market context.
The indicator generates signals and alerts for confirmed sweeps and the first valid interaction with the sweep zone (Mitigation). All alerts can be individually enabled or disabled, allowing the indicator to be used purely as an analytical tool. Signals are also exposed via Signal Plots, enabling direct integration with NinjaTrader strategies and automated systems.
The indicator has the following parameters:
Alerts – Configure various types of alerts.
Liquidity Sweeps Mode – selects the sweep detection logic used by the indicator. Wick-Based Sweeps identify fast false breakouts where price briefly trades beyond a swing level and returns into the range. Break-and-Retest Sweeps confirm a sweep only if price fails to hold acceptance beyond the level and returns back through it after the initial break. Combined Mode detects both behaviors, allowing traders to adapt the logic to different market conditions and volatility profiles.
Retest Max Bars – defines the maximum number of bars the indicator will wait for a retest after the initial break of a swing level in Break-and-Retest and Combined modes.
Minimum Sweep Distance – defines the minimum distance price must move beyond a swing high or low to validate a sweep, configurable in ticks or percentages.
Sweep Zone Expiration (Bars) – sets how many bars a sweep zone remains active if it is not mitigated.
Swing Expiration (Bars) — limits the maximum number of bars that can pass between the formation of a swing point and the sweep event, preventing the use of outdated market structure levels.
Mitigation Mode – defines how price must interact with a sweep zone to be considered mitigated. Touch marks mitigation on the first entry into the zone using the High or Low price. Full Fill requires price to fully pass through the zone using High and Low. Body Close Inside requires the candle close to occur within the zone. % Fill considers mitigation once a specified portion of the zone is filled, using either High/Low or Close price, depending on the selected setting.
Skip Immediate Mitigation (Bars) – ignores sweep zone interactions occurring within the first N bars after a confirmed sweep, filtering premature or noise-driven reactions.
Sweep Detected Enable – enables sweep detection along with related alerts and chart markers.
Sweep Touch Enable – enables alerts and markers for the first valid interaction with a sweep zone based on the selected Mitigation Mode.
Swing Strength – controls swing sensitivity by defining how many bars on each side must confirm a swing high or low.
Show Swing Points – toggles the display of detected swing highs and lows on the chart.
Swing Labels Font Size – adjusts the font size of swing labels for better readability.
Max Displayed Swings – limits the number of most recent swing points displayed on the chart.
Sell-Side Sweep Color – sets the color for sell-side sweeps above swing highs.
Buy-Side Sweep Color – sets the color for buy-side sweeps below swing lows.
Expired Sweep Color – sets the color for sweep zones that are no longer active.

We can also turn the indicator into an Automated Trading Strategy with an extended set of custom functions (stop loss, take profit, trailing stop, risk management parameters, trading time limit, and others).
Request a free consultation from our team of professional programmers and find out the cost and timing of your project development.
We are committed to the ongoing development and refinement of our indicators. If you’ve spotted a bug, feel that something essential is missing, or have ideas that could make the indicator even better, just send us a message. Your feedback helps us improve and deliver tools that truly meet traders’ needs.
| Signal Plot Name |
Signal Plot Values | Description |
| Detected | Value | |
| Touch | Value |
Nordman Algorithms is not liable for any risk that you face using the software. Please, use the software on your own responsibility. The software is coded in accordance with a common known concept and Nordman Algorithms does not guarantee accuracy or trading performance of the software signals.
Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing one’s financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.
CFTC Rules 4.41 – Hypothetical or Simulated performance results that have certain inherent limitations. Unlike the results shown in an actual performance record, these results do not represent actual trading. Also, because these trades have not actually been executed, these results may have under-or over-compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated or hypothetical trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profits or losses similar to these being shown.
NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described herein, or any interest, ownership or otherwise, in any such product or service, or endorses, recommends or approves any such product or service.