OPEN-SOURCE SCRIPT

Breakout Trend Bar Alerts

468
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:

  • 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.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.