PROTECTED SOURCE SCRIPT
Failed 2s - The Strat

Description:
This indicator detects and highlights "Failed 2" candlestick patterns from The Strat methodology — key price action setups signaling potential reversals or continuation points. It automatically identifies Failed 2 Down (Failed 2D) and Failed 2 Up (Failed 2U) signals by analyzing two consecutive bars, with special attention to price interaction at the 50% midpoint of the previous candle.
Visuals:
- Green upward triangles mark Failed 2 Down signals (bullish setups).
- Red downward triangles mark Failed 2 Up signals (bearish setups).
- Special signals that touch the 50% midpoint of the previous candle are emphasized but use the same shapes.
Alerts:
Built-in alert conditions let you receive notifications when these patterns occur, so you never miss a trade opportunity.
How to Use ALERTS in TradingView
- Paste this code into Pine Editor on TradingView.
- Click Add to Chart.
Set alerts:
- Click "Alerts" → "Condition" = your indicator name
- Choose the alert type (e.g. "Failed 2D Bar Alert")
- Set "Once per bar close"
- Customize the notification method (pop-up, app, email, etc.)
This indicator detects and highlights "Failed 2" candlestick patterns from The Strat methodology — key price action setups signaling potential reversals or continuation points. It automatically identifies Failed 2 Down (Failed 2D) and Failed 2 Up (Failed 2U) signals by analyzing two consecutive bars, with special attention to price interaction at the 50% midpoint of the previous candle.
Visuals:
- Green upward triangles mark Failed 2 Down signals (bullish setups).
- Red downward triangles mark Failed 2 Up signals (bearish setups).
- Special signals that touch the 50% midpoint of the previous candle are emphasized but use the same shapes.
Alerts:
Built-in alert conditions let you receive notifications when these patterns occur, so you never miss a trade opportunity.
How to Use ALERTS in TradingView
- Paste this code into Pine Editor on TradingView.
- Click Add to Chart.
Set alerts:
- Click "Alerts" → "Condition" = your indicator name
- Choose the alert type (e.g. "Failed 2D Bar Alert")
- Set "Once per bar close"
- Customize the notification method (pop-up, app, email, etc.)
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.