#include <stdlib.h>
#include "wu.h"
Go to the source code of this file.
|
| static WU_MACDResult | macd_update (WU_MACD macd, double value) |
| static void | macd_free (WU_MACD macd) |
| WU_MACD | wu_macd_new (int short_window, int long_window, int signal_window, double smoothing) |
| | Creates a new WU_MACD (Moving Average Convergence Divergence) indicator with the specified short and long window sizes, and signal line window size.
|
◆ macd_free()
| void macd_free |
( |
WU_MACD | macd | ) |
|
|
static |
◆ macd_update()
Definition at line 4 of file macd.c.
◆ wu_macd_new()
| WU_MACD wu_macd_new |
( |
int | short_window, |
|
|
int | long_window, |
|
|
int | signal_window, |
|
|
double | smoothing ) |
Creates a new WU_MACD (Moving Average Convergence Divergence) indicator with the specified short and long window sizes, and signal line window size.
Definition at line 27 of file macd.c.