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
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.