OPEN-SOURCE SCRIPT
Sweep & React

Sweep and Reaction is a Fractal Sweep Reversal system designed for TradingView.
The indicator detects liquidity sweeps at 5-bar fractals and searches for an immediate market reaction afterward.
Core idea:
A sweep without an instant reaction is often weak. Therefore, only setups with direct momentum after the sweep are considered valid.
Features
* Detects 5-bar fractals (highs and lows)
* Valid setup:
* price sweeps a fractal
* closes back inside
* Entry only on the immediately following candle
* Stop-entry at the high/low of the sweep candle
* No delayed entries
* Adjustable Risk/Reward Ratio (RR)
* Visual risk/reward order box
* TP/SL result label below the trade
Daily statistics:
* winning trades
* losing trades
* net RR result
Session filter:
* entries only between 08:00 and 21:00
* Europe/Berlin timezone
* automatic daylight saving time adjustment
Settings
* Selectable signal timeframe
* Adjustable RR ratio
* Enable/disable order boxes
* Enable/disable trade result labels
* Enable/disable daily statistics
Best Use Cases
* Backtesting
* Intraday trading
* Liquidity sweep strategies
* Fractal reversal setups
* ICT / Smart Money Concepts
The indicator detects liquidity sweeps at 5-bar fractals and searches for an immediate market reaction afterward.
Core idea:
A sweep without an instant reaction is often weak. Therefore, only setups with direct momentum after the sweep are considered valid.
Features
* Detects 5-bar fractals (highs and lows)
* Valid setup:
* price sweeps a fractal
* closes back inside
* Entry only on the immediately following candle
* Stop-entry at the high/low of the sweep candle
* No delayed entries
* Adjustable Risk/Reward Ratio (RR)
* Visual risk/reward order box
* TP/SL result label below the trade
Daily statistics:
* winning trades
* losing trades
* net RR result
Session filter:
* entries only between 08:00 and 21:00
* Europe/Berlin timezone
* automatic daylight saving time adjustment
Settings
* Selectable signal timeframe
* Adjustable RR ratio
* Enable/disable order boxes
* Enable/disable trade result labels
* Enable/disable daily statistics
Best Use Cases
* Backtesting
* Intraday trading
* Liquidity sweep strategies
* Fractal reversal setups
* ICT / Smart Money Concepts
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.