# Weighted Moving Average Envelope (WMAENVELOPE)

> QuantNexus indicator page for a weighted moving average envelope.

**Route**: `/quantnexus/indicators/wmaenvelope/`

## What It Does

WMAENVELOPE surrounds a weighted moving average with upper and lower percentage bands.

## Formula

`Upper = WMA(period) * (1 + perc / 100)` and `Lower = WMA(period) * (1 - perc / 100)`

## Parameters

- `period` - default `30`
- `perc` - default `2.5`

## C++23 API

```cpp
#include <nonabt/indicators/wmaenvelope.hpp>
auto wmaEnvelope = std::make_unique<nonabt::WMAENVELOPE>(data().close(), 30, 2.5);
```

## Common Usage

- Use it to detect stretch around a weighted average baseline.
- Pair it with crossover or reversion logic.
- Helpful when you want more recent prices to carry more influence.
