---
title: lsma (LSMA)
description: "lsma API reference: parameters, response fields and example requests."
---

# `lsma` — LSMA

> Category: **Trend** · Standard

::: tip 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 trend indicator.

## Parameters

| Parameter | Type | Default |
|------|------|--------|
| `length` | int | `25` |
| `offset` | int | `0` |

## Output columns

| Column |
|------|
| `lsma` |



## Native features

This indicator has no independent native feature signals.

A fitted regression average, not a confirmed trend-switch 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": "lsma", "params": {"length": 25, "offset": 0}}]
  }' \
  https://api.mobiusquant.ai/api/indicators
```

## Full interpretation guide

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

[lsma (中文详情)](https://docs.mobiusquant.ai/zh/indicators/lsma)

## Related indicators

[alligator](./alligator) · [alma](./alma) · [ema](./ema) · [hma](./hma) · [hmm_regime](./hmm_regime) · [mcginley_dynamic](./mcginley_dynamic) · [mobius_trend](./mobius_trend) · [parabolic_sar](./parabolic_sar)
