OPEN-SOURCE SCRIPT
TheStrat Failed 2 + 2 Continuation FTFC Alignment

TheStrat “Failed 2 + FTFC Alignment” spots a specific reversal/continuation pattern and layers on higher-timeframe confirmation so newer traders can focus on clean, high-probability setups.
WHAT IT LOOKS FOR
- A Failed 2 bar (price breaks the prior high/low but closes back through its open).
• Failed 2D (bullish): price takes out the previous low but finishes green.
• Failed 2U (bearish): price takes out the previous high but finishes red.
- The very next bar must be a true “2” continuation in the opposite direction (2U after a Failed 2D or 2D after a Failed 2U). This is the classic “2-2 reversal/continuation” from TheStrat playbook.
WHY IT MATTERS
When a failed 2 immediately resolves into a clean 2, it signals that buyers or sellers have seized control. These moves often become momentum pushes, especially if the broader timeframes agree.
HIGHER-TIMEFRAME FILTER
- Checks Monthly, Weekly, and 3-Day opens in real time.
- Bull signals only pass when all three are above their opens (full timeframe continuity up).
- Bear signals only pass when all three are below their opens (full timeframe continuity down).
WHAT YOU GET
- Optional labels that mark Failed 2 bars and the confirmed 2-2 signals.
- A compact “FTFC” icon on the exact bar where the continuation qualifies.
- Toggleable intrabar and bar-close alerts (select “Any alert() function call” for real-time alerts).
- A mini panel showing Monthly/Weekly/3-Day arrows so you can verify FTFC at a glance.
- Settings to require the continuation candle to be the same color as the failed bar for extra confirmation.
HOW TO USE
1. Add the script to your chart and confirm the panel arrows are aligned when icons appear.
2. Turn on the bar-close alert conditions for confirmed signals, or enable intrabar alerts for early warnings.
3. Combine the signal with your entry/stop rules (e.g., trigger on break of the signal bar and use the prior swing for risk).
This script serves as training wheels for traders learning TheStrat by automatically filtering for high-quality Failed-2 → 2 reversals that align across multiple timeframes.
WHAT IT LOOKS FOR
- A Failed 2 bar (price breaks the prior high/low but closes back through its open).
• Failed 2D (bullish): price takes out the previous low but finishes green.
• Failed 2U (bearish): price takes out the previous high but finishes red.
- The very next bar must be a true “2” continuation in the opposite direction (2U after a Failed 2D or 2D after a Failed 2U). This is the classic “2-2 reversal/continuation” from TheStrat playbook.
WHY IT MATTERS
When a failed 2 immediately resolves into a clean 2, it signals that buyers or sellers have seized control. These moves often become momentum pushes, especially if the broader timeframes agree.
HIGHER-TIMEFRAME FILTER
- Checks Monthly, Weekly, and 3-Day opens in real time.
- Bull signals only pass when all three are above their opens (full timeframe continuity up).
- Bear signals only pass when all three are below their opens (full timeframe continuity down).
WHAT YOU GET
- Optional labels that mark Failed 2 bars and the confirmed 2-2 signals.
- A compact “FTFC” icon on the exact bar where the continuation qualifies.
- Toggleable intrabar and bar-close alerts (select “Any alert() function call” for real-time alerts).
- A mini panel showing Monthly/Weekly/3-Day arrows so you can verify FTFC at a glance.
- Settings to require the continuation candle to be the same color as the failed bar for extra confirmation.
HOW TO USE
1. Add the script to your chart and confirm the panel arrows are aligned when icons appear.
2. Turn on the bar-close alert conditions for confirmed signals, or enable intrabar alerts for early warnings.
3. Combine the signal with your entry/stop rules (e.g., trigger on break of the signal bar and use the prior swing for risk).
This script serves as training wheels for traders learning TheStrat by automatically filtering for high-quality Failed-2 → 2 reversals that align across multiple timeframes.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.