aroon_up

Aroon Up - measures time since highest high

aroon_up(period)

Parameters

Aroon Up - aroon_up(period)

Measures the time since the highest high occurred, expressed as a percentage.

High values indicate recent new highs (strong uptrend).

  • period (int): Number of periods to look back for highest high
  • Common values: 25 (standard), 14, 50

Formula


Aroon Up = ((period - bars_since_highest_high) / period) * 100

Where:
- bars_since_highest_high = Number of bars since period high
- Result ranges from 0 to 100

Examples


aroon_up(25);  # Standard 25-period Aroon Up
aroon_up(14);  # Shorter period (more sensitive)
aroon_up(25) > 70;  # Strong uptrend (recent highs)

Returns

Aroon Up value ranging from 0 (high occurred period bars ago) to 100 (new high today)