# Zero Lag Exponential Moving Average Oscillator (ZEROLAGEXPONENTIALMOVINGAVERAGEOSC)

> QuantNexus indicator page for the distance from a zero-lag exponential moving average.

**Route**: `/quantnexus/indicators/zerolagexponentialmovingaverageosc/`

## What It Does

ZEROLAGEXPONENTIALMOVINGAVERAGEOSC measures how far price is extended away from a zero-lag EMA baseline.

## Formula

`Oscillator = Price - ZLEMA(period)`

## Parameters

- `period` - default `30`
- `_movav` - default `EMA`

## C++23 API

```cpp
#include <nonabt/indicators/zerolagexponentialmovingaverageosc.hpp>
auto zlemaOsc = std::make_unique<nonabt::ZEROLAGEXPONENTIALMOVINGAVERAGEOSC>(data().close(), 30, "EMA");
```

## Common Usage

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