Appearance

Personalize your experience

Mode
Accent Color
Direction
ATR Channel

ATR Channel

Channels

A least-squares trend line with boundaries a multiple of average true range away on each side. A volatility channel over a range you select — it answers how much room a position needs, not how well the trend fits.

Theory & Background

Average true range was introduced by J. Welles Wilder Jr. inNew Concepts in Technical Trading Systems (1978). is the greatest of three distances: the bar’s own high minus low, the high minus the previous close, and the low minus the previous close. Including the previous close is what makes it honest about gaps — a bar that opens far from yesterday’s close and barely moves has still travelled a long way, and a plain high-minus-low would call it quiet.

measures movement, not direction. That makes it the unit for the two decisions that are about distance rather than direction: how far away a stop has to sit to survive normal noise, and how a position can be for a given risk budget. Volatility-based position sizing — risk a fraction of capital divided by some multiple of — is the standard application, and the core of the rules.

Wrapping a in bands is the same idea Chester Keltner’s channels and their modern ATR variants apply to a . Here the centre is aleast-squares fit through the bars you selected rather than an average, so the channel describes a specific stretch of trend rather than a rolling window.

Tool Design & Behavior

The tool takes 2 clicks, which select a . It then fits a least-squares line through the chosen over the bars in that range, computes over the same bars, and places a boundary a multiple of that ATR above and below the fit. A minimum of three bars is required before a fit exists.

Only the time of each matters. Their position is ignored, hence the horizontal resize on both grips. Dragging an changes which bars are in the sample; the lines then go where the puts them. There is no grip, because the width is a property of the bars — set the multiplier in the properties instead.

is averaged arithmetically over the selected , not with Wilder’s . This is a deliberate departure. Wilder’s recursion carries weight from bars before the , which would make the channel depend on the user did not select — two identical selections could then produce different channels depending on what preceded them. A drawing tool measures a bounded, user-chosen sample, so the average is taken over exactly that sample. The first bar of the slice has no previous close available and falls back to its own high minus low.

Each boundary end is converted from its own price independently, so a constant offset stays a constant price offset rather than becoming a constant pixel offset that would land at the wrong price on a .

How this differs from the Regression Trend

Both tools fit the same line. They disagree about what the bands should , and the difference is not cosmetic.

Regression Trend bands
dispersion around the fit. They widen when price wanders away from the trend and tighten when it tracks it — so they describe how well the trend explains the .
ATR Channel bands
bar range. They widen when individual bars get bigger and are unmoved by price drifting smoothly away from the line — so they describe how much room a position needs.

A quiet, steady gives narrow bands on both. A choppy market that ends where it started gives wide bands on both. But a market that trends hard in steady bars gives wide regression bands and narrow ones — and that divergence is the case where having both tools pays for itself. It says the trend is strong and orderly: price is far from where it started but each individual bar is calm.

Anatomy

ATR × 2bar rangeFit + ATR × kFit − ATR × kFitted lineBands measure bar range, not distance from the trend
The fit runs through the sample; the boundaries sit a multiple of average true range either side. The bracketed bar shows the range the bands are built from.
Channel boundary Fitted line Deviation / volatility band Price action Bar that defines a boundary
Fitted line
Least-squares fit through the selected bars, drawn as the centre line. Shown by default.
Upper / lower boundary
The fit plus and minus × multiplier, in price. Tagged with the multiplier in the price labels.
ATR
The average true range over the selected , in price. The shows it with the used.
Band
The actual boundary distance in price — × multiplier. The figure to use for stop distance.
n
Bars in the sample. Every other number is meaningless without it.

Visual Configuration

Source
Which bar the is fitted to: close, open, high, low, HL/2, HLC/3 or OHLC/4. Affects the fit only — always uses the full bar range.
ATR period
Bars averaged for the range , 2 to 200. Clamped to the length of the selection, so it can never reach outside the sample.
Multiplier
How many ATRs each boundary sits at, 0.25 to 6. Default 2.
ATR readout
Show the , the distance and the bar count while selected or hovered.
Upper / lower line
Independent colour, , dash and per boundary.
Centre line
Style for the fitted line.
Background
Channel fill with adjustable .
Extend
Run the lines to the left edge, the edge, both, or neither.
Price labels
Print each boundary’s price, tagged with the multiple.
★
Pro tip:The is clamped to the selection length, so selecting fewer bars than the period silently shortens the average rather than reaching outside the range. Watch then figure: if it is close to the , the is being computed from nearly the whole selection and the two settings are no longer independent.

Trading Theory & Application

Stop placement: this is the primary use. A stop inside one of entry will be hit by ordinary noise; the conventional distance is 1.5 to 3 ATR depending on how much room the needs. The gives that distance in price directly, so the channel boundary is a stop level you can read off the chart.

Position sizing: divide the risk you are willing to take on the trade by the distance to get a position size that carries the same risk regardless of the ’s volatility. This is what makes comparable across a portfolio — a share count risks wildly different amounts on a calm and a volatile instrument.

