# Moving Average Base (MA)

> QuantNexus indicator page for the base moving average line.

**Route**: `/quantnexus/indicators/ma/`

## What It Does

MA is the catalog's base moving average entry. In this data set it is also aliased to SMA and SimpleMovingAverage.

## Formula

`MA = average(price over period)`

## Parameters

- `period` - default `30`

## C++23 API

```cpp
#include <nonabt/indicators/ma.hpp>
auto ma = std::make_unique<nonabt::MA>(data().close(), 30);
```

## Common Usage

- Use MA as a baseline for trend direction.
- Combine fast and slow MA lines for crossover systems.
- Use it as a cleaner reference line when you want a generic moving average entry.
