|
WU Trading Library 0.2.0
A backtesting and trading strategy library
|
The WU_RSI (Relative Strength Index) is a momentum oscillator that measures the speed and change of price movements. More...
#include <indicators.h>
Data Fields | |
| double(* | update )(struct WU_RSI_ *self, const WU_Candle *candle) |
| void(* | delete )(struct WU_RSI_ *self) |
| double | value |
| WU_EMA | gain |
| WU_EMA | loss |
The WU_RSI (Relative Strength Index) is a momentum oscillator that measures the speed and change of price movements.
It is calculated using the average gain and average loss over a specified period. The RSI ranges from 0 to 100, with values above 70 typically indicating overbought conditions and values below 30 indicating oversold conditions.
Definition at line 161 of file indicators.h.
| void(* WU_RSI::delete) (struct WU_RSI_ *self) |
Definition at line 163 of file indicators.h.
| WU_EMA WU_RSI::gain |
Definition at line 165 of file indicators.h.
| WU_EMA WU_RSI::loss |
Definition at line 166 of file indicators.h.
Definition at line 162 of file indicators.h.
| double WU_RSI::value |
Definition at line 164 of file indicators.h.