OPEN-SOURCE SCRIPT
Trend Aligned SFP - Hyru

A powerful combination of the Swing Failure Pattern (SFP) detection with Weekly VWAP trend filtering for higher-probability trade setups.
What This Indicator Does
This indicator identifies Swing Failure Patterns (SFPs) - also known as "stop hunts" or failed breakouts - but only shows signals that align with the Weekly VWAP trend direction. This filtering dramatically reduces false signals by ensuring you're trading with the dominant market flow.
Alert Types
SFP Detected - Fires immediately when the pattern forms (on the wick bar)
SFP Confirmed - Fires when price closes beyond the confirmation level (safer entry)
Best Practices
Use on any timeframe (works great on 5m-1H for scalping, 4H-1D for swing trading)
Enable VWAP filter for cleaner, higher-probability signals
Wait for confirmation alerts for lower risk entries
Combine with your favorite support/resistance levels for confluence
What This Indicator Does
This indicator identifies Swing Failure Patterns (SFPs) - also known as "stop hunts" or failed breakouts - but only shows signals that align with the Weekly VWAP trend direction. This filtering dramatically reduces false signals by ensuring you're trading with the dominant market flow.
Alert Types
SFP Detected - Fires immediately when the pattern forms (on the wick bar)
SFP Confirmed - Fires when price closes beyond the confirmation level (safer entry)
Best Practices
Use on any timeframe (works great on 5m-1H for scalping, 4H-1D for swing trading)
Enable VWAP filter for cleaner, higher-probability signals
Wait for confirmation alerts for lower risk entries
Combine with your favorite support/resistance levels for confluence
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.