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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.