4static double update(WU_MStDev stdev,
double value) {
13 stdev->mvar->delete(stdev->mvar);
18 WU_MStDev stdev = malloc(
sizeof(
struct WU_MStDev_));
21 stdev->delete =
delete;
static double update(WU_EMA ema, double value)
#define wu_indicator_update(indicator, value)
Header file for technical indicators.
WU_MVar wu_mvar_new(int window_size, int dof)
Creates a new WU_MVar (Moving Variance) indicator with the specified window size and degree of freedo...
static double update(WU_MStDev stdev, double value)
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 degr...
The WU_MStDev (Moving Standard Deviation) is an indicator that calculates the standard deviation of t...