Mean reversion at the boundary: a close beyond a boundary means price has moved further than the recent bar range makes routine. In a range-bound market that is a candidate reversion trade back toward the fitted line. In a trending market the same event is more often continuation, so the higher timeframe context decides which reading applies.

Volatility regime detection: draw the channel over two adjacent periods of equal length. If the figure has materially increased, the market has entered a higher-volatility regime and every distance-based — stops, targets, size — needs rescaling.

How to Draw

  1. 1
    Select the trend
    Click the start and end of the stretch you want measured. Only the times matter. Include enough bars that both the fit and the mean something — the minimum is three, but a few dozen is more useful.
  2. 2
    Check the fit
    The dashed centre line should look like the trend you had in mind. If it does not, the selection is probably spanning two different regimes.
  3. 3
    Set the multiplier
    Adjust it until the boundaries sit just outside the normal swings. That multiple is then the number of ATRs your stop needs.
  4. 4
    Read the band
    The ’s figure is the boundary distance in price. Use it for the stop distance and for position sizing.
  5. 5
    Project forward
    Set Extend to to carry the boundaries past the sample. Remember they are extrapolated from the selected bars, not recomputed on new ones.

Interpretation

  • A rising across successive selections means larger bars: widen stops and reduce size, or the same now carries more risk than it did.
  • Bands much wider than the regression channel over the same bars mean the market is choppy at the bar level but the trend is orderly. Bands much narrower mean the opposite.
  • Price rarely closing outside a 2 ATR channel is normal. Repeated closes outside mean either a volatility expansion in or a fit that no longer describes the trend.
  • is directionless. A wide channel says nothing about which way price will go, only how far it is likely to travel.
  • Because is priced in the ’s own units, values are not comparable across instruments. To , divide the by price and compare the percentages — or use the , which works in percent by construction.

Advanced Techniques

Multiple channels for a : place two channels on the same selection with different multipliers — say 1 and 3. The inner boundary is a reasonable trailing-stop distance while a trade is working; the outer is the at which the move has gone far enough that the thesis is either confirmed or the position should be reduced.

Gap-heavy instruments: because includes the previous close, this channel is markedly wider than a high-minus-low on instruments that gap between sessions. That is correct behaviour and is precisely why Wilder defined it that way — a stop sized from intraday ranges alone will be gapped through.

Source selection for wide-ranged bars: fitting to HL/2 rather thanclose makes the centre line describe the middle of the trading range rather than the settlement . On instruments with long wicks the two lines can sit visibly apart, and HL/2 is usually the better centre for a channel whose purpose is to bound the range.

Common Mistakes

!
Caution:Do not read the boundaries as support and resistance. They are a volatility around a fitted line, not levels the market has respected. For levels the market actually turned at, use the or a .
!
Caution:Do not values across instruments or across timeframes without normalising. An ATR of 2.50 is on one and trivial on another, and the same instrument’s hourly and daily ATR are different quantities.
ℹ
Note:The channel does not recompute as new bars arrive. It describes the bars between its anchors. To include recent , the forward — which changes the sample and can move both the fit and the bands.

References & Further Reading

Related articles

  • Disjoint Channel

    Charts / Drawing Tools / Channels

    Two boundaries that start out parallel and can then be pulled apart. Neither the slopes nor the time extents are tied together, so the tool draws anything…

  • Dual Regression Channel

    Charts / Drawing Tools / Channels

    Two independent least-squares fits over the same bars — one through the highs, one through the lows. The only fitted channel whose boundaries need not be…

  • Envelope Channel

    Charts / Drawing Tools / Channels

    A hand-placed base line with boundaries a fixed percentage of price above and below it. The only channel whose width scales with the instrument, which makes…

  • Flat Top/Bottom Channel

    Charts / Drawing Tools / Channels

    One sloped boundary and one horizontal boundary. Place the flat line above the slope for a flat top (ascending triangle, bullish bias) or below it for a…

  • Parallel Channel

    Charts / Drawing Tools / Channels

    A trend-correction tool formed by two parallel trend lines. Price oscillates between dynamic support and resistance, offering repeated mean-reversion…

  • Price Channel

    Charts / Drawing Tools / Channels

    The highest high and the lowest low of a range you select, drawn as two horizontal levels. A Donchian channel over a window you chose rather than a rolling…

  • Raff Regression Channel

    Charts / Drawing Tools / Channels

    A least-squares fit with each boundary placed at the furthest bar on its own side, so the channel touches both extremes and encloses every bar in the…

  • Regression Trend

    Charts / Drawing Tools / Channels

    A linear regression line with symmetrical standard deviation bands. Unlike subjective trend lines, the regression channel is mathematically determined from…

  • Andrews' Pitchfork

    Charts / Drawing Tools / Pitchforks

    A three-point trend-channel study. A central median line projects the equilibrium of a move while two parallel tines act as dynamic support and resistance.

Browse all knowledge base articles →