Exponential Moving Average (EMA)
An exponential moving average is a moving average that weights recent prices more heavily, so it reacts faster to new information than a simple moving average of the same length.
The exponential moving average (EMA) is a variant of the moving average that applies exponentially decaying weights to older data. Instead of treating every period in the window equally, the EMA places the most weight on the latest price and progressively less on each earlier one. It is computed recursively: today's EMA equals today's price times a smoothing factor plus yesterday's EMA times one minus that factor. The smoothing factor is typically set as 2 divided by (N+1), where N is the chosen period, so a 12-day EMA uses a factor of about 0.154.
Because recent prices dominate, an EMA turns more quickly than a simple moving average of the same length, giving traders earlier signals at the cost of being noisier and more prone to false moves. This responsiveness is why EMAs sit at the core of many momentum indicators: the MACD, for instance, is built from the difference between a 12-period and 26-period EMA, and many trend-following systems use EMA crossovers rather than SMA crossovers for faster entries and exits.
Choosing between EMA and SMA is a judgment about the trade-off between speed and stability. Shorter EMAs suit fast-moving instruments and active traders; longer EMAs and SMAs suit position traders who want to ignore short-term noise. Neither removes the fundamental lag problem, and both can whipsaw in range-bound markets.
Within hedgewing.ai's feature set, EMAs at multiple horizons are engineered inputs alongside SMAs, RSI, MACD, and volatility measures, giving the LSTM, GRU, TCN, and Transformer models both fast and slow views of trend. The ensemble learns the relative weight to place on these signals from data rather than from fixed rules, and each contribution is checked through walk-forward backtesting and reflected in the calibrated confidence attached to every forecast.
Related terms
Moving Average · MACD (Moving Average Convergence Divergence) · Momentum (Investing) · Ensemble Model
Back to the hedgewing.ai glossary · See AI stock forecasts