OPEN-SOURCE SCRIPT
Diupdate XRS Swing Failure Patterns + Alerts

XRS Swing Failure Patterns + Alerts is a modified version of the original LuxAlgo Swing Failure Pattern script.
The original SFP detection logic is credited to LuxAlgo. This XRS version keeps the core swing failure pattern concept while adding small modifications, styling adjustments, and dedicated alert conditions for multiple timeframes.
This indicator identifies bullish and bearish Swing Failure Patterns, where price sweeps a prior swing high or swing low and then closes back through the level. These patterns are commonly used to identify potential liquidity sweeps, failed breakouts, stop runs, and reversal areas.
Features include:
• Bullish and bearish SFP detection
• Swing length customization
• Optional volume validation
• Optional lower-timeframe volume validation
• Swing lines
• Confirmation lines
• Swing failure wick markers
• SFP labels
• Optional dashboard
• Alerts when an SFP prints on 1m, 5m, 15m, 1h, 4h, and 1D timeframes
This version was modified by XRStrading / chasingkilowatts to make the script better suited for discretionary trading workflows, especially for traders who use liquidity sweeps, session highs/lows, VWAP, order flow, and auction-market concepts.
Original Author: LuxAlgo
Modifications: XRStrading / chasingkilowatts
This script is based on original LuxAlgo work and remains subject to the original attribution and license terms.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Use at your own discretion.
The original SFP detection logic is credited to LuxAlgo. This XRS version keeps the core swing failure pattern concept while adding small modifications, styling adjustments, and dedicated alert conditions for multiple timeframes.
This indicator identifies bullish and bearish Swing Failure Patterns, where price sweeps a prior swing high or swing low and then closes back through the level. These patterns are commonly used to identify potential liquidity sweeps, failed breakouts, stop runs, and reversal areas.
Features include:
• Bullish and bearish SFP detection
• Swing length customization
• Optional volume validation
• Optional lower-timeframe volume validation
• Swing lines
• Confirmation lines
• Swing failure wick markers
• SFP labels
• Optional dashboard
• Alerts when an SFP prints on 1m, 5m, 15m, 1h, 4h, and 1D timeframes
This version was modified by XRStrading / chasingkilowatts to make the script better suited for discretionary trading workflows, especially for traders who use liquidity sweeps, session highs/lows, VWAP, order flow, and auction-market concepts.
Original Author: LuxAlgo
Modifications: XRStrading / chasingkilowatts
This script is based on original LuxAlgo work and remains subject to the original attribution and license terms.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Use at your own discretion.
Catatan Rilis
Updating to fix the preview.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.
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.
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.