Skip to content

Documentation / @finchart/indicators / macd

Function: macd()

Call Signature

macd(source, options?): Macd

Defined in: indicators/src/factories.ts:168

MACD — 한 번 계산해 갈래 셋(macd·signal·histogram)을 낸다. signal은 macd 선 위의 EMA라 커널의 null 규칙이 그대로 이어진다. histogram을 그리는 막대 시리즈는 소비자가 고른다.

Parameters

source

Source<OHLC>

options?

MacdOptions

Returns

Macd

Call Signature

macd<T>(source, options): Macd

Defined in: indicators/src/factories.ts:169

MACD — 한 번 계산해 갈래 셋(macd·signal·histogram)을 낸다. signal은 macd 선 위의 EMA라 커널의 null 규칙이 그대로 이어진다. histogram을 그리는 막대 시리즈는 소비자가 고른다.

Type Parameters

T

T extends BaseDataPoint

Parameters

source

Source<T>

options

MacdOptions & object

Returns

Macd