Appearance

Personalize your experience

Mode
Accent Color
Direction
Dual Regression Channel

Dual Regression Channel

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 parallel, so it can measure a converging or diverging range instead of assuming a constant width.

Theory & Background

Every other fitted channel in this family computes a single and then offsets it — by a , by the extreme residuals, by an multiple. All three are symmetric about one slope, which means their boundaries are always . There is only one slope in the model, so a market whose highs and lows are moving at different rates cannot be represented at all.

That is exactly the market this tool exists for. Triangles, wedges and broadening formations are all defined by the upper and lower envelopes having different slopes. Fitting each boundary separately is the only way to that difference rather than assume it away, and the difference is the number worth having: the gap between the two slopes is how fast the range is closing or opening, per bar.

The construction is a straightforward application of ordinary least squares to two series instead of one. Fitting a line to swing highs and another to swing lows is what a chartist does by when a wedge; doing it by least squares removes the discretion about which pivots to honour, and produces a slope for each envelope rather than a drawn impression of one. Classical pattern analysis — Schabacker, Edwards and Magee,Bulkowski — catalogues the resulting shapes extensively; what it does not supply is a rate of , which is what this measures.

ℹ
Note:This is the counterpart to the . Both draw the same family of shapes — , converging, diverging, crossing. The is placed by , asserting where the boundaries are; this one derives them from the bars and reports where the puts them. Same division of labour as versus .

Tool Design & Behavior

The tool takes 2 clicks, which select a . It then fits one least-squares line through the highs of the bars in range and another through the lows, and draws each as a boundary. The centre line, when shown, is the midline between them.

The minimum sample is five bars, higher than the three the single-fit channels require. Two lines are being fitted here, and a channel whose slopes differ because four bars happened to fall that way is measuring noise rather than a structure. Below five bars the tool draws a dashed placement guide instead of a channel.

Highs and lows are not configurable. There is no price-source control, because the tool measures the range envelope and fitting both boundaries to the same series would collapse them onto one line. This is the one fitted channel in the family without a Source setting, and the omission is deliberate.

The anchors select a sample; they do not the channel. Only the time of each matters, hence the resize on both grips. Dragging one changes which bars are fitted, not where the lines go. There is no grip, because both boundaries come from the .

The centre line is taken as the midpoint between the two boundaries rather than as a third fit through the closes. A fit to closes would be a different line that merely happens to sit nearby, and the midline is what actually bisects the channel when the boundaries have different slopes.

Anatomy

Fitted to the highsFitted to the lowsconverging
Each boundary is fitted to its own series. The marked bars are the highs and lows the two lines were fitted through, and the slopes differ, so the channel converges.
Channel boundary Fitted line Deviation / volatility band Price action Bar that defines a boundary
Upper boundary
Least-squares fit through the highs of the sample. Tagged “highs” in the price labels.
Lower boundary
Least-squares fit through the lows. Tagged “lows”.
Shape
converging, diverging or — the ’s summary of what the two slopes are doing. Only reported as non-parallel once the change is material relative to the current width.
r highs / r lows
Pearson correlation for each fit separately, signed like its slope. Two numbers because there are two lines, and one can be orderly while the other is noise.
Width
Channel height in price at the first bar of the sample and at the last, shown as a transition. This is the made concrete.
Apex in
Bars from the last sample bar until the boundaries would meet, when converging. Shown only while the channel is closing.
n
Bars in the sample.

Visual Configuration

Fit statistics
Show , both correlations, the transition, the apex estimate and n while selected or hovered.
Upper / lower line
Independent colour, , dash and per boundary. Worth using here — the two lines are separate measurements, not two halves of one.
Centre line
Style for the midline. Shown by default.
Background
Channel fill with adjustable . Stays correctly drawn when the boundaries .
Colour by direction
Tint the fill by the channel’s overall slope rather than its stroke colour.
Extend
Run the boundaries to the left edge, the edge, both, or neither. Extending right is how you see where a converging channel would meet.
Price labels
Print each boundary’s price, tagged with which series it was fitted to.
Width readout
Show the channel height in price and percent, measured at the midpoint of the span — the only single figure that means anything for a converging channel.
★
Pro tip:There is no Deviation or Multiplier control, because nothing here is offset from anything. Both boundaries are fits, so the channel’s is entirely determined by the and the bars you selected.

Trading Theory & Application

Wedge and breakout: a converging channel is , and compression resolves. Trade the break of whichever boundary gives way, with the stop on the far side of the channel and a measured-move target from the channel’s at its widest . The gives that starting height directly.

