相対力指数 (RSI)
古典的なモメンタムオシレーターの QuantNexus 指標ページ。
Route: /quantnexus/indicators/rsi/
作用
RSIは、設定可能なルックバックウィンドウにおける最近の利益と損失のバランスを測定します。
公式
RSI = 100 - [100 / (1 + RS)]、ここで RS = 平均利益 / 平均損失
パラメーター
period- デフォルト14movav- デフォルトSmoothedMovingAverageupperband- デフォルト70lowerband- デフォルト30safediv- デフォルトFalsesafehigh- デフォルト100safelow- デフォルト50lookback- デフォルト1
C++23 API
#include <nonabt/indicators/rsi.hpp>
auto rsi = std::make_unique<nonabt::RSI>(data().close(), 14, "SmoothedMovingAverage", 70.0, 30.0, "False", 100.0, 50.0, 1);
一般的な用法
- 買われすぎや売られすぎの条件を特定するために使用します。
- トレンドフィルターと組み合わせて、強い動きに逆らうのを避けます。
- マルチシグナルシステムのベースラインモメンタムオシレーターとして有用です。
