Skip to content

charton API


charton API / @chart-on/ta / Dmi

Interface: Dmi ​

Defined in: trend.ts:6

Output of dmi: the two directional indicators and the ADX.

Properties ​

adx ​

adx: Float64Array

Defined in: trend.ts:12

ADX: Wilder's average of 100 * |+DI - -DI| / (+DI + -DI) over adxLength bars.


minus ​

minus: Float64Array

Defined in: trend.ts:10

-DI: the same for downward movement.


plus ​

plus: Float64Array

Defined in: trend.ts:8

+DI: Wilder-smoothed upward movement as a percentage of the smoothed true range.