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

Go to the source code of this file.

Functions

static double update (WU_MStDev stdev, double value)
static void delete (struct WU_MStDev_ *stdev)
WU_MStDev wu_mstdev_new (int window_size, int dof)
 Creates a new WU_MStDev (Moving Standard Deviation) indicator with the specified window size and degree of freedom.

Function Documentation

◆ delete()

void delete ( struct WU_MStDev_ * stdev)
static

Definition at line 12 of file mstdev.c.

◆ update()

double update ( WU_MStDev stdev,
double value )
static

Definition at line 4 of file mstdev.c.

◆ wu_mstdev_new()

WU_MStDev wu_mstdev_new ( int window_size,
int dof )

Creates a new WU_MStDev (Moving Standard Deviation) indicator with the specified window size and degree of freedom.

Definition at line 17 of file mstdev.c.