[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-rsi_ema-zh-tw":3},"# RSI EMA (RSI_EMA)\n\n> 帶有指數平滑處理的 RSI 的 StratCraft 指標頁面。\n\n**Route**: `\u002Findicators\u002Frsi-ema\u002F`\n\n## 作用\n\nRSI_EMA 使用指數移動平均線變體進行平滑處理來計算 RSI。\n\n## 公式\n\n`RSI = 100 - [100 \u002F (1 + RS)]`，對上漲\u002F下跌序列應用指數平滑處理。\n\n## 參數\n\n- `period` - 預設 `14`\n- `movav` - 預設 `ExponentialMovingAverage`\n- `upperband` - 預設 `70`\n- `lowerband` - 預設 `30`\n- `safediv` - 預設 `False`\n- `safehigh` - 預設 `100`\n- `safelow` - 預設 `50`\n- `lookback` - 預設 `1`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Frsi_ema.hpp>\nauto rsiEma = std::make_unique\u003Cnonabt::RSI_EMA>(data().close(), 14, \"ExponentialMovingAverage\", 70.0, 30.0, \"False\", 100.0, 50.0, 1);\n```\n\n## 常見用法\n\n- 像使用 RSI 一樣使用它，但具有 EMA 風格的平滑。\n- 與超買\u002F超賣閾值配合使用。\n- 當你需要反應更靈敏的 RSI 變體時非常有用。\n"]