RSI EMA (RSI_EMA)
帶有指數平滑處理的 RSI 的 QuantNexus 指標頁面。
Route: /quantnexus/indicators/rsi-ema/
作用
RSI_EMA 使用指數移動平均線變體進行平滑處理來計算 RSI。
公式
RSI = 100 - [100 / (1 + RS)],對上漲/下跌序列應用指數平滑處理。
參數
period- 預設14movav- 預設ExponentialMovingAverageupperband- 預設70lowerband- 預設30safediv- 預設Falsesafehigh- 預設100safelow- 預設50lookback- 預設1
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);
常見用法
- 像使用 RSI 一樣使用它,但具有 EMA 風格的平滑。
- 與超買/超賣閾值配合使用。
- 當你需要反應更靈敏的 RSI 變體時非常有用。
