aroon

forge.tafunctionSince Forge API 1
Functionpython
forge.ta.aroon(high: ArrayLike,low: ArrayLike,period: int = 14) -> dict[str, np.ndarray]

Aroon: how recently the highest high and the lowest low of the last period + 1 bars came.

Parameters

NameTypeDefault
highArrayLike
lowArrayLike
periodint14

Indicator: Aroon

100 when it is the current bar, 0 when it is period bars back. A tie goes to the newest bar. osc is up - down.

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

How recently the highest high and the lowest low happened.

Inputs

NameTypeDefaultRange
periodint141 to 5000

up = 100 * (period - bars since the highest high of the last period + 1 bars) / period

down = the same with the lowest low, osc = up - down

A tie goes to the most recent bar.