# Dickson Moving Average (DMA)

> QuantNexus indicator page for Dickson Moving Average.

**Route**: `/quantnexus/indicators/dma/`

## What It Does

DMA is a Dickson-style moving average variant that adapts smoothing characteristics to market behavior.

## Formula

DMA is a custom moving average blend using period, gain limit, and harmonic period settings.

## Parameters

- `period` - default `30`
- `gainlimit` - default `50`
- `hperiod` - default `7`
- `_movav` - default `EMA`
- `_hma` - default `HMA`

## C++23 API

```cpp
#include <nonabt/indicators/dma.hpp>
auto dma = std::make_unique<nonabt::DMA>(data().close(), 30, 50, 7, "EMA", "HMA");
```

## Common Usage

- Use DMA as an adaptive trend line.
- Combine it with price crossovers.
- Helpful where you want custom smoothing behavior.

## Practical Pattern

DMA is typically used as the center of a trend-following or envelope-style setup.