Timing from the apex estimate: the apex figure is the number of bars until the boundaries meet at the current rates. Structures usually resolve well before reaching the apex — commonly somewhere in the last third of the way there — so the estimate is most useful as a rather than a date. A with a hundred bars to its apex is not yet urgent; one with eight is.

Diverging channels (broadening formations): when the is increasing, volatility is and both boundaries are moving away from price. These are poor mean-reversion environments because the target keeps receding, and they usually signal indecision rather than trend. Reduce size rather than trying to trade the edges.

Reading the two correlations separately: this is the tool’s most distinctive output. A strong r highs with a weak r lows means resistance is behaving in an orderly, trendable way while support is erratic — so the upper boundary is tradeable and the lower is not. Acting on the strong side only is a more defensible use of the than treating both edges as equivalent.

How to Draw

  1. 1
    Select a single structure
    Click the start and end of one consolidation or trend. Only the times matter. Spanning two structures produces two meaningless fits.
  2. 2
    Give it enough bars
    Five is the minimum; a few dozen is where the slopes become trustworthy. If nothing draws, the selection is too short.
  3. 3
    Read the shape
    Check whether the says converging, diverging or . That is the tool’s primary answer, and it is often not the one your eye gave.
  4. 4
    Check both correlations
    Weak on both means there is no structure to . Strong on one and weak on the other means only one boundary is worth trading.
  5. 5
    Extend right
    Carry the boundaries forward to see the , and read the apex estimate for a rough resolution .
ℹ
Note:If you want to draw the wedge by rather than fit it — because you have specific pivots in mind that a least-squares fit will not honour — use the instead.

Interpretation

  • The only calls a channel converging or diverging once the change over the sample is material relative to the current . slope differences on noisy are reported as , which is the honest answer.
  • A converging channel with two strong correlations is a textbook and the -quality signal this tool produces.
  • with weak correlations is a coincidence of the sample, not a structure. Extend or move the anchors and it will usually vanish.
  • The apex estimate is a linear extrapolation of two fitted slopes and nothing more. It describes the sample, not the .
  • The boundaries are fitted to every bar’s high and low, not to swing pivots. So a fitted boundary usually sits inside the extreme wicks rather than touching them — unlike a -drawn wedge, and unlike the channel, which is built to .
  • Upper and lower styling follows screen position, so if a converging channel is past its apex the boundaries and the two styles swap.

Advanced Techniques

Against a channel on the same bars: ’s boundaries the two most extreme bars and are always ; these are fitted to all the highs and all the lows and need not be. both shows how much of the apparent range is set by outliers — if the Raff channel is far wider, one or two bars are doing the work and the measured here is the more representative figure.

Confirming a pattern call: if you believe you are looking at an , the upper slope should be near zero and the lower clearly positive. The two slopes turn a pattern claim into something checkable, and frequently disconfirm it — many “triangles” turn out to have two sloping boundaries and be wedges instead.

the sample forward: draw the channel over one , then move both anchors forward together by a amount. A rate that is increasing means compression is accelerating and resolution is closer than the raw apex figure suggests.

Volume alongside : genuine is usually accompanied by volume, and the break by expanding volume. A channel that converges while volume stays flat or rises is more likely two unrelated trends being fitted than a real compression.

Common Mistakes

!
Caution:Do not read the boundaries as -drawn trendlines. They are fitted through every high and every low, so they will not the extreme wicks the way a manually drawn wedge does. A boundary that price has already traded through is normal here.
!
Caution:Do not trade the apex estimate as a date. Compressions resolve early far more often than they reach their apex, and the estimate assumes both slopes continue unchanged — which is precisely what a resolution stops being true.
!
Caution: on a short sample is close to meaningless. Two fits over five or six bars will almost always have slightly different slopes, which is why the requires a material change before naming a .
ℹ
Note:Dragging an changes the sample, so both fits and therefore both boundaries recompute. Nothing about this can be adjusted by .

References & Further Reading

  • 1.Encyclopedia of Chart Patterns — Thomas N. Bulkowski
  • 2.Technical Analysis of Stock Trends — Robert D. Edwards & John Magee
  • 3.Technical Analysis and Stock Market Profits — Richard Schabacker (1932)
  • 4.Linear Regression — Investopedia
  • 5.Triangle Patterns — A Complete Guide — Investopedia
  • 6.Trading Systems and Methods — Perry J. Kaufman

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…

  • 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…

  • ATR Channel

    Charts / Drawing Tools / 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…

  • 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…

  • 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 →