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- default30gainlimit- default50_movav- defaultEMA
C++23 API
#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.
