Tight Range Breakout
- インディケータ
- バージョン: 2.2
- アクティベーション: 5
Finds only the tightest price ranges on any symbol and timeframe, marks breakouts and false breakouts, and alerts you on PC and mobile. No repaint.
Price often moves in a tight range before a big move. The hard part is knowing which range is really tight.
A range of $10 on gold can be quiet one day and wild the next. A box drawn by eye, or with a fixed distance, cannot tell the difference. Tight Range Breakout measures every range against the market's own recent behaviour, so it only marks the ranges that are truly unusual for that symbol and timeframe.
What it does
- Finds compression boxes objectively. Each range is scored by its width, the current volatility and how long price has stayed inside it. A box appears only when that score ranks among the tightest ranges of recent history (the tightest 25% by default).
- Filters out trending markets. An optional Choppiness filter makes sure the box forms while the market is moving sideways.
- Marks the breakout. When a candle closes beyond the box (or touches the level, if you prefer), the box turns green or red and an arrow marks the breakout candle.
- Detects false breakouts. If price closes back inside the box within a few candles, the box turns yellow and an FB label marks the furthest point of the failed move.
- Expires old boxes. A box that waits too long without a breakout is closed in grey, and the indicator looks for the next one.
- No repaint. Boxes, breakouts and false breakouts are calculated on closed candles only.
One setting for every market
Everything is measured in volatility units and ranked against the symbol's own history. The same default settings work on gold, forex, indices and crypto, on any timeframe, with no need to change pips or dollar values.
The panel
- Status: compression active, breakout up or down (with the confirmation count), breakout held, false breakout or no compression.
- Box: top, bottom, width, the exact breakout levels above and below, and how tight the box is compared with history.
- Live price: where price is now relative to the box, updated every second.
- Market now: current Choppiness (sideways, neutral or trending), how tight the current range already is, ATR, and the false breakout rate of the last 50 breakouts on this chart.
- Candle countdown.
Hover over the label of any box to see its full details.
Alerts on PC and mobile
Turn on push notifications and receive a message on your phone when:
- a new compression box is detected, with its breakout levels,
- price breaks out up or down,
- (optional) a breakout fails and price returns inside the box.
The same message is never sent twice, even after the indicator reloads.
How to use it
- Attach the indicator to any chart. H1 and M30 are good starting points.
- Wait for a blue box. The dotted lines show the breakout levels.
- Plan your trade with your own method when price breaks out, or wait for the breakout to be confirmed as held.
- Use the false breakout rate on the panel as a warning: when it is high, the first breakout often fails.
This is an analysis tool. It does not place trades and does not promise profit. Combine it with your own risk management.
Inputs
Compression box
| Input | Default | What it does |
|---|---|---|
| Reference ATR period | 50 | Volatility used to measure the box |
| Box grows while width <= x ATR | 2.5 | Widest range that can still count as one box |
| Min / max candles in a box | 4 / 120 | Shortest and longest box |
| Tightest N % | 25 | Lower = fewer, stronger boxes |
| Percentile lookback | 500 | Candles the box is compared with |
| Require Choppiness / period / min | on / 14 / 50 | Box must form in a sideways market |
| Box expires after x its length | 3 | 0 = never expires |
Breakout
| Input | Default | What it does |
|---|---|---|
| Breakout trigger | Candle close | Touch (real-time), close, or close + extra distance |
| Buffer beyond the box | 0.1 ATR | Small distance price must clear |
| Close + distance | 0.25 ATR | Extra distance for the third trigger |
| False breakout within N candles | 3 | Close back inside within this many candles = false breakout |
Display
History candles to scan, boxes kept on the chart, breakout level lines and their length, colours, panel on/off and position.
Alerts
| Input | Default |
|---|---|
| Alert to mobile (push notification) | off |
| Popup alert on PC | off |
| Alert: compression detected | on |
| Alert: breakout up / down | on |
| Alert: false breakout | off |
Push notifications need your MetaQuotes ID in Tools > Options > Notifications. Alerts work on live charts only, not in the Strategy Tester.
