midpoint
forge.tafunctionSince Forge API 1
Functionpython
forge.ta.midpoint(source: ArrayLike, period: int = 14) -> np.ndarrayHalfway between the highest and the lowest value of the last period bars.
Parameters
| Name | Type | Default |
|---|---|---|
| source | ArrayLike | |
| period | int | 14 |
Classpython
forge.ta.MidPoint(**inputs: Any) -> NoneHalfway between the highest and lowest value of a window.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| source | source | close | |
| period | int | 14 | 1 to 5000 |
(highest + lowest) / 2 of the source over the last period bars.