RSI SMA (RSI_SMA)
StratCraft indicator page for RSI with simple smoothing.
Route: /indicators/rsi-sma/
What It Does
RSI_SMA calculates RSI using a simple moving average variant for smoothing.
Formula
RSI = 100 - [100 / (1 + RS)], with simple smoothing applied to the gain/loss series.
Parameters
period- default14movav- defaultMovingAverageSimpleupperband- default70lowerband- default30safediv- defaultFalsesafehigh- default100safelow- default50lookback- default1
C++23 API
#include <nonabt/indicators/rsi_sma.hpp>
auto rsiSma = std::make_unique<nonabt::RSI_SMA>(data().close(), 14, "MovingAverageSimple", 70.0, 30.0, "False", 100.0, 50.0, 1);
Common Usage
- Use it when you want the Cutler-style RSI variant.
- Pair it with static threshold logic around 30 and 70.
- Useful for comparing smoothing behavior against EMA-based RSI.
