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.)
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.