# Zero Lag Indicator Oscillator (ZEROLAGINDICATOROSC)

> QuantNexus indicator page for distance from the zero-lag indicator baseline.

**Route**: `/quantnexus/indicators/zerolagindicatorosc/`

## What It Does

ZEROLAGINDICATOROSC measures how far price is extended away from the zero-lag indicator.

## Formula

`Oscillator = Price - ZLIndicator(period, gainlimit)`

## Parameters

- `period` - default `30`
- `gainlimit` - default `50`
- `_movav` - default `EMA`

## C++23 API

```cpp
#include <nonabt/indicators/zerolagindicatorosc.hpp>
auto zlOsc = std::make_unique<nonabt::ZEROLAGINDICATOROSC>(data().close(), 30, 50, "EMA");
```

## Common Usage

- Use the zero line for trend confirmation.
- Pair it with ZLIndicator or its envelope for extension checks.
- Helpful for pullback, momentum, and reversion signals.
