Three Yen Pairs
- 专家
- 版本: 1.2
Three Yen Pairs — FREE Fibonacci pullback day-trading Expert Advisor for JPY crosses (M5)
A free Expert Advisor for MetaTrader 5 that day-trades the three major JPY crosses — USDJPY, GBPJPY and EURJPY — on the M5 chart.
The strategy combines two timeframes:
- On H1, it measures the recent 50-bar high/low range and defines a Fibonacci pullback zone (38.2%-61.8%).
- On M5, when price is inside that zone and breaks the recent 5-bar high, it enters a buy trade. The take profit is the H1 range high; a trailing stop (activates at +150 points, trails by 50 points) protects open profit.
- A disaster stop is placed 30,000 points (30 yen on JPY pairs) away. It is a last-resort safety net, not a normal stop loss — see the risk section below.
Run one chart per pair and give each chart its own magic number (suggested: 123456 / 123457 / 123458).
Tested configuration — please read
The backtests below were run buy-only (TradeMode = Buy) with MinDistance = 1000, and the product defaults are set to exactly those tested values. Sell mode exists as an input but is untested — if you enable it, you are running an unverified configuration.
Backtest (M5, 2021-01-01 to 2026-11-16, real ticks)
JPY account, initial deposit JPY 1,000,000 per pair:
- USDJPY: net +JPY 229,994, Profit Factor 64.8, 1,257 trades, win rate 99.7%
- GBPJPY: net +JPY 274,051, Profit Factor 14.1, 1,758 trades, win rate 99.4%
- EURJPY: net +JPY 181,518, Profit Factor 6.5, 1,390 trades, win rate 99.4%
USD account, initial deposit USD 10,000 per pair:
- USDJPY: net +USD 1,637, Profit Factor 75.8, 1,258 trades
- GBPJPY: net +USD 1,994, Profit Factor 16.3, 1,759 trades
- EURJPY: net +USD 1,335, Profit Factor 7.5, 1,391 trades
Risk warning — the high win rate has a flip side
This EA wins small and often: the average winning trade is only about JPY 155-186 (at 0.01 lot), while losses, though rare, are much larger — the worst single loss in the backtest was JPY -11,546. The 30-yen disaster stop was never reached during the test period, but if it ever is, a single trade loses about JPY -30,000 per 0.01 lot. In other words, the very high Profit Factors above come from a long series of small wins against a small number of heavy losses, not from an absence of risk. Annual returns were modest (roughly 3-5% per pair per year). Past performance does not guarantee future results. Test on a demo account first and size your lots for the tail loss, not for the average win.
Recommendations
- Recommended symbols and timeframe: USDJPY / GBPJPY / EURJPY, M5 (one chart per pair, distinct magic numbers)
- Recommended account type: hedging (the EA identifies its own positions by magic number and may hold several positions on the same symbol)
- Account currency: no conversion is needed — all targets and stops are price-based, so behaviour is the same on JPY, USD and EUR accounts
Inputs (8)
InpMagicNumber (default 123456), InpTradeMode (default Buy only — tested), InpLookbackH1 (50), InpLotSize (0.01), InpStopLoss (30000 points), InpTrailingStart (150 points), InpTrailingStep (50 points), InpMinDistance (1000 points — tested value)
More from the same developer
- Aussie Loonie Grid — a grid EA for AUDCAD with an equity stop and account-currency conversion. https://www.mql5.com/en/market/product/209065
- Greenback Yen Grid — a long-only grid EA for USDJPY M5 with fixed 0.01 lots. https://www.mql5.com/en/market/product/209119
