# Weighted Moving Average Oscillator (WEIGHTEDMOVINGAVERAGEOSC)

> QuantNexus indicator page for distance from a weighted moving average baseline.

**Route**: `/quantnexus/indicators/weightedmovingaverageosc/`

## What It Does

WEIGHTEDMOVINGAVERAGEOSC measures how far price is extended away from a weighted moving average.

## Formula

`Oscillator = Price - WMA(period)`

## Parameters

- `period` - default `30`

## C++23 API

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

## Common Usage

- Use the zero line for momentum confirmation.
- Pair it with WMA or WMA envelope bands to detect extensions.
- Helpful for pullback timing and short-term mean reversion.
