OPEN-SOURCE SCRIPT
已更新

STBBT

52
📘 STBBT (Simple Two Bar Break Through)

Overview
STBBT plots breakout signals whenever the current bar breaks above or below the previous bar’s high/low.
It is a **simple and transparent breakout indicator**, designed to highlight every breakout event without complex filters.
If both directions are broken in the same bar, both signals are shown.

- "H" → Current bar’s high > Previous bar’s high
- "L" → Current bar’s low < Previous bar’s low
- Both can appear simultaneously on the same candle

---

Key Features
1. **Clear Breakout Logic**
• Detects when price moves beyond the previous candle’s range.
• High and Low breakouts are handled separately.

2. **Confirmation Options**
• Real-time mode: signals appear intrabar as soon as break occurs.
• Close-confirmation mode: signals appear only after bar close beyond previous high/low (reduces repainting).

3. **Visualization**
• "H" label above bars when high is broken.
• "L" label below bars when low is broken.
• Labels are gray with 60% transparency for a clean look.
• Optional guide lines for previous bar’s high/low.

4. **Dual Signal Support**
• If both high and low are broken in one bar, both H and L are displayed.

5. **Alerts**
• Alerts are available for both High and Low breakouts.
• Works in both real-time and close-confirmed modes.

---

How to Use
• Add STBBT to your TradingView chart.
• Choose between real-time or close-confirmed signals.
• Watch for H and L signals to identify momentum breakouts of the previous bar.
• Combine with other filters (trend, volume, higher timeframe) for stronger confirmation.

---

👉 In short:
**STBBT highlights simple, clean breakouts of the previous bar’s range.**
It shows H for high breaks, L for low breaks, and both if a candle breaks in both directions.
發行說明
📘 STBBT (Simple Two Bar Break Through)

Overview
STBBT is a minimal breakout indicator that marks when the current bar breaks above or below the previous bar’s high/low.
It focuses only on labels (H/L) without any guide lines, keeping the chart clean.

- "H" → Current bar’s high > Previous bar’s high
- "L" → Current bar’s low < Previous bar’s low
- If both happen in one candle, both labels appear.

---

Key Features
1. Simple breakout logic
• Detects when price exceeds the previous bar’s range.
• Separate conditions for high and low breaks.

2. Confirmation options
• Real-time: intrabar break detection.
• Close-confirmed: signals only after candle closes beyond high/low.

3. Visuals
• "H" above bars when high is broken.
• "L" below bars when low is broken.
• Labels in gray with 60% transparency for a clean display.

4. Alerts
• Alerts available for both High and Low breakouts.

---

How to Use
• Add STBBT to your chart.
• Choose between real-time or close-confirmed mode.
• Watch for H/L labels to identify momentum shifts.
• Combine with other analysis (trend, volume, higher timeframe) for stronger signals.

---

👉 In short:
**STBBT highlights clean two-bar breakout signals** with simple H/L markers only — no extra lines, no clutter.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。