All indicators

Range Detector

By LuxAlgoOct 3, 2023

Static chart image

Range Detector finds sideways ranges automatically and draws them as they form, sparing traders the manual work of boxing consolidation by hand. Each zone is anchored back to where the range began, a gray background stamps the exact bar of detection, and a dotted midline marks the equilibrium between the extremities.

How to Trade the Range Detector?

  • Blue extremities: the range is intact. Both boundaries are unbroken and edge-to-edge rotation remains in play.
  • Green extremities: price has broken above the upper boundary, pointing to a potential uptrend.
  • Red extremities: price has broken below the lower boundary, hinting at a developing downtrend.
  • Dotted midline: the halfway mark between range maximum and minimum, a useful reference for judging rotations.

Extremities extend until a new range is detected, so previously broken levels keep serving as support and resistance long after the range resolves. When a fresh range overlaps an existing one, the two are merged and the earlier extremities are updated, keeping the chart coherent even in choppy conditions.

Range Detector Settings

  • Minimum Range Length: the minimum number of bars required before a range can be detected.
  • Range Width: an ATR multiplier controlling detected width. Lower values isolate smaller ranges, higher values can produce false positives.
  • ATR Length: the lookback of the Average True Range that defines that width.

Frequently Asked Questions

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5
Original indicatorBuilt in-house by LuxAlgo

The Library is free. Quant makes it yours.

Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.