# forge.ta.donchian

```python
forge.ta.donchian(high: ArrayLike, low: ArrayLike, period: int = 20) -> dict[str, np.ndarray]
```

Donchian channel: highest high and lowest low of the last ``period`` bars, and their mean.

Since Forge API 1.

## Class forge.ta.Donchian

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

Highest high and lowest low of the last N bars, with their midpoint.

upper = the highest high of the last period bars

lower = the lowest low of the last period bars

middle = (upper + lower) / 2

Since Forge API 1.
