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.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.