Documentation / @finchart/indicators / macd
Function: macd()
Call Signature
macd(
source,options?):Macd
Defined in: indicators/src/factories.ts:276
MACD — one computation produces three branches (macd, signal, histogram). signal is an EMA on top of the macd line, so the kernel's null rule carries straight through. The consumer picks the bar series that draws the histogram.
Parameters
source
Source<OHLC>
options?
Returns
Call Signature
macd<
T>(source,options):Macd
Defined in: indicators/src/factories.ts:277
MACD — one computation produces three branches (macd, signal, histogram). signal is an EMA on top of the macd line, so the kernel's null rule carries straight through. The consumer picks the bar series that draws the histogram.
Type Parameters
T
T extends BaseDataPoint
Parameters
source
Source<T>
options
MacdOptions & object