macd
Moving Average Convergence/Divergence (MACD)
Using a fints
object for the
Data
argument of macd
is not recommended.
Use a matrix, timetable
, or table
instead for financial time series. For more information, see
Convert Financial Time Series Objects fints to Timetables.
Description
[
calculates the Moving Average Convergence/Divergence (MACD) line from the series of
data and the nine-period exponential moving average from the
MACDLine
,SignalLine
] = macd(Data
)MACDLine
.
Examples
Input Arguments
Output Arguments
More About
References
[1] Achelis, S. B. Technical Analysis from A to Z. Second Edition. McGraw-Hill, 1995, pp. 166–168.