[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"indicator-rsi-en":3},"# Relative Strength Index (RSI)\n\n> StratCraft indicator page for the classic momentum oscillator.\n\n**Route**: `\u002Findicators\u002Frsi\u002F`\n\n## What It Does\n\nRSI measures the balance between recent gains and losses over a configurable lookback window.\n\n## Formula\n\n`RSI = 100 - [100 \u002F (1 + RS)]`, where `RS = average gain \u002F average loss`\n\n## Parameters\n\n- `period` - default `14`\n- `movav` - default `SmoothedMovingAverage`\n- `upperband` - default `70`\n- `lowerband` - default `30`\n- `safediv` - default `False`\n- `safehigh` - default `100`\n- `safelow` - default `50`\n- `lookback` - default `1`\n\n## C++23 API\n\n```cpp\n#include \u003Cnonabt\u002Findicators\u002Frsi.hpp>\nauto rsi = std::make_unique\u003Cnonabt::RSI>(data().close(), 14, \"SmoothedMovingAverage\", 70.0, 30.0, \"False\", 100.0, 50.0, 1);\n```\n\n## Common Usage\n\n- Use it to spot overbought and oversold conditions.\n- Pair it with trend filters to avoid fighting strong moves.\n- Useful as a baseline momentum oscillator in multi-signal systems.\n"]