OPEN-SOURCE SCRIPT
TheStrat Alerts - TPC Edition

## TheStrat Alerts - TPC Edition
Finally, an indicator that monitors and sends alerts for TheStrat candle
combination setups — both as CONFIRMED signals and as EARLY WARNING
(pre-close) heads-up alerts, so you don't have to sit and watch every
ticker and timeframe yourself.
**How does the indicator work?**
The script labels every closed candle as a 1 (inside), 2u/2d (directional),
or 3 (outside) bar based on whether it broke the prior candle's high
and/or low. It then watches for specific sequences of these labels
(actionable setups) and fires an alert using TradingView's built-in
alert system.
**Two alert tiers:**
- Early Warning — fires the moment the precursor bars close, before the
live bar has done anything (e.g. "2-1-?" — watch for a developing 2-1-2)
- Confirmed — fires once the live bar has actually broken the required way
**Setups covered:**
2-1-2 · 3-1-2 · 1-2-2 reversal · 3-2-2 reversal · 2-2 reversal watch ·
Randy Jackson · Pivot Machine Gun (5x consecutive 2s) · Failed 2u/2d ·
1-3 Nirvana · 50% retracement after a 2u/2d
**Full Timeframe Continuity (FTFC):**
Optional filter that only allows directional alerts when Hour/Daily
(and optionally Weekly/Monthly) candles are aligned. 2-1-2 has no
directional bias and is exempt from this filter.
**To enable:**
1. Add the indicator to your ticker/timeframe of choice
2. Open the indicator settings (cog wheel) and toggle which setups
you want alerted on
3. Use TradingView's "Create Alert" feature, set the condition to
one of this indicator's alertconditions, and choose "Once Per Bar"
for Early Warning alerts or "Once Per Bar Close" for Confirmed alerts
*This indicator is not market or timeframe specific — apply it to any
ticker/timeframe combination you trade.*
Finally, an indicator that monitors and sends alerts for TheStrat candle
combination setups — both as CONFIRMED signals and as EARLY WARNING
(pre-close) heads-up alerts, so you don't have to sit and watch every
ticker and timeframe yourself.
**How does the indicator work?**
The script labels every closed candle as a 1 (inside), 2u/2d (directional),
or 3 (outside) bar based on whether it broke the prior candle's high
and/or low. It then watches for specific sequences of these labels
(actionable setups) and fires an alert using TradingView's built-in
alert system.
**Two alert tiers:**
- Early Warning — fires the moment the precursor bars close, before the
live bar has done anything (e.g. "2-1-?" — watch for a developing 2-1-2)
- Confirmed — fires once the live bar has actually broken the required way
**Setups covered:**
2-1-2 · 3-1-2 · 1-2-2 reversal · 3-2-2 reversal · 2-2 reversal watch ·
Randy Jackson · Pivot Machine Gun (5x consecutive 2s) · Failed 2u/2d ·
1-3 Nirvana · 50% retracement after a 2u/2d
**Full Timeframe Continuity (FTFC):**
Optional filter that only allows directional alerts when Hour/Daily
(and optionally Weekly/Monthly) candles are aligned. 2-1-2 has no
directional bias and is exempt from this filter.
**To enable:**
1. Add the indicator to your ticker/timeframe of choice
2. Open the indicator settings (cog wheel) and toggle which setups
you want alerted on
3. Use TradingView's "Create Alert" feature, set the condition to
one of this indicator's alertconditions, and choose "Once Per Bar"
for Early Warning alerts or "Once Per Bar Close" for Confirmed alerts
*This indicator is not market or timeframe specific — apply it to any
ticker/timeframe combination you trade.*
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.