algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::analytics::MacdLines Struct Reference

The three lines of a MACD, each as long as the input. More...

#include <algotradelib/src/analytics/indicators.hpp>

Public Attributes

math::Vector macd_
 The fast EMA minus the slow EMA.
math::Vector signal_
 The EMA of macd_.
math::Vector histogram_
 macd_ minus signal_.

Detailed Description

The three lines of a MACD, each as long as the input.

Definition at line 375 of file indicators.hpp.

Member Data Documentation

◆ histogram_

math::Vector algotradelib::analytics::MacdLines::histogram_

macd_ minus signal_.

Definition at line 381 of file indicators.hpp.

Referenced by algotradelib::analytics::macd().

◆ macd_

math::Vector algotradelib::analytics::MacdLines::macd_

The fast EMA minus the slow EMA.

Definition at line 377 of file indicators.hpp.

Referenced by algotradelib::analytics::macd().

◆ signal_

math::Vector algotradelib::analytics::MacdLines::signal_

The EMA of macd_.

Definition at line 379 of file indicators.hpp.

Referenced by algotradelib::analytics::macd().


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