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

The WU_MACDResult structure holds the current values of the MACD line, signal line, and histogram. More...

#include <indicators.h>

Data Fields

double macd
double signal
double histogram

Detailed Description

The WU_MACDResult structure holds the current values of the MACD line, signal line, and histogram.

The MACD line is the difference between the short-term EMA and long-term EMA. The signal line is an EMA of the MACD line, and the histogram is the difference between the MACD line and the signal line.

Definition at line 182 of file indicators.h.

Field Documentation

◆ histogram

double WU_MACDResult::histogram

Definition at line 185 of file indicators.h.

◆ macd

double WU_MACDResult::macd

Definition at line 183 of file indicators.h.

◆ signal

double WU_MACDResult::signal

Definition at line 184 of file indicators.h.


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