WU Trading Library 0.2.0
A backtesting and trading strategy library
Loading...
Searching...
No Matches
WU_RSI Struct Reference

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

Detailed Description

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.

Field Documentation

◆ delete

void(* WU_RSI::delete) (struct WU_RSI_ *self)

Definition at line 163 of file indicators.h.

◆ gain

WU_EMA WU_RSI::gain

Definition at line 165 of file indicators.h.

◆ loss

WU_EMA WU_RSI::loss

Definition at line 166 of file indicators.h.

◆ update

double(* WU_RSI::update) (struct WU_RSI_ *self, const WU_Candle *candle)

Definition at line 162 of file indicators.h.

◆ value

double WU_RSI::value

Definition at line 164 of file indicators.h.


The documentation for this struct was generated from the following file: