aroon_osc
Aroon Oscillator - difference between Aroon Up and Aroon Down
aroon_osc(period)
Parameters
| Name | Type | Description |
|---|---|---|
period |
int | Number of periods for Aroon calculation |
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) ## References - TradingView: Calculate as `aroon_up - aroon_down` - Developed by Tushar Chande ## Notes - Values > +50 indicate strong uptrend - Values < -50 indicate strong downtrend - Zero line crossings signal trend changes - Combines both Aroon indicators into single metric