# forge.ta.pivot_high

```python
forge.ta.pivot_high(high: ArrayLike, left: int = 5, right: int = 5) -> np.ndarray
```

The high of a swing high, written ``right`` bars after the swing.

Bar ``i`` holds ``high[i - right]`` if that bar is strictly above the ``left`` bars before it
and the ``right`` bars after it, else NaN.

Since Forge API 1.
