Double Exponential Moving Average Envelope (DEMAENVELOPE)

StratCraft indicator page for the DEMA envelope channel.

Route: /indicators/demaenvelope/

What It Does

DEMA Envelope wraps a channel around the double exponential moving average to support breakout and pullback logic.

Formula

Envelope = DEMA +/- perc%

Parameters

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

C++23 API

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

Common Usage

  • Use DEMA Envelope for dynamic breakout detection.
  • Combine it with trend filtering.
  • Helpful for fast-moving markets that still need a smooth reference line.

Practical Pattern

Price breaking the envelope can signal acceleration; returning inside can signal normalization.