StratCraft

Smoothed Moving Average (SMMA)

QuantNexus indicator page for Wilder-style smoothing.

Route: /quantnexus/indicators/smma/

What It Does

SMMA smooths price with a Wilder-style recursive average that reacts more slowly than EMA.

Formula

SMMA = (previous SMMA * (n - 1) + current price) / n

Parameters

  • period - default 30

C++23 API

#include <nonabt/indicators/smma.hpp>
auto smma = std::make_unique<nonabt::SMMA>(data().close(), 30);

Common Usage

  • Use SMMA as a slower, smoother trend baseline.
  • Pair it with price crossovers or envelope-style bands.
  • Helpful when you want more lag reduction than SMA but less noise than raw price.