# forge.ta.adx

```python
forge.ta.adx(high: ArrayLike, low: ArrayLike, close: ArrayLike, period: int = 14, method: str = 'mt5') -> np.ndarray
```

The ADX line of ``dmi``: how strong the trend is, whatever its direction.

Since Forge API 1.

## Class forge.ta.ADX

```python
forge.ta.ADX(**inputs: Any) -> None
```

How strong the trend is, whatever its direction.

TR = the true range, +DM and -DM = the larger of the two directional moves, the other is 0

+DI = 100 * smoothed(+DM) / smoothed(TR), -DI = 100 * smoothed(-DM) / smoothed(TR)

DX = 100 * |+DI - -DI| / (+DI + -DI), ADX = smoothed(DX)

mt5: smoothing with 2 / (period + 1), starting from zero. wilder: smoothing with 1 / period, starting from the mean of the first period values. Where the true range is zero the lines read 0.

Since Forge API 1.
