Exponential Smoothing (EXPSMOOTHING)
StratCraft indicator page for exponential smoothing.
Route: /indicators/expsmoothing/
What It Does
EXPSMOOTHING applies exponential smoothing to reduce noise while keeping recent values more important than older ones.
Formula
Smoothed = alpha * current + (1 - alpha) * previous_smoothed
Parameters
period- default14
C++23 API
#include <nonabt/indicators/expsmoothing.hpp>
auto exps = std::make_unique<nonabt::EXPSMOOTHING>(data().close(), 14);
Common Usage
- Use it to smooth noisy series.
- Combine it with thresholds or trend rules.
- Useful as a preprocessing step.
Practical Pattern
The smoothed line is often more stable than raw price when you need cleaner signal generation.
