OPEN-SOURCE SCRIPT
Actualizado 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.
Notas de prensa
Updating to fix the preview.Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.