Currency Strength Matrix EA
Currency Strength Matrix EA measures the strength of the 8 major currencies (EUR, GBP, AUD, NZD, USD, CAD, CHF, JPY, optionally plus gold) from all 28 currency pairs on three timeframes, and trades…
Key features
- Conservative — 1% risk per trade (backtest max drawdown about 9%).
- Balanced (default) — 2% risk per trade (backtest max drawdown about 18%).
- Aggressive — 3% risk per trade (backtest max drawdown about 26%).
- Custom — % of balance, % of equity, fixed money or fixed lots.
- Optional prop-firm guards: daily equity loss limit, static or trailing maximum drawdown, daily profit lock.
- Spread filter (spread as % of the stop distance), optional high-impact news filter (MT5 economic calendar, live trading), entry window (default…
Video
Demo and walk-through of Currency Strength Matrix EA.
Full description
The complete feature description, as published on the MQL5 Market.
Currency Strength Matrix EA — Strength Exhaustion on all 28 FX pairs
Currency Strength Matrix EA measures the strength of the 8 major currencies (EUR, GBP, AUD, NZD, USD, CAD, CHF, JPY, optionally plus gold) from all 28 currency pairs on three timeframes, and trades the moment when the strongest and the weakest currency are stretched too far. It is the automated companion of our Currency Strength Matrix Pro indicator and uses the same strength engine. Attach it to one chart (any symbol, any timeframe); it watches the whole currency market and picks the pair to trade by itself.
Every order has a broker-side Stop Loss and Take Profit from the moment it opens. No grid, no martingale, no averaging down, no hedging baskets.
How the strategy works
- Strength matrix. For each currency the EA builds an equal-weight basket from its 7 pairs, measures the basket move over 20 bars and divides it by the basket's own volatility. The result is mapped to -100 … +100. This is done on H1, H4 and D1 (all timeframes adjustable), on closed bars only, so values never repaint.
- Ranking. Currencies are ranked by their average H4 + D1 strength. The candidates are the 3 strongest against the 3 weakest currencies — any of the 28 pairs, chosen dynamically, not a fixed basket.
- Exhaustion gate. A candidate qualifies only when its strength delta (strong minus weak) is at least 80 on both H4 and D1 — a move that is extreme on two timeframes at once.
- Divergence trigger. The EA then waits until the H1 strength delta has already dropped at least 20 points from its high of the last 6 hours, while H4 and D1 are still extreme. The fast timeframe turning first is the sign that the move is running out.
- Trade. The EA fades the move: it buys the weak currency and sells the strong one on the matching pair, with a stop of 6 × ATR(100) on H1 and a target of 1.5 × the stop. It closes earlier when the H4 + D1 delta has normalised (below 15) or after 96 hours.
Our research on 2020–2026 data showed that extreme multi-day currency strength tends to mean-revert, while buying the strongest against the weakest currency (trend following) did not hold up out-of-sample. The EA therefore trades the exhaustion side only. Trades usually last one to four days, about 50 trades per year.
Risk profiles
- Conservative — 1% risk per trade (backtest max drawdown about 9%).
- Balanced (default) — 2% risk per trade (backtest max drawdown about 18%).
- Aggressive — 3% risk per trade (backtest max drawdown about 26%).
- Custom — % of balance, % of equity, fixed money or fixed lots.
The stop distance follows volatility (ATR), so the lot size adapts to every pair automatically. A total open-risk cap, a maximum number of positions (default 3) and a one position per currency limit stop the EA from stacking the same currency.
Account protection
- Optional prop-firm guards: daily equity loss limit, static or trailing maximum drawdown, daily profit lock.
- Spread filter (spread as % of the stop distance), optional high-impact news filter (MT5 economic calendar, live trading), entry window (default 09:00–13:00 NY-close time), trading days, long/short filter, optional Friday close.
- Free-margin check before every order, volume min/max/step, stop and freeze levels, filling modes and all trade return codes are handled. Broker suffixes and prefixes (for example .a, .pro, m) are found automatically.
Dashboard
- Strength heat map: every currency on H1, H4 and D1 plus its rank, colour-coded from -100 to +100.
- Candidate list: the strongest-vs-weakest pairs with their H4/D1 deltas, the H1 turn and the state (WATCH, EXTREME, READY, OPEN, BLOCKED with the reason). Click a row to open that chart.
- Open positions with P/L in money and R, hours held and the current delta; risk profile, today's P/L, open risk and closed-trade statistics.
- Pause/Resume, two-step Close All, dark/light theme (automatic or one click), minimise, drag, high-DPI scaling.
Backtest results (raw-spread ECN account, $7/lot commission and swap included)
2020-07-01 … 2026-10-31, $10,000 start, EA on a EURUSD H1 chart trading all 28 pairs.
- Conservative 1% (1-minute OHLC): net +$3,823 (+38%), profit factor 1.27, recovery factor 3.30, max drawdown 9.2%, 336 trades.
- Balanced 2% (every tick based on real ticks): net +$7,981 (+80%), profit factor 1.23, recovery factor 2.86, max drawdown 18.4%, 335 trades.
- Aggressive 3% (1-minute OHLC): net +$15,155 (+152%), profit factor 1.24, recovery factor 3.06, max drawdown 25.8%, 332 trades.
Out-of-sample check: settings chosen on 2020-07 … 2023-12 data; 2024-01 … 2026-10 was used only to confirm. Monte Carlo and walk-forward analysis: walk-forward efficiency 233% (4 of 5 anchored folds profitable); Monte Carlo resampling (2,000 paths) ended profitable in 95.8% of paths, but its 95th-percentile drawdown (about 45% on Balanced) is more than twice the single backtest drawdown — choose the profile with that in mind. In-sample PF 1.15, out-of-sample PF 1.33. The backtest lost money in 2026 (January–October).
All figures are backtest results on historical data. Past performance does not guarantee future results. Trading foreign exchange carries a high level of risk.
Setup
- Make sure the 28 currency pairs are available in your account; the EA adds them to Market Watch itself. If the account has history for fewer than 20 pairs, the EA switches to a reduced chart-pair mode (the same exhaustion logic on the chart symbol's own strength) — the backtests above use the full 28-pair matrix.
- Attach the EA to one chart of any symbol and timeframe, for example EURUSD H1. Do not attach it to several charts with the same magic number.
- Choose a risk profile (Balanced by default) and enable Algo Trading. A VPS is recommended because trades last several days.
Recommended: ECN / raw-spread account, leverage 1:30 or higher, from 1,000 USD (Conservative) — the EA trades 0.01 lots minimum.
Quick start
From purchase to a running expert advisor in a few minutes. Details in the install guide.
- Get the EA on the MQL5 Market page: buy, rent or download the free demo. Inside MetaTrader 5 you can also open the Market tab of the Toolbox and install it from there.
- It appears in the Navigator under Expert Advisors › Market. Open the chart named in the description (symbol and timeframe) and drag the EA onto it.
- On the Common tab tick Allow Algo Trading, and switch on the Algo Trading button in the toolbar.
- On the Inputs tab choose a risk profile, or press Load to apply a .set preset if the product ships one.
- Run it in the Strategy Tester and on a demo account first, with your own broker's data, before you trade real money.
Backtest and simulation figures are not a guarantee of future results. Trading involves risk; use risk you can afford to lose. See the risk disclaimer.
More expert advisors
Session Breakout Portfolio EA
A session-range breakout portfolio for gold, the Nikkei and the yen, traded from one chart.
Gold Edge Portfolio EA
Gold Edge Portfolio EA trades XAUUSD with six independent, simple strategies at the same time.
Index Portfolio EA
Three intraday strategies on four stock indices – US30, US100, US500 and GER40 – traded from one chart.
Bitcoin Trend Rider EA
Bitcoin Trend Rider EA is a trend-following and volatility-breakout Expert Advisor for BTCUSD, ETHUSD and other crypto CFDs.




