OPEN-SOURCE SCRIPT
Bolly Breakout Alerts

Bolly Breakout Alerts is a simple session-based Bollinger Band breakout indicator designed for 5-minute trading setups.
It monitors for a confirmed candle close above the upper Bollinger Band or below the lower Bollinger Band, then allows alerts to trigger only during the selected trading window. This helps filter out unnecessary notifications outside the periods you actually trade. 📈
The script uses standard Bollinger Band settings:
20-period SMA
2.0 standard deviations
Close price as the source
Included features:
5-minute candle close confirmation
Long breakout alerts above the upper band
Short breakout alerts below the lower band
Combined “Either Direction” breakout alert
Separate DAX and Dow trading windows
UK time handling using Europe/London
Visual breakout markers on the chart
Session filtering to reduce unwanted alerts
Default session windows:
DAX: 06:00–08:20 UK time
Dow: 12:30–14:50 UK time
⚙️ Important setup
After adding the indicator to your chart, open the indicator settings and select the correct market for the chart you are using:
If the indicator is on a DAX chart, select DAX
If the indicator is on a Dow chart, select DOW
This is important because the selected market determines which alert time window is used.
Adding the indicator to the chart does not automatically create a TradingView alert. An alert still needs to be created manually.
Open TradingView’s alert setup and select Bolly Breakout Alerts as the condition, then select Bolly Breakout - Either Direction if you want to be notified when a candle closes outside either the upper or lower Bollinger Band.
For best results, set the alert frequency to Once Per Bar Close. 🔔
If you change the selected market, session times, or other indicator settings after creating an alert, it is advisable to recreate the alert so TradingView uses the updated settings.
The indicator is intended as an alerting and monitoring tool rather than a complete trading system. It does not provide stop losses, profit targets, or trade management rules.
Best used on a 5-minute chart.
⚠️ Always test alerts and session behaviour before relying on them in live trading.
It monitors for a confirmed candle close above the upper Bollinger Band or below the lower Bollinger Band, then allows alerts to trigger only during the selected trading window. This helps filter out unnecessary notifications outside the periods you actually trade. 📈
The script uses standard Bollinger Band settings:
20-period SMA
2.0 standard deviations
Close price as the source
Included features:
5-minute candle close confirmation
Long breakout alerts above the upper band
Short breakout alerts below the lower band
Combined “Either Direction” breakout alert
Separate DAX and Dow trading windows
UK time handling using Europe/London
Visual breakout markers on the chart
Session filtering to reduce unwanted alerts
Default session windows:
DAX: 06:00–08:20 UK time
Dow: 12:30–14:50 UK time
⚙️ Important setup
After adding the indicator to your chart, open the indicator settings and select the correct market for the chart you are using:
If the indicator is on a DAX chart, select DAX
If the indicator is on a Dow chart, select DOW
This is important because the selected market determines which alert time window is used.
Adding the indicator to the chart does not automatically create a TradingView alert. An alert still needs to be created manually.
Open TradingView’s alert setup and select Bolly Breakout Alerts as the condition, then select Bolly Breakout - Either Direction if you want to be notified when a candle closes outside either the upper or lower Bollinger Band.
For best results, set the alert frequency to Once Per Bar Close. 🔔
If you change the selected market, session times, or other indicator settings after creating an alert, it is advisable to recreate the alert so TradingView uses the updated settings.
The indicator is intended as an alerting and monitoring tool rather than a complete trading system. It does not provide stop losses, profit targets, or trade management rules.
Best used on a 5-minute chart.
⚠️ Always test alerts and session behaviour before relying on them in live trading.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。