aroon_osc

Aroon Oscillator - difference between Aroon Up and Aroon Down

aroon_osc(period)

Parameters

Aroon Oscillator - aroon_osc(period)

The difference between Aroon Up and Aroon Down, providing a single value

to measure trend strength and direction.

  • period (int): Number of periods for Aroon calculation
  • Common values: 25 (standard), 14, 50

Formula


Aroon Oscillator = Aroon Up - Aroon Down

Range: -100 to +100
- Positive values: Uptrend (Aroon Up > Aroon Down)
- Negative values: Downtrend (Aroon Down > Aroon Up)
- Zero crossings: Trend changes

Examples


aroon_osc(25);  # Standard Aroon Oscillator
aroon_osc(25) > 50;  # Strong uptrend
aroon_osc(25) < -50;  # Strong downtrend
aroon_osc(25) > 0;  # Any uptrend (positive)

Returns

Aroon Oscillator value ranging from -100 (strong downtrend) to +100 (strong uptrend)