[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-rsi_ema-zh":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"]