OPEN-SOURCE SCRIPT
Liquidity Sweep & Stop-Hunt Signals [ForexCracked]

🔵 OVERVIEW
Liquidity Sweep & Stop-Hunt Signals marks the price levels where stop orders pile up, detects the moment price runs those stops and reverses, and prints a BUY or SELL with a ready-made entry, stop and target. It is a focused reversal tool built around one of the most reliable behaviours in the market: the failed breakout.
Every signal confirms on candle close, so nothing repaints after the bar is done. A live dashboard shows the higher-timeframe bias, the last signal, and the current trade plan.
🔵 WHAT A LIQUIDITY SWEEP ACTUALLY IS
Stops cluster in obvious places: just above a recent swing high (buy-side liquidity) and just below a recent swing low (sell-side liquidity). Price is often drawn to those pools because that is where resting orders sit.
A sweep, or stop hunt, happens when price spikes through one of those swings, triggers the stops, and then closes back inside the range on the same candle. Breakout traders get trapped, and the reversal that follows is the trade this tool is built to catch.
🔵 HOW IT FINDS SIGNALS
• It tracks recent swing highs and lows as liquidity lines and keeps them on the chart until they are taken
• A SELL fires when a candle's high runs above a tracked swing high but its close falls back below it (buy-side liquidity swept, then rejected)
• A BUY fires when a candle's low runs below a tracked swing low but its close climbs back above it (sell-side liquidity swept, then rejected)
• An optional rejection-body filter ignores weak wicks and only accepts sweeps that close with a real body back inside the level
• An optional higher-timeframe EMA bias lets you take only trend-aligned sweeps, only counter-trend sweeps, or all of them
🔵 THE TRADE PLAN IT DRAWS
On every signal the tool draws three lines and labels them:
• Entry at the close of the sweep candle
• Stop just beyond the swept wick, with an ATR buffer so normal noise does not clip it
• Target at your chosen reward-to-risk multiple of that stop distance
You get a complete plan on the chart the moment a signal prints, with the exact prices in the label.
🔵 SETTINGS
• Swing Strength: how major a swing must be to count as liquidity (higher = fewer, cleaner levels)
• Levels Tracked: how many liquidity lines to keep per side
• Trend Filter: All sweeps, HTF trend only, or Counter-HTF only
• HTF Bias Timeframe and EMA Length: the higher-timeframe trend reference
• Require Rejection Body and Min Rejection Body (x ATR): quality filter for the sweep candle
• Stop Buffer (x ATR) and Reward : Risk: the trade-plan geometry
🔵 HOW TO USE
• Start on H1 or H4 for forex, gold and indices, with the HTF bias set one or two steps higher
• Treat a swept level plus a strong rejection close as the signal, not the wick alone
• Use Counter-HTF only when you want pure reversal setups at range extremes, and HTF trend only when you want continuation entries after a stop-run against the trend
• Size every trade off the drawn stop distance at a fixed account risk
• Raise Swing Strength on noisy pairs so only the meaningful liquidity gets tracked
🔵 BEST AND WEAKEST CONDITIONS
✅ Strongest at range extremes, session highs and lows, and around prior day or week highs and lows, where liquidity genuinely rests
⚠️ Weakest in fast one-way trends with no pullbacks, and on very low timeframes where every wick looks like a sweep
⚠️ DISCLAIMER
This tool identifies liquidity sweeps and marks reversal setups. It does not predict price. A swept level is a probability, not a certainty, and sweeps can extend further before reversing. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes; not financial advice.
Liquidity Sweep & Stop-Hunt Signals marks the price levels where stop orders pile up, detects the moment price runs those stops and reverses, and prints a BUY or SELL with a ready-made entry, stop and target. It is a focused reversal tool built around one of the most reliable behaviours in the market: the failed breakout.
Every signal confirms on candle close, so nothing repaints after the bar is done. A live dashboard shows the higher-timeframe bias, the last signal, and the current trade plan.
🔵 WHAT A LIQUIDITY SWEEP ACTUALLY IS
Stops cluster in obvious places: just above a recent swing high (buy-side liquidity) and just below a recent swing low (sell-side liquidity). Price is often drawn to those pools because that is where resting orders sit.
A sweep, or stop hunt, happens when price spikes through one of those swings, triggers the stops, and then closes back inside the range on the same candle. Breakout traders get trapped, and the reversal that follows is the trade this tool is built to catch.
🔵 HOW IT FINDS SIGNALS
• It tracks recent swing highs and lows as liquidity lines and keeps them on the chart until they are taken
• A SELL fires when a candle's high runs above a tracked swing high but its close falls back below it (buy-side liquidity swept, then rejected)
• A BUY fires when a candle's low runs below a tracked swing low but its close climbs back above it (sell-side liquidity swept, then rejected)
• An optional rejection-body filter ignores weak wicks and only accepts sweeps that close with a real body back inside the level
• An optional higher-timeframe EMA bias lets you take only trend-aligned sweeps, only counter-trend sweeps, or all of them
🔵 THE TRADE PLAN IT DRAWS
On every signal the tool draws three lines and labels them:
• Entry at the close of the sweep candle
• Stop just beyond the swept wick, with an ATR buffer so normal noise does not clip it
• Target at your chosen reward-to-risk multiple of that stop distance
You get a complete plan on the chart the moment a signal prints, with the exact prices in the label.
🔵 SETTINGS
• Swing Strength: how major a swing must be to count as liquidity (higher = fewer, cleaner levels)
• Levels Tracked: how many liquidity lines to keep per side
• Trend Filter: All sweeps, HTF trend only, or Counter-HTF only
• HTF Bias Timeframe and EMA Length: the higher-timeframe trend reference
• Require Rejection Body and Min Rejection Body (x ATR): quality filter for the sweep candle
• Stop Buffer (x ATR) and Reward : Risk: the trade-plan geometry
🔵 HOW TO USE
• Start on H1 or H4 for forex, gold and indices, with the HTF bias set one or two steps higher
• Treat a swept level plus a strong rejection close as the signal, not the wick alone
• Use Counter-HTF only when you want pure reversal setups at range extremes, and HTF trend only when you want continuation entries after a stop-run against the trend
• Size every trade off the drawn stop distance at a fixed account risk
• Raise Swing Strength on noisy pairs so only the meaningful liquidity gets tracked
🔵 BEST AND WEAKEST CONDITIONS
✅ Strongest at range extremes, session highs and lows, and around prior day or week highs and lows, where liquidity genuinely rests
⚠️ Weakest in fast one-way trends with no pullbacks, and on very low timeframes where every wick looks like a sweep
⚠️ DISCLAIMER
This tool identifies liquidity sweeps and marks reversal setups. It does not predict price. A swept level is a probability, not a certainty, and sweeps can extend further before reversing. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes; not financial advice.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
⚜️ Free TG Channel : t.me/fxcracked_backup
⚜️ Free Forex EAs, MT4 indicators, and Forex strategies to automate trades and boost profits. Perfect tools for traders of all levels! - forexcracked.com/
⚜️ Free Forex EAs, MT4 indicators, and Forex strategies to automate trades and boost profits. Perfect tools for traders of all levels! - forexcracked.com/
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
⚜️ Free TG Channel : t.me/fxcracked_backup
⚜️ Free Forex EAs, MT4 indicators, and Forex strategies to automate trades and boost profits. Perfect tools for traders of all levels! - forexcracked.com/
⚜️ Free Forex EAs, MT4 indicators, and Forex strategies to automate trades and boost profits. Perfect tools for traders of all levels! - forexcracked.com/
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.