In simple terms
First check the period, window and tie rule. Here Aroon25 uses the current candle plus 25 earlier observed candles. A value of 100 means the relevant extreme is on the current candle, including an equal retest. It does not say how far price moved or what happens next.
On this page
Start with the question Aroon answers
Aroon Up tracks the age of the highest high; Aroon Down tracks the age of the lowest low. Age means the number of observed candles since the selected extreme, with the current candle at age zero. It is a timing measure: neither the distance from the extreme nor traded volume enters these formulas.
Define 25 intervals before counting candles
Our period N is 25 observed-bar intervals, so the window contains 26 observations, from the current candle back to age 25. Use the high and low of each candle. This matches the inclusive window in the linked TA-Lib implementation and TradingView's documented Length + 1 convention. Do not silently substitute only 25 observations.
N = 25; window = [t − 25, t]; observations = 26
Up_t = 100 × (25 − ageHigh_t) / 25
Down_t = 100 × (25 − ageLow_t) / 25
Teaching example: age changes the Aroon reading
Choose the most recent equal extreme
If the highest high or lowest low appears several times in the window, use its most recent occurrence. The teaching example places equal highs at ages 25 and 5, and equal lows at ages 21 and 1. The chosen ages are 5 and 1, giving Up 80 and Down 96. Choosing the oldest equal extremes would give 0 and 16 instead. We keep source-price integers for exact tie comparisons.
Teaching examples: equal extremes and a flat window
| Teaching case | Age of selected high · candles | Age of selected low · candles | Aroon Up | Aroon Down | Aroon Oscillator |
|---|---|---|---|---|---|
| Most recent equal extremes | 5 | 1 | 80 | 96 | −16 |
| Completely flat window | 0 | 0 | 100 | 100 | 0 |
Read the two lines and their difference
Up and Down each range from 0 to 100. The Aroon Oscillator is Up minus Down, ranging from −100 to 100. A positive value means the selected high is more recent than the selected low; a negative value reverses that order. At N=25 the lines and oscillator move in multiples of four. Ages 12 and 13 give 52 and 48: exactly 50 is not an attainable sampled line value here.
Oscillator_t = Up_t − Down_t
Up_t = 4 × (25 − ageHigh_t); Down_t = 4 × (25 − ageLow_t)
A reading of 100 does not measure a rally
Both lines can be 100 on the same candle. In a completely flat 26-candle teaching window, the most recent equal high and equal low are both on the current candle, so Up=Down=100 and the oscillator is zero. An outside candle can also contain both current extremes. A line can rise when an old extreme leaves the window, without a fresh breakout above the old high or below the old low.
ageHigh = 0; ageLow = 0; Up = 100; Down = 100; Oscillator = 0
Separate a new cross from an existing state
Our upward cross requires previous Up≤Down and current Up>Down on adjacent scheduled H4 intervals. This is exactly the same event as the oscillator moving from a value at or below zero to strictly above zero. Remaining above zero is a state, not another cross. Equality on the current candle does not satisfy this strict cross. Two defined line pairs are first possible after 27 observed candles.
Up_prev ≤ Down_prev; Up_t > Down_t
Oscillator_prev ≤ 0; Oscillator_t > 0
Use completed observations and disclose gaps
The source supplies EUR/JPY M1 Bid OHLC; prices are JPY per EUR. Following the provider's documented fixed EST convention, the pinned dataset adds five hours to obtain UTC and groups observed minutes into H4 buckets. It contains 10,592 H4 candles, including 2,364 with fewer than 240 source minutes. Windows follow observed order across gaps without invented candles. Ages therefore need not equal elapsed four-hour slots. Example selection requires 27 adjacent H4 bucket anchors; the previous and selected buckets must each contain all 240 source-minute rows. Earlier window buckets may be partial and remain disclosed in the downloads.
A completed upward cross on real EUR/JPY candles
The first qualifying upward cross from 2023 onward is available at 2023-02-03 16:00 UTC. Up is 100, Down is 88, and the oscillator is 12. The previous pair and current pair establish the event; the following candles are context only. S marks the selected completed candle. No order, cost model or account return is calculated.
An upward Up/Down cross and the same oscillator zero crossing
Calendar gap Candles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Indicator lines connect consecutive observed values; no missing candles are added.
Select a candle, move the slider or use arrow keys. Prices have three decimals and indicator values are integers. S, H and L remain attached to the reference example; the vertical cursor and detail panel follow your selection. First/last source-minute labels are interval starts. The two indicator scales remain fixed.
- Interval anchor · UTC
- 2023-02-03 12:00 UTC
- Scheduled interval end · UTC
- 2023-02-03 16:00 UTC
- First observed minute · UTC
- 2023-02-03 12:00 UTC
- Last observed minute · UTC
- 2023-02-03 15:59 UTC
- Open
- 140.321
- High
- 142.344
- Low
- 140.233
- Close
- 142.317
- Observed minute records
- 240
- Age of selected high · candles
- 0
- Age of selected low · candles
- 3
- Aroon Up
- 100
- Aroon Down
- 88
- Aroon Oscillator
- 12
- Highest high · 26 candles
- 142.344
- Lowest low · 26 candles
- 139.930
Both lines can be below the 50 reference
At 2023-01-27 20:00 UTC, Up is 40 and Down is 48; both are strictly below 50. Under this window, the selected high and low are both at least 13 observed candles old. This describes older extremes. It does not measure the current range width or establish that price will remain sideways.
Two readings below 50: both extremes are older
Calendar gap Candles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Indicator lines connect consecutive observed values; no missing candles are added.
Select a candle, move the slider or use arrow keys. Prices have three decimals and indicator values are integers. S, H and L remain attached to the reference example; the vertical cursor and detail panel follow your selection. First/last source-minute labels are interval starts. The two indicator scales remain fixed.
- Interval anchor · UTC
- 2023-01-27 16:00 UTC
- Scheduled interval end · UTC
- 2023-01-27 20:00 UTC
- First observed minute · UTC
- 2023-01-27 16:00 UTC
- Last observed minute · UTC
- 2023-01-27 19:59 UTC
- Open
- 140.878
- High
- 141.235
- Low
- 140.847
- Close
- 141.183
- Observed minute records
- 240
- Age of selected high · candles
- 15
- Age of selected low · candles
- 13
- Aroon Up
- 40
- Aroon Down
- 48
- Aroon Oscillator
- −8
- Highest high · 26 candles
- 142.291
- Lowest low · 26 candles
- 140.754
Both lines can be above the 50 reference
At 2023-01-13 08:00 UTC, Up is 60 and Down is 100; both are strictly above 50. Both extremes are comparatively recent, within 12 observed candles. This can happen in a wide or choppy range as well as during a directional move. Compare the actual price candles rather than treating two high readings as proof of two simultaneous trends.
Two readings above 50: both extremes are recent
Calendar gap Candles are evenly spaced in observed order. Calendar gaps are compressed and marked by a dashed line. Indicator lines connect consecutive observed values; no missing candles are added.
Select a candle, move the slider or use arrow keys. Prices have three decimals and indicator values are integers. S, H and L remain attached to the reference example; the vertical cursor and detail panel follow your selection. First/last source-minute labels are interval starts. The two indicator scales remain fixed.
- Interval anchor · UTC
- 2023-01-13 04:00 UTC
- Scheduled interval end · UTC
- 2023-01-13 08:00 UTC
- First observed minute · UTC
- 2023-01-13 04:00 UTC
- Last observed minute · UTC
- 2023-01-13 07:59 UTC
- Open
- 140.037
- High
- 140.120
- Low
- 139.024
- Close
- 139.272
- Observed minute records
- 240
- Age of selected high · candles
- 10
- Age of selected low · candles
- 0
- Aroon Up
- 60
- Aroon Down
- 100
- Aroon Oscillator
- −40
- Highest high · 26 candles
- 142.850
- Lowest low · 26 candles
- 139.024
Check the source and calculation conventions
Before comparing platforms, match the period, inclusive window, tie rule, high/low inputs and available history. Our prices display three decimals; ages, Up, Down and the oscillator display integers. Calculations use the original integer prices and exact integer indicator values. A source-minute label identifies its interval start, not an individual quote timestamp; the panel separately shows the scheduled H4 end.
Replay a guide before designing a strategy
The three cases are the first matching completed conditions from H4 starts on or after 2023-01-01 UTC; a selected candle is not reused. Five subsequent observed candles are required for display; selection uses no later price result. Context may include source gaps or partial buckets. The source was already used in our earlier EUR/JPY study, so these are retrospective teaching examples. Downloads retain the pinned H4 inputs, readings, CSV, rules and separate replay/check scripts. Evaluating a strategy additionally requires entries, exits, sizing and execution costs.
python3 aroon-guide-replay.py --protocol aroon-guide-protocol.json --source-evidence eurjpy-aroon-evidence.json --output replay.json python3 aroon-guide-independent-check.py --protocol aroon-guide-protocol.json --source-evidence eurjpy-aroon-evidence.json --evidence replay.json --report check.json
Frequently asked questions
Why does Aroon25 need 26 candles here?
The current candle has age zero and the oldest has age 25. That inclusive interval contains 26 observations. A different window changes which extremes can be selected.
How are repeated equal highs and lows handled?
We select the most recent equal extreme using exact source-price integers. An equal retest can therefore reset the relevant age to zero and its Aroon line to 100 without exceeding the earlier extreme.
Does Aroon Up at 100 mean a strong price rise?
It identifies a current-window high on the current candle, including a tie. The formula does not measure the size of the rise. Both lines can be 100 in a flat window, so inspect prices and context.
Is an oscillator zero crossing a different signal?
With identical inputs, previous Up≤Down and current Up>Down are equivalent to previous Oscillator≤0 and current Oscillator>0. These are two expressions of the same strict event, not independent confirmations.
Why does the chart show a 50 guide if the lines cannot equal 50?
It is a scale reference. With N=25, ages are integers and line values are multiples of four. The values around 50 are 48 and 52. Other periods or smoothing can produce different values; a drawn line may pass through 50 between sampled observations.
Does an age of 25 always mean 100 elapsed hours on H4?
No. Age counts observed candles. Weekends or missing buckets can make the calendar interval longer. The guide separates the scheduled interval labels from the first and last observed source-minute starts.
Primary sources
Copying or republication without attribution and an active link to the original material is prohibited. Usage policy.