Skip to content

linear_regression_channel — Linear Regression Channel ​

Category: Volatility · Composite

Reading the response

Use POST /api/indicators?explain=true to include interpretation notes at indicators[responseKey].explain. Read numeric results from columns and data in the same object.

This is a volatility indicator.

Parameters ​

ParameterTypeDefault
lengthint100
devlenfloat2

Output columns ​

Column
lr_lower
lr_mid
lr_slope
lr_upper

Native features ​

This indicator has no independent native feature signals.

Outputs regression position, bands and slope, without a confirmed breakout or trend event.

With signals: true, this indicator returns signals: null. Numeric values and charts remain available; no crossing, divergence or trade rules are added.

Example call ​

bash
curl -X POST -H "Authorization: Bearer mq_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "exchange": "binance",
    "market":   "perp",
    "symbol":   "BTCUSDT",
    "interval": "5m",
    "limit":    100,
    "calc":     [{"name": "linear_regression_channel", "params": {"length": 100, "devlen": 2}}]
  }' \
  https://api.mobiusquant.ai/api/indicators

Full interpretation guide ​

Field meanings, interpretation rules and usage notes are documented in Chinese at:

linear_regression_channel (中文详情)

atr · bollinger · chande_kroll_stop · donchian_channels · fibonacci_bollinger_bands · historical_volatility · keltner_channels · mass_index

AI trading infrastructure