# Wide-range Bar

Detects bars that traveled far beyond their recent context: by default the widest span in a 7-bar window, or 1.5x a 14-bar average range or ATR baseline. Qualifying bars are colored by where they close within their span, tagged with WRB labels reporting the exact expansion ratio, and covered by four alerts, with an optional volume filter and midpoint level.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jun 15, 2026.
- Access: free.
- Concepts: [Wide-range Bar](https://www.luxalgo.com/library/concept/wide-range-bar/) (primary)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=k5xi0gp29kh1j4ei1f1p16c5
- Page: https://www.luxalgo.com/library/indicator/wide-range-bar/

**Wide-range Bar** is the definitive clean build of [wide-range bar](https://www.luxalgo.com/library/concept/wide-range-bar/) detection: it flags bars that traveled far more than their recent context and reads conviction from where they closed. Two conventions ship as a switch: the widest span among its last N bars, or a bar exceeding a multiple of trailing average range or ATR, with the baseline taken one bar back so a bar never inflates its own threshold.

## How to Trade the Wide-range Bar?

- **Close near the high**: one-sided initiative buying, a breakout validation candidate.
- **Close near the low**: the bearish mirror. Initiative selling, a breakdown validation candidate.
- **Mid-range close**: unusual intensity without a winner, a two-sided fight, not a directional statement.

Events are evaluated on confirmed bars only; each tag's tooltip reports the range against its baseline and the close's position. An optional dotted level at the latest bar's midpoint serves as a pullback reference, and four alerts cover all the reads.

## Wide-range Bar Settings

- **Detection Method** (default Widest of Last N Bars): how a bar qualifies; the alternative is Multiple of Average Range / ATR.
- **Widest of Last (N) Bars** (default 7): window for the widest-of test.
- **Range Multiple** (default 1.5) and **Baseline** (default Average Range): threshold multiple and the trailing series it multiplies; the ATR option also counts gaps.
- **Baseline Length** (default 14): bars in the trailing baseline.
- **Extreme Close Zone (%)** (default 33): span portion from each extreme counting as a one-sided close.
- **Require Volume Expansion** (default off) with **Volume Average Length** (default 20): only flag bars whose volume beats its trailing average.
- Style toggles: **Show WRB Labels** and **Color Wide-range Bars** (on by default), **Midpoint of Latest WRB** (off by default).

## Frequently Asked Questions

### How is a wide-range bar different from a Marubozu?

A [Marubozu](https://www.luxalgo.com/library/indicator/marubozu/) is defined by shape (a body with little to no wick) regardless of size, while a WRB is defined by span relative to context regardless of shape. A bar can be both, the strongest read of the two.

### Which detection method should I use?

Widest of Last N Bars is rank-based and self-calibrating, mirroring the narrow-range NR7 convention in reverse. Multiple of Average Range / ATR demands a specific degree of expansion instead, and both float with the instrument's volatility.

### Does the volume filter block signals where no volume exists?

No. When a symbol reports no volume data the filter is bypassed rather than suppressing events. Where volume exists, a wide bar arriving on above-average volume shows genuine initiative, exactly what the filter isolates.

## Related indicators

- [Candle 2 Closure](https://www.luxalgo.com/library/indicator/candle-2-closure/) (Two-bar Reversal): markdown at https://www.luxalgo.com/library/indicator/candle-2-closure.md
- [Long Wick Detector](https://www.luxalgo.com/library/indicator/long-wick-detector/) (Pin Bar): markdown at https://www.luxalgo.com/library/indicator/long-wick-detector.md
- [The Strat](https://www.luxalgo.com/library/indicator/the-strat/) (Inside Bar): markdown at https://www.luxalgo.com/library/indicator/the-strat.md
- [N Bar Reversal Detector](https://www.luxalgo.com/library/indicator/n-bar-reversal-detector/) (Three-bar Reversal): markdown at https://www.luxalgo.com/library/indicator/n-bar-reversal-detector.md
- [Engulfing Bar](https://www.luxalgo.com/library/indicator/engulfing-bar/) (Chart & Candlestick Patterns): markdown at https://www.luxalgo.com/library/indicator/engulfing-bar.md
- [CBC Flip with Targets and Filters](https://www.luxalgo.com/library/indicator/cbc-flip-with-targets-and-filters/) (Two-bar Reversal): markdown at https://www.luxalgo.com/library/indicator/cbc-flip-with-targets-and-filters.md
- [Exhaustion Bar](https://www.luxalgo.com/library/indicator/exhaustion-bar/) (Chart & Candlestick Patterns): markdown at https://www.luxalgo.com/library/indicator/exhaustion-bar.md
- [Three Bar Reversal Pattern](https://www.luxalgo.com/library/indicator/three-bar-reversal-pattern/) (Three-bar Reversal): markdown at https://www.luxalgo.com/library/indicator/three-bar-reversal-pattern.md

---

Source: https://www.luxalgo.com/library/indicator/wide-range-bar/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
