Indicators

Adaptive Regression Channel — an adaptive regression channel with a neat forecast

A flexible price channel on polynomial regression that adapts the window to volatility, keeps edges based on standard deviation, and softly extends ranges forward via a short Fourier forecast. The center recolors only on an actual price crossover — no chatter. A great tool for catching channel touches, inflections, and breakouts from consolidations in Spectra Charts.

Indicator cover

Theory

  • The idea is simple: take a local price segment, build a regression line/curve, and draw standard-deviation lines around it — that’s your “working corridor.”
  • To make the channel move with the market, the window length adapts to volatility: when the market is noisy — widen the window; when calm — shrink it.
  • The center line recolors only when price truly crosses to the other side (anti-chatter by bars), and we carefully extend the center and outer bands forward using a small Fourier forecast — in fact it’s not “guessing,” it’s a smooth extrapolation of the local rhythm; still, it’s important to understand that the future movement cannot be predicted 100:.
  • Additionally you can enable Fibonacci levels tied to the channel width.


How it works

  • Polynomial regression (linear or quadratic) builds the channel center.
  • A standard-deviation corridor forms inner/outer bounds for touches and overshoots.
  • The adaptive window reacts to current volatility via ATR.
  • Center recolor triggers only on a factual price cross through the center.
  • A Fourier forecast smoothly extends the center and bounds forward, keeping a readable rhythm.
  • Fibonacci lines scale from the standard corridor — handy for building your own strategies.

Interface screenshots


Parameters and impact

Window / adaptation

ParameterWhat it doesLowerHigher
Base window lengthStarting point for adaptationFaster reaction, more noiseSmoother center, later signal
Min/Max windowCorridor within which the length “breathes”Closer to priceMore stable in trend
Adaptation modeATR-adaptive or fixed lengthFixed — steadierATR — livelier to market
ATR — periodVolatility sensitivitySharper shiftsSmoother, more inert
ATR — smoothingCalms volatility metricsMore “clicks”Smoother, fewer false trips
Reaction strength (γ)How much length depends on ATRAggressive breathingMakes the channel conservative

Alignment

ParameterWhat it doesSuited for
Window placementAuto/centered/trailingIn trend — trailing; for history analysis — centered
Edge smoothingBlends estimates near window bordersSoft joint without jumps

Regression shape

ParameterWhat it doesWhen to use
Polynomial degreeLine (1) or parabola (2)Trend — linear; local bends — quadratic

Styling

ParameterWhat it doesNote
Overall opacityUnified intensity of lines/fillsKeep candles readable
Show envelopeInner/outer σ linesBasis of the visual analysis
Inner/outer widthσ multipliers for two beltsInner — touches; outer — extremes
Line thickness/colorsBorder visibilityContrast with chart theme
Show fillSoft zones between top/bottomHelps “see” the range
Zone colorsColors of inner/outer bandsUse opacity for saturation

Fibonacci levels

ParameterWhat it doesImpact
Levels modeBasic/extended/offBands built from σ — handy for targets/alerts

Fourier forecast

ParameterWhat it doesImpact
Enable forecastExtend center/channel forwardPlan take-profits/retests
Spectrum lengthHow much history to analyzeLess — faster reaction; more — steadier
Number of harmonicsHow many dominants to takeToo many = overfitting
HorizonExtension lengthNear-term tactics vs longer plans
WindowingHann/rectangularHann smooths spectral “ringing”

Center line

ParameterWhat it doesImpact
Show centerDraw the regression axisBasis for recolor and touch logic
Min bars between recolorsAnti-chatterLocks only a sustained side change
Center colors/thicknessTrend visibilityKeep contrast yet unobtrusive
Important: The channel width here is exactly σ (standard deviation) from the regression center. This gives stable “edges” that work well for touches/retests.

Practical presets

  • Alignment — trailing: the center “looks forward.”
  • Polynomial — linear: no excessive curvature.
  • Inner belt — working touches; outer — overshoots/targets.
  • Fourier forecast enabled for a gentle route extension.

Combinations

  • Flip Core: enter on Flip with follow-ups; use the channel for market context. Center recolor + inner-band touch = a strong setup.
  • Stoch Levels Overlay: confirm with 20/80 timing — channel edge bounces behave cleaner.
  • Trend Signals: trade in the channel’s direction; filter out touches against it.

Basic entry rules

Context

Center green/red + where price sits inside/at the channel edge.

Trigger

Touch of the inner/outer band or exit from it.

Confirmation

Candle impulse/pattern; use stoch/EMA ribbon if needed.

Plan

If forecast is on, use extended edges/Fibo for targets.

Risk

Don’t “chase” a touch if the candle already ran — wait for a retest.


FAQ