PROTECTED SOURCE SCRIPT
LuxAlgo Swing Breakout Sequence modified by Burdy Trader

Swing Breakout Sequence [LuxAlgo] - Modified with Doji Detection
📊 OVERVIEW
This modified version of LuxAlgo's Swing Breakout Sequence indicator enhances the original pattern detection with an advanced Doji candlestick detection feature. The indicator identifies 5-point swing sequences (A, B, 1, 2, 3) and optionally extends to detect points 4 and 5 for complete breakout patterns.
🔍 KEY FEATURES
Automatic Swing Detection: Identifies bullish and bearish swing sequences based on customizable pivot length
Visual Sequence Mapping: Clear labeling of all sequence points (A, B, 1, 2, 3, 4, 5)
Doji Detection System (NEW): Detects doji candles forming outside the A-B range after point 2 is confirmed
Smart Timeout Logic: Automatically marks failed doji signals with red ✕ if point 3 doesn't confirm within 5 candles
Flexible Display Options: Toggle boxes, lines, paths, and customize colors
Strict/Relaxed Modes: Choose between strict equal H/L requirements or relaxed threshold-based matching for point 5
⚙️ CUSTOMIZATION
Swing Length: Adjust pivot detection sensitivity (default: 5)
Point 4 Beyond Point 2: Enable stricter point 4 placement rules
Show Point 5: Toggle double top/bottom detection
Doji Threshold: Control doji sensitivity (0.1 = 10% body-to-range ratio)
Auto/Manual Coloring: Smart color adaptation or custom scheme
💡 HOW TO USE
Bullish sequences form when price creates lower swing points that stay within defined ranges
Bearish sequences form when price creates higher swing points within ranges
Blue dots indicate potential continuation when doji appears outside A-B range
Red ✕ marks indicate doji signals that failed to confirm within 5 bars
Use confirmed sequences (points 1-4) for potential reversal/continuation setups
📈 TRADING APPLICATIONS
Identify potential reversal zones at point 5 (double top/bottom)
Spot early continuation signals via doji detection after point 2
Track multi-swing price structures for better context
Combine with volume/momentum indicators for confirmation
👍 SUPPORT THIS WORK
If you find this indicator helpful, please:
Like this script to show your appreciation
Follow me for more trading tools and updates
Share your feedback and suggestions in the comments
Your support helps me continue developing free tools for the trading community!
© CREDITS
Original indicator: Swing Breakout Sequence by LuxAlgo
Modified by: [Burdiga84]
This work is licensed under Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
creativecommons.org/licenses/by-nc-sa/4.0/
⚠️ DISCLAIMER
This indicator is for educational and informational purposes only. It is NOT financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Always conduct your own research and consult with a qualified financial advisor before making any trading decisions. The author and LuxAlgo assume no responsibility for any losses incurred from using this indicator.
📊 OVERVIEW
This modified version of LuxAlgo's Swing Breakout Sequence indicator enhances the original pattern detection with an advanced Doji candlestick detection feature. The indicator identifies 5-point swing sequences (A, B, 1, 2, 3) and optionally extends to detect points 4 and 5 for complete breakout patterns.
🔍 KEY FEATURES
Automatic Swing Detection: Identifies bullish and bearish swing sequences based on customizable pivot length
Visual Sequence Mapping: Clear labeling of all sequence points (A, B, 1, 2, 3, 4, 5)
Doji Detection System (NEW): Detects doji candles forming outside the A-B range after point 2 is confirmed
Smart Timeout Logic: Automatically marks failed doji signals with red ✕ if point 3 doesn't confirm within 5 candles
Flexible Display Options: Toggle boxes, lines, paths, and customize colors
Strict/Relaxed Modes: Choose between strict equal H/L requirements or relaxed threshold-based matching for point 5
⚙️ CUSTOMIZATION
Swing Length: Adjust pivot detection sensitivity (default: 5)
Point 4 Beyond Point 2: Enable stricter point 4 placement rules
Show Point 5: Toggle double top/bottom detection
Doji Threshold: Control doji sensitivity (0.1 = 10% body-to-range ratio)
Auto/Manual Coloring: Smart color adaptation or custom scheme
💡 HOW TO USE
Bullish sequences form when price creates lower swing points that stay within defined ranges
Bearish sequences form when price creates higher swing points within ranges
Blue dots indicate potential continuation when doji appears outside A-B range
Red ✕ marks indicate doji signals that failed to confirm within 5 bars
Use confirmed sequences (points 1-4) for potential reversal/continuation setups
📈 TRADING APPLICATIONS
Identify potential reversal zones at point 5 (double top/bottom)
Spot early continuation signals via doji detection after point 2
Track multi-swing price structures for better context
Combine with volume/momentum indicators for confirmation
👍 SUPPORT THIS WORK
If you find this indicator helpful, please:
Like this script to show your appreciation
Follow me for more trading tools and updates
Share your feedback and suggestions in the comments
Your support helps me continue developing free tools for the trading community!
© CREDITS
Original indicator: Swing Breakout Sequence by LuxAlgo
Modified by: [Burdiga84]
This work is licensed under Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
creativecommons.org/licenses/by-nc-sa/4.0/
⚠️ DISCLAIMER
This indicator is for educational and informational purposes only. It is NOT financial advice. Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Always conduct your own research and consult with a qualified financial advisor before making any trading decisions. The author and LuxAlgo assume no responsibility for any losses incurred from using this indicator.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.