OPEN-SOURCE SCRIPT

Sweep Tracker

By harryy27
Updated
The script marks the bullish and bearish sweeps. You can change the number of lines drawn by modifying the value of max_lines_count in the first line of the code. Limiting feature will be available from menu in the next update.
Release Notes
Bugfix - Bullish sweep alert was being triggered on bearish sweeps.
Release Notes
Bugfix - Intermediate candles crossing the sweep line
Candlestick AnalysisSupport and Resistance
harryy27

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer