Aroon Indicator
Calculate the Aroon Indicator for a given price series.
The Aroon Indicator is an oscillator that measures the strength of a trend and the likelihood of its continuation or reversal.
The formula is as follows:
\[\text{Aroon Up} = ((\text{Number of periods}) - (\text{Number of periods since highest high})) / (\text{Number of periods}) \cdot 100\]Also known as: Aroon Up, Aroon Down, trend strength.
Aroon Indicator in Python or via the MCP
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_aroon_indicator as shown below.
from financetoolkit import Toolkit
toolkit = Toolkit(
tickers=["GCUSD"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2021-01-01",
end_date="2025-12-31",
)
toolkit.technicals.get_aroon_indicator().xs("GCUSD", level=1, axis="columns").tail(5)
Or, after setting up the Finance Toolkit MCP, ask:
How did the Aroon Up and Aroon Down lines of gold evolve from 26 to 31 December 2025?
Which returns:
| Date | Aroon Down | Aroon Up |
|---|---|---|
| 2025-12-26 | 0 | 100 |
| 2025-12-28 | 0 | 92.8571 |
| 2025-12-29 | 0 | 85.7143 |
| 2025-12-30 | 14.2857 | 78.5714 |
| 2025-12-31 | 100 | 71.4286 |
Parameters
get_aroon_indicator accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
period | str | The time period to consider for historical data. Can be “intraday”, “daily”, “weekly”, “monthly”, “quarterly” or “yearly”. Defaults to “daily”. | "weekly" |
close_column | str | The column name for closing prices in the historical data. Defaults to “Adj Close”. | "Close" |
window | int | The number of periods for calculating the Aroon Indicator. Defaults to 14. | 20 |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise). | 2 |
growth | bool | Whether to calculate the growth of the indicator values. Defaults to False. | True |
lag | int | list[int] | The lag to use for the growth calculation. Defaults to 1. | 4 |
standardize | bool | Whether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False. | True |