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.
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.
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, ...
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.
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.
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.
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.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.