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
| Name | Type | Default |
|---|---|---|
| high | ArrayLike | |
| low | ArrayLike | |
| period | int | 14 |
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) -> NoneHow recently the highest high and the lowest low happened.
Inputs
| Name | Type | Default | Range |
|---|---|---|---|
| period | int | 14 | 1 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.