StratCraft

RSI EMA (RSI_EMA)

帶有指數平滑處理的 RSI 的 QuantNexus 指標頁面。

Route: /quantnexus/indicators/rsi-ema/

作用

RSI_EMA 使用指數移動平均線變體進行平滑處理來計算 RSI。

公式

RSI = 100 - [100 / (1 + RS)],對上漲/下跌序列應用指數平滑處理。

參數

  • period - 預設 14
  • movav - 預設 ExponentialMovingAverage
  • upperband - 預設 70
  • lowerband - 預設 30
  • safediv - 預設 False
  • safehigh - 預設 100
  • safelow - 預設 50
  • lookback - 預設 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 變體時非常有用。