Zero Lag Exponential Moving Average Envelope (ZLEMAENVELOPE)

StratCraft indicator page for a ZLEMA-based envelope.

Route: /indicators/zlemaenvelope/

What It Does

ZLEMAENVELOPE surrounds the zero-lag exponential moving average with percentage bands.

Formula

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

Parameters

  • period - default 30
  • _movav - default EMA
  • perc - default 2.5

C++23 API

#include <nonabt/indicators/zlemaenvelope.hpp>
auto zlemaEnvelope = std::make_unique<nonabt::ZLEMAENVELOPE>(data().close(), 30, "EMA", 2.5);

Common Usage

  • Use it to detect stretched moves around a reduced-lag average.
  • Pair it with crossovers or pullback rules.
  • Helpful when you want a faster envelope than SMA or EMA bands.