midpoint

forge.tafunctionSince Forge API 1
Functionpython
forge.ta.midpoint(source: ArrayLike, period: int = 14) -> np.ndarray

Halfway between the highest and the lowest value of the last period bars.

Parameters

NameTypeDefault
sourceArrayLike
periodint14

Indicator: Midpoint

Classpython
forge.ta.MidPoint(**inputs: Any) -> None

Halfway between the highest and lowest value of a window.

Inputs

NameTypeDefaultRange
sourcesourceclose
periodint141 to 5000

(highest + lowest) / 2 of the source over the last period bars.