OPEN-SOURCE SCRIPT
TheStrat: Timeframe Continuity Failed 2

This indicator highlights TheStrat Failed 2 reversals only when the market is in Full Time Frame Continuity (FTFC) based on your chosen timeframes.
It is designed for high-probability directional trades with strong trend confirmation.
⸻
What It Detects
Failed 2 (Reversal Setup)
A Failed 2 occurs when price breaks one side of the previous candle, then fails and closes in the opposite direction:
• Failed 2D → Bullish reversal
• Failed 2U → Bearish reversal
This produces trapped breakout traders, often leading to explosive continuation.
FTFC measures whether price is above or below the opening price of higher timeframes.
If selected timeframes are all aligned, trend conviction is strong.
You can toggle ON/OFF each timeframe to define FTFC:
• 1H
• 1D
• 1W
• 1M
• 1Q
• 1Y
Only the timeframes you select must agree.
⸻
Modes for Different Styles
This indicator supports different trading horizons.
Swing Mode (Recommended for Options 1–5 Days Out)
Focus: Fast multi-day trend continuation
Ideal holding: 1–5 days
Best for: Weekly option expirations
Enable:
• 1H → Entry trigger timeframe
• 1D → Short-term direction
• 1W → Swing trend
• 1M → Macro push behind the move
• Q / Y not required
You end up catching the 1H reversal ignition, with Daily/Weekly/Monthly backing it.
Great for:
• Tuesday–Thursday continuation plays
• Multi-day directional runs
• “Ride the weekly magnitude”
Macro Mode (Long-Term Trend Filter)
Focus: Broad market bias
Ideal holding: weeks to months
Best for: Equity swing traders, leaps, ETF positioning
Enable:
• 1W
• 1M
• 1Q
• 1Y
• 1H / 1D not required
Used to ensure you’re riding institutional trend, not counter-trend noise.
Can be paired with a lower-TF entry tool like this indicator running in Swing Mode.
Label Up “F2D FTFC↑!” —— Bullish Failed-2 triggers FTFC → long setup
Label Down “F2U FTFC↓!” —— Bearish Failed-2 triggers FTFC → short setup
Small Circles —— Failed-2 continuation while FTFC remains intact
Optional Intrabar Alerts when price begins to form a Failed-2.
All plotted entries are close-confirmed unless you enable intrabar alerts.
It is designed for high-probability directional trades with strong trend confirmation.
⸻
What It Detects
Failed 2 (Reversal Setup)
A Failed 2 occurs when price breaks one side of the previous candle, then fails and closes in the opposite direction:
• Failed 2D → Bullish reversal
• Failed 2U → Bearish reversal
This produces trapped breakout traders, often leading to explosive continuation.
FTFC measures whether price is above or below the opening price of higher timeframes.
If selected timeframes are all aligned, trend conviction is strong.
You can toggle ON/OFF each timeframe to define FTFC:
• 1H
• 1D
• 1W
• 1M
• 1Q
• 1Y
Only the timeframes you select must agree.
⸻
Modes for Different Styles
This indicator supports different trading horizons.
Swing Mode (Recommended for Options 1–5 Days Out)
Focus: Fast multi-day trend continuation
Ideal holding: 1–5 days
Best for: Weekly option expirations
Enable:
• 1H → Entry trigger timeframe
• 1D → Short-term direction
• 1W → Swing trend
• 1M → Macro push behind the move
• Q / Y not required
You end up catching the 1H reversal ignition, with Daily/Weekly/Monthly backing it.
Great for:
• Tuesday–Thursday continuation plays
• Multi-day directional runs
• “Ride the weekly magnitude”
Macro Mode (Long-Term Trend Filter)
Focus: Broad market bias
Ideal holding: weeks to months
Best for: Equity swing traders, leaps, ETF positioning
Enable:
• 1W
• 1M
• 1Q
• 1Y
• 1H / 1D not required
Used to ensure you’re riding institutional trend, not counter-trend noise.
Can be paired with a lower-TF entry tool like this indicator running in Swing Mode.
Label Up “F2D FTFC↑!” —— Bullish Failed-2 triggers FTFC → long setup
Label Down “F2U FTFC↓!” —— Bearish Failed-2 triggers FTFC → short setup
Small Circles —— Failed-2 continuation while FTFC remains intact
Optional Intrabar Alerts when price begins to form a Failed-2.
All plotted entries are close-confirmed unless you enable intrabar alerts.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.