Skip to content

Documentation / @finchart/indicators / adx

Function: adx() ​

adx(source, options?): Adx

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

ADX — the directional index. Smooths ±DM and TR with rma to make DI±, then smooths their ratio (DX) with rma again — a double warmup, so adx settles later than DI. The first candle has null DM/TR. If the DI sum is 0, DX is also null.

Parameters ​

source ​

Source<OHLC>

options? ​

AdxOptions = {}

Returns ​

Adx