Free Forex indicator · MT4 / MT5

Aroon Up & Down for MT4 & MT5: Free Download

See how recently price made its highest high and lowest low. Compare real Forex examples, understand this implementation’s N-bar convention and download our marked source edition for desktop MT4 or MT5.

ForexBestRobots edition 1.03

Reviewed by ForexBestRobots Editorial Team

Original sourceEarnForex 1.02 · MT5
PlatformsDesktop MT4 · MT5
LicenseApache 2.0 · Free
On this page

What Aroon Up & Down measures

Aroon, developed by Tushar Chande, measures time since a recent high or low. The blue Up line rises when the highest high is recent; the red Down line rises when the lowest low is recent. A high reading does not measure the size of a price move or the probability of a winning trade. Neither line uses RSI, EMA or volume.

ForexBestRobots edition 1.03 is a marked derivative of the pinned EarnForex source: the MT5 original declares 1.02, while the MT4 original has no version property. We retain original files, author notices, Apache 2.0 and a change patch. Our changes validate inputs, remove incomplete windows and use consistently indexed, closed-candle notifications.

The formula and the N-bar convention

Let N=AroonPeriod, initially 14. At each source candle, inspect exactly N candles including that candle. If dH and dL are the ages of the highest High and lowest Low, Up=100×(N−dH)/N and Down=100×(N−dL)/N. Ages run from 0 to N−1. When highs or lows tie, the most recent equal extreme wins.

This is the upstream N-bar convention, not a window of N+1 observations. Consequently the minimum valid reading is 100/N, not zero: 7.143 at N=14 and 4 at N=25. Age 0 gives 100; age 13 at N=14 gives 7.143. A perfectly flat valid window gives Up=Down=100 because both most recent extremes are on the newest candle.

The first N−1 candles have no complete window and are hidden: 13 at defaults. Invalid High/Low values also produce an empty reading. There is no 200-candle display delay in this edition. The underlying finite window needs no EMA seed or earlier history once N valid candles are available.

N = AroonPeriod
0 <= dH, dL <= N - 1
Up = 100 * (N - dH) / N
Down = 100 * (N - dL) / N
Minimum = 100 / N

Real EUR/USD chart examples

Our figures reconstruct archived real Yahoo Finance EUR/USD H1 candles, using earlier observations from January 2025. Times are UTC. These are not MetaTrader screenshots, tick replay or a profit backtest. CSV files expose OHLC, both N=14 lines, N=25 comparison lines, events and confirmation times.

In figure one, A is the 10 June 2025 02:00 source candle: Up=85.714 and Down=100, a downward cross known at 03:00. B at 12:00 has Up=100 and Down=64.286, an upward cross known at 13:00. Letters identify source candles; this program draws no arrows on the price chart.

Figure two shows an upward event on 4 June at 02:00, a downward event at 04:00 and another upward event at 07:00. They are confirmed at 03:00, 05:00 and 08:00. Alternating crosses do not establish a profitable reversal strategy. Figure three separates N=14 and N=25 panels on the same prices; it is a comparison of windows, not an optimization result.

N=14. A: 10 June 02:00 → 03:00 UTC, Up 85.714 / Down 100. B: 12:00 → 13:00, Up 100 / Down 64.286. Letters mark source candles.
N=14. A: 10 June 02:00 → 03:00 UTC, Up 85.714 / Down 100. B: 12:00 → 13:00, Up 100 / Down 64.286. Letters mark source candles.

Open vector chart · Calculation data (CSV)

Alternating crosses on 4 June 2025 at 02:00, 04:00 and 07:00; observable at 03:00, 05:00 and 08:00 UTC.
Alternating crosses on 4 June 2025 at 02:00, 04:00 and 07:00; observable at 03:00, 05:00 and 08:00 UTC.

Open vector chart · Calculation data (CSV)

Same EUR/USD prices, separate N=14 and N=25 panels. Dotted lines mark the respective 100/N floors.
Same EUR/USD prices, separate N=14 and N=25 panels. Dotted lines mark the respective 100/N floors.

Open vector chart · Calculation data (CSV)

Chart timeframe and confirmation

The indicator uses the current chart timeframe. There is no built-in MTF input or projection from a higher timeframe. H1 examples describe hourly source candles only. Changing the chart timeframe changes the input candles and starts a fresh calculation.

A notification compares the last two closed candles and becomes observable at the next available opening. After weekends or missing quotes this can be later than the nominal source close. Program timestamps follow broker time, whereas the examples use UTC. A changing open-candle line is not a confirmed cross.

