OPEN-SOURCE SCRIPT
Session Breakout Detector (SBD)

Overview:
The Session Breakout Detector (SBD) is a TradingView indicator designed to identify and visualize breakouts from major trading sessions. It tracks a selected session (Tokyo, London, or New York) and detects price movements beyond the session's high or low, assisting traders in spotting potential breakout opportunities.
Key Features:
- Session Selection: Choose between Tokyo, London, or New York sessions.
- Breakout Detection Modes:
- Confirmed Bar: Detects breakouts when a candle closes beyond the session's range.
- Intrabar: Detects breakouts as soon as the price exceeds the session's high or low within a
candle.
- Visual Indicators:
- Displays session high, low, and range with a colored box for clear visualization.
- Marks breakouts with green (bullish) or red (bearish) triangles.
- Optional 50-Period SMA: Adds a 50-period Simple Moving Average to the chart for trend
analysis.
- Alerts: Configurable alerts for bullish and bearish breakouts.
Usage Instructions:
1. Select Session: Choose the desired trading session (Tokyo, London, or New York) from the
input settings.
2. Choose Breakout Detection Mode: Select between 'By confirmed bar' or 'By intrabars' based
on your trading preference.
3. Enable SMA (Optional): Toggle the 'Use SMA?' option to display the 50-period Simple Moving
Average.
4. Set Alerts: Configure alerts for breakout signals as per your trading strategy.
⚠️Note: This indicator is intended for informational purposes only and should not be construed as financial advice. Users are encouraged to conduct their own research and consider their individual risk tolerance before making trading decisions.
The Session Breakout Detector (SBD) is a TradingView indicator designed to identify and visualize breakouts from major trading sessions. It tracks a selected session (Tokyo, London, or New York) and detects price movements beyond the session's high or low, assisting traders in spotting potential breakout opportunities.
Key Features:
- Session Selection: Choose between Tokyo, London, or New York sessions.
- Breakout Detection Modes:
- Confirmed Bar: Detects breakouts when a candle closes beyond the session's range.
- Intrabar: Detects breakouts as soon as the price exceeds the session's high or low within a
candle.
- Visual Indicators:
- Displays session high, low, and range with a colored box for clear visualization.
- Marks breakouts with green (bullish) or red (bearish) triangles.
- Optional 50-Period SMA: Adds a 50-period Simple Moving Average to the chart for trend
analysis.
- Alerts: Configurable alerts for bullish and bearish breakouts.
Usage Instructions:
1. Select Session: Choose the desired trading session (Tokyo, London, or New York) from the
input settings.
2. Choose Breakout Detection Mode: Select between 'By confirmed bar' or 'By intrabars' based
on your trading preference.
3. Enable SMA (Optional): Toggle the 'Use SMA?' option to display the 50-period Simple Moving
Average.
4. Set Alerts: Configure alerts for breakout signals as per your trading strategy.
⚠️Note: This indicator is intended for informational purposes only and should not be construed as financial advice. Users are encouraged to conduct their own research and consider their individual risk tolerance before making trading decisions.
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.