OPEN-SOURCE SCRIPT

ICT Setup 04 [TradingFinder] SFP Sweep Liquidity Fake CHoCH/BOS

1 951
🔵Introduction

In smart money and ICT based trading, liquidity is never random. Some of the most meaningful market moves begin with a liquidity sweep where price intentionally hunts a previous swing high or swing low to trigger stop loss orders and absorb volume.

This manipulation is often followed by a sharp reversal from a reaction zone, creating ideal conditions for a high probability entry. This indicator is built to detect exactly that. It identifies a valid swing point and defines a reaction zone where price is likely to react.

For short setups, the zone lies between the swing high and the maximum of the candle’s open or close. For long setups, it’s drawn from the swing low to the minimum of the open or close.
When price returns to this zone and forms a qualified confirmation candle typically a doji or a small bodied candle that closes inside the zone while sweeping the liquidity this is a potential sign of reversal.

The candle must show both the sweep and the inability to hold above or below the key level, signaling a fake breakout or failed move. By combining elements of liquidity hunt, reaction zone rejection, and candle based entry confirmation, this tool highlights sniper entry points used by smart money to trap retail traders and reverse the trend. It helps filter out noise and enhances timing, making it ideal for trading in alignment with institutional order flow.

Long Position:

anlık görüntü

Short Position:

anlık görüntü


🔵How to Use

This indicator is designed to highlight precise moments where price sweeps liquidity and reacts within a high probability reversal zone. By identifying clean swing highs and lows and defining a smart reaction zone around them, it filters out weak fakeouts and focuses only on setups with strong institutional footprints.

The tool works best when combined with market structure analysis and is suitable for both scalping and intraday trading. Below is a breakdown of how to interpret the signals for long and short positions based on the visual setups provided.

🟣Long Setup

In a long setup, the indicator first detects a valid swing low where liquidity has likely accumulated below. A reaction zone is then drawn between the swing low and the minimum of the open or close of the swing candle.

When price returns to this zone, it must sweep the previous low and form a precise confirmation candle, such as a doji or a small bodied candle, that closes inside the zone. This candle must also reject the lower level, showing failure to continue downward.

As shown in the chart, once the liquidity grab is complete and the confirmation candle forms, a clean long signal is issued, indicating a potential bullish reversal backed by smart money behavior.

anlık görüntü


🟣Short Setup

In a short setup, the indicator identifies a swing high where buy-side liquidity is resting. It then constructs a reaction zone between the high and the maximum of the open or close of the swing candle. Price must return to this zone, sweep the swing high, and form a bearish confirmation candle inside the zone.

A classic example is a doji or rejection candle that traps breakout buyers and fails to hold above the previous high. In the provided chart, the price aggressively hunts the liquidity above the swing high, but the close within the reaction zone signals exhaustion, prompting a short signal with high reversal probability.

These setups represent moments where price action, liquidity behavior, and candle structure align to offer strong entries. By focusing on clean sweeps and reactive confirmations, the indicator helps traders stay on the side of smart money and avoid common breakout traps.

anlık görüntü


🔵Settings

🟣Logical settings

Swing period: You can set the swing detection period.

Max Swing Back Method: It is in two modes "All" and "Custom". If it is in "All" mode, it will check all swings, and if it is in "Custom" mode, it will check the swings to the extent you determine.

Max Swing Back: You can set the number of swings that will go back for checking.

Maximum Distance Between Swing and Signal:The maximum number of candles allowed between the swing point and the potential signal. The default value is 50, ensuring that only recent and relevant price reactions are considered valid.

🟣Display settings

Displaying or not displaying swings and setting the color of labels and lines.

🟣Alert Settings

Alert SFP: Enables alerts for Swing Failure Pattern.

Message Frequency: Determines the frequency of alerts. Options include 'All' (every function call), 'Once Per Bar' (first call within the bar), and 'Once Per Bar Close' (final script execution of the real-time bar). Default is 'Once per Bar'.

Show Alert Time by Time Zone: Configures the time zone for alert messages. Default is 'UTC'.


🔵Conclusion

This indicator is built for traders who rely on liquidity driven setups and smart money principles. By combining swing structure analysis with precision reaction zones and strict entry confirmation, it isolates the exact moments where price sweeps liquidity and fails to continue. These are high value points where institutional activity often reveals itself, and retail traps unfold.

Unlike generic breakout tools, this script focuses on quality over quantity by requiring both a sweep of a swing high or low and a confirmed rejection candle that closes inside a predefined zone. With customizable swing depth, proximity filters, visual highlights, and alert functions, it offers a complete framework for identifying and acting on fake breakouts with confidence. Whether you trade forex, crypto, or indices, this tool enhances your ability to align with true order flow and take entries where liquidity is most likely to shift.


Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.