|
tzutrader
A composable C++ backtesting library for trading strategies (experimental)
|
#include <indicators.h>
Public Attributes | |
| double | macd |
| double | signal |
| double | histogram |
Moving Average Convergence Divergence Result (MACDResult)
Holds the current values of the MACD line, signal line, and histogram. The MACD line is the difference between the short-term EMA and the long-term EMA. The signal line is the EMA of the MACD line, and the histogram is the difference between the MACD line and the signal line.
| double tzu::MACDResult::histogram |
| double tzu::MACDResult::macd |
| double tzu::MACDResult::signal |