WU Trading Library 0.2.0
A backtesting and trading strategy library
Loading...
Searching...
No Matches
rsi.c File Reference
#include <stdlib.h>
#include "wu.h"

Go to the source code of this file.

Functions

static double update (WU_RSI rsi, const WU_Candle *candle)
static void delete (WU_RSI rsi)
WU_RSI wu_rsi_new (int window_size)
 Creates a new WU_RSI (Relative Strength Index) indicator with the specified window size.

Function Documentation

◆ delete()

void delete ( WU_RSI rsi)
static

Definition at line 18 of file rsi.c.

◆ update()

double update ( WU_RSI rsi,
const WU_Candle * candle )
static

Definition at line 4 of file rsi.c.

◆ wu_rsi_new()

WU_RSI wu_rsi_new ( int window_size)

Creates a new WU_RSI (Relative Strength Index) indicator with the specified window size.

Definition at line 24 of file rsi.c.