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.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.