Skip to content

linear_regression_channel — Linear Regression Channel

Category: Volatility · Composite

For Skill / AI Agent integrations

When you POST /api/indicators?explain=true, the response carries a knowledge block with this indicator's interpretation rubric. Pass it to your LLM together with the numeric data — don't make the LLM guess thresholds from memory. Full rubric lives at the Chinese page (summary_focus / signals / caveats).

This is a volatility indicator. Math is aligned with TradingView Pine Script.

Parameters

ParameterTypeDefault
lengthint100
devlenfloat2

Output columns

Column
lr_lower
lr_mid
lr_slope
lr_upper

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

The full description, signal interpretation, caveats and analysis focus points are documented in Chinese at:

linear_regression_channel (中文详情)

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


Auto-generated by scripts/sync-indicators.mjs from engine_indicator_knowledge + engine runtime introspect. Manual edits will be overwritten on next sync.

AI trading infrastructure