OPEN-SOURCE SCRIPT
TBBT (Two Bar Break Through)

📘 TBBT (Two Bar Break Through)
Overview
TBBT is a simple breakout indicator that generates signals when the current bar breaks above or below the previous bar’s high/low.
Signals are marked in **green (60% transparent)** on the chart for both buy and sell conditions.
- Buy → Current high > Previous high and candle closes bullish
- Sell → Current low < Previous low and candle closes bearish
---
Key Features
1. Straightforward breakout logic
• Detects upward breakouts of the previous bar’s high.
• Detects downward breakouts of the previous bar’s low.
2. Visuals
• Green labels (60% transparency).
• “Buy” label plotted below breakout bars.
• “Sell” label plotted above breakdown bars.
3. Alerts
• Alerts available for both Buy and Sell conditions.
• Custom alert messages included.
---
How to Use
• Add TBBT to your chart.
• Watch for “Buy” or “Sell” signals to identify momentum shifts.
• Combine with other filters (trend, volume, higher timeframe analysis) for more reliable setups.
---
👉 In short:
**TBBT highlights simple two-bar breakout signals** with clean green markers for both directions.
Overview
TBBT is a simple breakout indicator that generates signals when the current bar breaks above or below the previous bar’s high/low.
Signals are marked in **green (60% transparent)** on the chart for both buy and sell conditions.
- Buy → Current high > Previous high and candle closes bullish
- Sell → Current low < Previous low and candle closes bearish
---
Key Features
1. Straightforward breakout logic
• Detects upward breakouts of the previous bar’s high.
• Detects downward breakouts of the previous bar’s low.
2. Visuals
• Green labels (60% transparency).
• “Buy” label plotted below breakout bars.
• “Sell” label plotted above breakdown bars.
3. Alerts
• Alerts available for both Buy and Sell conditions.
• Custom alert messages included.
---
How to Use
• Add TBBT to your chart.
• Watch for “Buy” or “Sell” signals to identify momentum shifts.
• Combine with other filters (trend, volume, higher timeframe analysis) for more reliable setups.
---
👉 In short:
**TBBT highlights simple two-bar breakout signals** with clean green markers for both directions.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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 sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
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.