# forge.ta.midprice

```python
forge.ta.midprice(high: ArrayLike, low: ArrayLike, period: int = 14) -> np.ndarray
```

Halfway between the highest high and the lowest low of the last ``period`` bars.

This is not the median price of one bar, which is ``(high + low) / 2``.

Since Forge API 1.

## Class forge.ta.MidPrice

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

Halfway between the highest high and the lowest low of a window.

(highest high + lowest low) / 2 over the last period bars. This is not the median price of one bar, which is (high + low) / 2.

Since Forge API 1.
