OPEN-SOURCE SCRIPT
Breakout Trend Bar Alerts

Every trend has a starting point. It's rarely a gradual drift — it's one massive, decisive candle that breaks the market out of consolidation and kicks off a sustained move. Breakout Bar Alerts is built to catch that exact moment.
The indicator monitors price action in real time and identifies when a bar forms that dwarfs everything around it — the largest high-to-low range of any candle in the last 250 bars. These are the bars where conviction enters the market, weak hands get flushed, and a new trend begins. When one appears, you get an instant alert so you're never late to the move.
Why these bars matter:
Big range bars represent a sudden surge of momentum and volume-backed commitment from one side of the market. Bulls or bears have taken control decisively. What follows is often the beginning of a trend leg — not a random spike.
Built to filter out the noise:
The opening bar of every session is excluded entirely. That first chaotic candle never skews your data or triggers a false signal.
Only bars within your active session window are counted. Off-hours price action is completely ignored, so your benchmark is always built from real, tradeable market conditions.
Three alert conditions — Bull Breakout Bar, Bear Breakout Bar, or Both — so you only get notified for the setups you actually trade.
Inputs:
Best used on intraday timeframes (1m – 15m) on futures, forex, or high-volume equities. When this fires, pay attention — the trend may already be starting.
The indicator monitors price action in real time and identifies when a bar forms that dwarfs everything around it — the largest high-to-low range of any candle in the last 250 bars. These are the bars where conviction enters the market, weak hands get flushed, and a new trend begins. When one appears, you get an instant alert so you're never late to the move.
Why these bars matter:
Big range bars represent a sudden surge of momentum and volume-backed commitment from one side of the market. Bulls or bears have taken control decisively. What follows is often the beginning of a trend leg — not a random spike.
Built to filter out the noise:
The opening bar of every session is excluded entirely. That first chaotic candle never skews your data or triggers a false signal.
Only bars within your active session window are counted. Off-hours price action is completely ignored, so your benchmark is always built from real, tradeable market conditions.
Three alert conditions — Bull Breakout Bar, Bear Breakout Bar, or Both — so you only get notified for the setups you actually trade.
Inputs:
- Lookback Period — how many bars back to measure the largest range (default: 250)
- Enable Time Filter — restricts detection and calculations to your active trading session
- Active Session — define your session window in exchange time
- Bull / Bear colors — fully customizable
Best used on intraday timeframes (1m – 15m) on futures, forex, or high-volume equities. When this fires, pay attention — the trend may already be starting.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Jason Parker is the author of tradinghabits.com/ an editorial site on trading and investing.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Jason Parker is the author of tradinghabits.com/ an editorial site on trading and investing.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.