A breakout alert is easy to describe and easy to get wrong. The description is: tell me when this stock trades above where it has been trading. The part that goes wrong is that stocks poke above their recent range constantly, most of those pokes go nowhere, and an alert that fires on all of them is worse than no alert at all — you stop reading it by the second week.
This guide sets up a breakout alert that arrives in Telegram automatically, across a whole index rather than one symbol, with the confirmation that removes most of the noise. It also shows you how to check the rule against real history before you switch it on, because we have published a breakout test of our own that lost half the account and we would rather you found that out from a backtest than from your broker statement.
What you are actually setting up
Three decisions, in this order. Each one narrows the alerts you will receive:
- The universe — which stocks are even eligible. The S&P 500, the NASDAQ 100, a large-cap US list, or BTC and ETH.
- The trigger — what counts as a breakout. Almost always "price closes above its highest high of the last N bars".
- The confirmation — what has to also be true for the breakout to be worth your attention. This is the part most people skip and it is the part that decides whether the alert is useful.
Choosing the lookback
The lookback is how far back the high has to be the highest. It is the single dial that controls how often you get alerted:
| Lookback | What it means | Roughly |
|---|---|---|
| 10 bars | Above the last two weeks of daily highs | Frequent. Mostly noise. |
| 20 bars | Above the last month of daily highs | The common default. A reasonable starting point. |
| 50 bars | Above roughly a quarter of highs | Meaningfully rarer, meaningfully more significant. |
| 100+ bars | Multi-month or annual highs | Rare. A handful across an index per week. |
There is no correct number, but there is a useful way to think about it: your lookback should match how long you intend to hold. A 10-bar breakout is a statement about the last two weeks; it is not evidence about the next three months. If you are a swing trader holding for days, 20 to 50 is the sensible range.
The confirmation that matters most
The single most useful filter on a breakout is volume. A stock making a new high on ordinary volume is drifting. A stock making a new high on 150% or 200% of its average volume has had something happen — participants are acting, not just the absence of sellers.
This is not a guarantee of anything; plenty of high-volume breakouts fail immediately. What it does reliably do is cut the number of alerts you receive by a large factor while keeping the ones where something actually occurred. Given that the failure mode of alerting is being ignored, that trade is usually worth making.
Two other confirmations worth considering, one at a time rather than all at once: trend (price above its 200-period moving average, so you are only catching breakouts in things already going up) and relative strength (the stock outperforming the index). Adding every filter you can think of does not make a strategy better; it makes it fire almost never and fits it to the past.
Setting it up so it reaches Telegram
- Describe it in plain English. In the builder, type what you want — for example "alert me when an S&P 500 stock breaks above its 20-day high with volume 150% above average". It turns that into scanner blocks you can read and change. If it cannot do part of what you asked, it says so rather than quietly substituting something else.
- Check the blocks it produced. This matters. The rules are shown to you precisely so you can confirm the scanner is watching what you meant. A breakout block with the wrong lookback looks identical to a correct one from the outside.
- Pick the timeframe. Daily bars for swing setups, hourly if you want to see intraday breaks. The timeframe also controls how often the same ticker can re-alert.
- Connect Telegram once. Under Connections, link your Telegram account. No bot to register, no webhook to host.
- Backtest before you activate. Covered in the next section. Do not skip it.
- Turn the strategy on. It now watches the whole universe continuously and messages you when something clears every condition.
Test it before you turn it on
An alert tells you a condition happened. It does not tell you the condition was worth acting on. Those are different questions, and the second one is answerable in about a minute by replaying the rule against real historical bars.
We ran that test on a breakout ourselves and published it: a 50-bar breakout with volume confirmation, +6% target and −3% stop, across all 503 S&P 500 stocks. It lost roughly half the account over 81 trades. Not because breakouts are useless, but because that particular combination of lookback, confirmation and exits did not clear the bar it had to clear. You can read the full result in our breakout backtest guide.
That is the honest reason this section exists. We would rather you ran the test, saw a bad number and changed the rule than switched on an alert that quietly costs you money for three months. The backtester is on the free plan for exactly that reason.
A caveat that applies to every backtest, ours included: results use index membership as it stands today, so companies removed during the period are missing — and removals skew toward poor performers. Fills assume no slippage and no commissions. Both assumptions flatter the result.
What a good breakout alert looks like in practice
If your alert is firing more than a few times a day across an index, it is too loose and you will start ignoring it. If it has not fired in three weeks, it is too tight to be useful. Somewhere between those is a rule that earns the interruption.
The other measure worth watching: when an alert arrives, do you act on it? An alert you look at and dismiss is telling you the rule does not match how you actually trade. That is information — go back and change the confirmation rather than adding a second alert on top.
Related reading
- How to get free stock alerts sent to Telegram — the connection setup itself, for any strategy, not just breakouts.
- How to backtest a breakout strategy — the full −50% result, and what lookback and confirmation did to it.
- What win rate do you actually need? — the number your rule has to beat before it is worth running at all.
- How to set a TradingView alert with multiple conditions — if you would rather do it inside TradingView.
