Skip to content

Documentation / @finchart/indicators / dma

Function: dma() ​

dma(source, options?): Dma

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

Different of Moving Average (DMA) — the short sma of the close minus the long one, and an sma of that difference as its signal (the canonical's AMA). Not sorted — swapping the windows flips the sign.

Parameters ​

source ​

Source<OHLC>

options? ​

DmaOptions = {}

Returns ​

Dma