New AI Backtesting Assistant Launch!

Liquidity Sweeps

Feb 8, 2024

Static chart image
Price Action Based
Liquidity
Works on the Following Platforms
tradingviewSymbolTradingView
For free use on the TradingView platform
ninjatraderNinjaTrader
For free use on the NinjaTrader platform
metatrader4MetaTrader 4
For free use on the MetaTrader 4 platform
metatrader5MetaTrader 5
For free use on the MetaTrader 5 platform
thinkorswimThinkorswim
For free use on the Thinkorswim platform

The Liquidity Sweeps indicator detects the presence of liquidity sweeps on the user's chart, while also providing potential areas of support/resistance or entry when Liquidity levels are taken.

In the event of a Liquidity Sweep a Sweep Area is created which may provide further areas of interest.

USAGE

A Liquidity Sweep occurs when the price breaks through a liquidity level (further referred to as LqL), after which the price returns below/above the liquidity level, forming a wick.

The script provides 2 options when this can happen:

  • A wick passes a LqL after which the price quickly returns.
  • First the closing price breaks through a LqL. After a while, the price retests the LqL and forms a wick in the opposite direction.

indicator image

indicator image

The examples above show a bullish and bearish scenario of "a wick passing through an LqL where the price quickly comes back". This type of Liquidity Sweep is represented by a dotted line.

The following example shows a broken LqL, where the price retests the Liquidity zone and bounces back.

indicator image

Instead of a dotted line, this type of Liquidity Sweep is represented by a dashed line.

When a Liquidity Sweep takes place, this is indicated by highlighting the "wick-LqL" distance. This distance is also the basis for the Sweep Area (see next sub-section). A small 3-bar long dotted line starts from the opposite wick as an extra aid to determine potential support/resistance/entry, ...

indicator image

Colors can be set in the settings (here yellow and aqua blue instead of default colors for clarity).

Sweep Areas

The distance between the LqL and the maximum limit of the wick forms a Sweep Area, which can provide a potential support/resistance or entry zone.

indicator image

indicator image

These examples show both types of Liquidity Sweeps, followed by a box indicating the Sweep Area.

When the Sweep Area is mitigated or a certain amount of bars has passed (Settings - 'Max bars'), the boxes will no longer be updated.

indicator image

indicator image

In this case, the 'Trigger' label shows the bar where the high crossed a LqL, after which a red box starts between LqL and high.

The low of the 'Trigger' bar is the starting point of a short dotted line. Next to the 'Trigger bar' the high touches the Sweep Area before returning, providing a potential short entry. One bar further, another entry opportunity presents itself when the price breaks the small dotted line.

In the following bullish example, not only do we see opportunities when theLqL has been swept, but the following Sweep Area provides some potential entries.

The small green dotted lines also act as a guide where the price breaks above, then forms a small range, after which the price continues in an upward direction.

indicator image

indicator image

Here, the initial trigger on the left forms a Sweep Area that is quickly broken. However, the small green line provides a potential entry area later on. The price moves in a short channel before breaking above the LqL (green dashed line), providing more potential entries. Price retests this LqL, and goes below this level. The price remained around the previously formed channel, after which the price resumed its upward trend.

SETTINGS

Liquidity Sweeps

  • Swings: Period used for the swing detection, with higher values returning longer term Liquidity Levels.
  • Options:
    • Only Wicks: Only detects a Liquidity Sweep when a wick sweeps a previous wick
    • Only Outbreaks & Retest: Only detects a Liquidity Sweep when the price breaks a Liquidity Level, returns & retests the Liquidity Level, and forms a wick in the opposite direction.
    • Wicks + Outbreaks & Retest: Both options can be detected.

Sweep Area

  • Extend: Enables/Disables extension of the Sweep Area boxes.
  • Max Bars: Limit the extension to a certain number of bars.
  • Color Sweep Area box.

Trading is risky and many will lose money in connection with trading activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other markets involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools for charting platforms, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content or tool we provide.

Charts used on this site are by TradingView in which the majority of our tools are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com. TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2025 LuxAlgo Global, LLC.