StratCraft

Hull Moving Average Envelope (HMAENVELOPE)

QuantNexus indicator page for HMA envelope bands.

Route: /quantnexus/indicators/hmaenvelope/

What It Does

HMAENVELOPE builds upper and lower bands around the Hull Moving Average using a percentage offset.

Formula

Upper = HMA * (1 + percent / 100)
Lower = HMA * (1 - percent / 100)

Parameters

  • period - default 20
  • percent - default 2.0

C++23 API

#include <nonabt/indicators/hmaenvelope.hpp>
auto hmaEnv = std::make_unique<nonabt::HMAENVELOPE>(data().close(), 20, 2.0);

Common Usage

  • Use it to track trend with a channel.
  • Combine with HMA slope for regime filtering.
  • Useful for pullback and breakout setups.