RSI EMA (RSI_EMA)
StratCraft indicator page for RSI with exponential smoothing.
Route: /indicators/rsi-ema/
What It Does
RSI_EMA calculates RSI using an exponential moving average variant for smoothing.
Formula
RSI = 100 - [100 / (1 + RS)], with exponential smoothing applied to the gain/loss series.
Parameters
period- default14movav- defaultExponentialMovingAverageupperband- default70lowerband- default30safediv- defaultFalsesafehigh- default100safelow- default50lookback- default1
C++23 API
#include <nonabt/indicators/rsi_ema.hpp>
auto rsiEma = std::make_unique<nonabt::RSI_EMA>(data().close(), 14, "ExponentialMovingAverage", 70.0, 30.0, "False", 100.0, 50.0, 1);
Common Usage
- Use it like RSI but with EMA-style smoothing.
- Pair it with overbought/oversold thresholds.
- Helpful when you want a faster-reacting RSI variant.