Settings and defaults

Both versions expose the same three inputs. AroonPeriod is an integer from 2 to 10000. MailAlert and SoundAlert default to false. Blue represents Up and red represents Down; visual colors can be changed in the terminal’s indicator properties. Large periods and long histories increase calculation work.

InputDefaultPractical meaning
AroonPeriod14High/Low lookback, including the source candle; integer 2–10000.
MailAlertfalseSend email for a new confirmed cross; terminal email setup is required.
SoundAlertfalseShow Alert popup for a new confirmed cross; sound follows terminal settings.

Crosses, popups and email

An upward cross requires current Up>Down and previous Up≤Down. A downward cross requires current Up<Down and previous Up≥Down. Here current and previous mean the two closed source candles used for notification. Equality on the current source candle is not a cross; equality on the previous one is allowed. No adjustable 25/75 threshold is involved.

MailAlert calls the terminal email service. SoundAlert calls Alert: a popup, with sound subject to the terminal’s alert settings. It does not invoke a separate PlaySound file. There is no push channel, arrow switch or order execution. Email requires prior configuration and an online desktop terminal.

Initial attachment and explicit history resets are silent. Thereafter the most recent closed cross is processed once per new opening timestamp, including when a capped history keeps the bar count unchanged. It does not send a queue of older messages or retry failed email on every tick.

Install and compile the source

  1. Extract the ZIP for desktop MT4 or MT5.
  2. In MetaTrader select File → Open Data Folder, then MQL4 or MQL5.
  3. Copy the ZIP’s Indicators folder there; keep upstream separately as the unchanged reference.
  4. Open Aroon_Up_Down_ForexBestRobots.mq4 or .mq5 in the matching MetaEditor, press F7 and inspect errors and warnings.
  5. Refresh Navigator → Indicators and attach the compiled program to a demo chart with enough history.
  6. Start with both notification switches off. Compare closed-candle readings, then configure and test only the channels you need.

Downloads contain source, not ready EX4/EX5 binaries. Desktop custom indicators cannot be installed directly in MetaTrader mobile. A CSV explains the figures and is not an installable indicator.

Download Aroon Up & Down free

Download the MT4 or MT5 ZIP directly from this site. Each includes marked source, the unchanged original for that platform, Apache 2.0, author credits, change notes, a textual patch, checksums and installation notes in all 12 site languages. No account registration, DLL or external include is required.

Compile with F7 in the matching desktop MetaEditor, inspect errors and warnings, then test on a demo chart. Our numerical and modeled-API checks outside MetaTrader do not verify native compilation, terminal rendering, live broker history or actual popup/audio/email delivery.

Free source ZIP · ForexBestRobots edition 1.03 · Compile in MetaEditor

Changing values and practical limits

An old extreme leaving the rolling window can change the lines even without a fresh price extreme. In a wide or volatile candle both Up and Down can be high. A cross is a change in relative extreme ages; it is not a complete entry, stop-loss or exit rule.

The current candle’s High and Low can change before it closes. Closed-candle confirmation excludes that candle from notifications, but corrected history or a different feed can still alter past readings. Reload if a history correction is not flagged for recalculation by the platform.

When comparing another Aroon indicator or our educational N=25 examples, first check period, N versus N+1 observations, equal-extreme handling and candle timing. Different conventions can legitimately give different readings. The figures establish no trading performance.

Frequently asked questions

Why does the line not reach zero?

This code inspects N observations and divides by N, so its oldest possible extreme has age N−1. The floor is 100/N: 7.143 for N=14.

What happens when several highs or lows are equal?

The newest equal extreme wins. A flat window gives both lines 100, without a strict cross.

Which candle triggers a notification?

The most recent closed source candle is compared with the preceding closed candle, at the next available opening.

Does this edition support MTF, push or price-chart arrows?

No. It uses the chart timeframe and has only period, email and popup/sound inputs.

Why are the first candles blank?

The first N−1 candles have no complete window: 13 with the default N=14. Invalid High/Low values also leave blanks.

Why is there no alert immediately after attaching?

Both switches default to false. Even when enabled, initial attachment and explicit history resets are silent.

Are these compiled files tested inside MetaTrader?

No. These are MQ4/MQ5 sources for desktop MetaEditor. External source tests do not verify native compilation or execution.

Sources and verification scope

This review follows the pinned EarnForex code and our marked changes. MT4 credits rafcamara and the upgrade by Andriy Moraru; MT5 credits EarnForex. These notices remain in the packages. Our inclusion and modification do not imply endorsement by the original authors.