Markets

Dollar / Yen trading bot for MetaTrader 5

USDJPY trends hard when US rates move. Mercury trades its confirmed breakouts during US hours, when the yen reacts to US data.

Result
+23.7R
Trades
129
Profit factor
1.29
Win rate
40%

USDJPY, backtest January 2016 → October 2026, after costs.

How Mercury trades USDJPY

Mercury runs all five strategies on USDJPY: breakouts through H4 fair value gaps, daily and H4 swing levels, yesterday’s value area and untested daily POCs. Each trade needs a decisive close through the level and a confirming candle, enters between 12:00 and 16:00 UTC, carries a fixed stop and a 3R or 4R target, and is closed after eight hours at the latest. Mercury holds at most two USDJPY positions at a time.

When Mercury trades USDJPY

USDJPY reacts most to US news, and Mercury trades it in US hours: 12:00 to 16:00 UTC, which includes the US data releases and the stock-market open.

What moves Dollar / Yen

  • • The interest-rate gap between the US and Japan, the biggest single driver.
  • • Bank of Japan policy and any official intervention in the yen.
  • • US Treasury yields, which it often follows closely.

USDJPY at your broker

Brokers name this market differently: USDJPY, USD.JPY, or USDJPY with a suffix such as USDJPY.pro, USDJPY.ecn or USDJPYm. The Mercury Bridge EA recognises these names automatically.

Sizing and costs on USDJPY

USDJPY is quoted to three decimals and its value per pip depends on the exchange rate. Mercury takes that from your broker’s own profit calculation in MT5, so the dollar amount at risk matches your setting.

In the backtest

From January 2016 to October 2026, after costs: 129 trades, 40% winners, an average winner of 2.09R and a deepest drawdown of 10.4R. Most trades lost; the result came from winners being larger than losers. Simulated, not live.

USDJPY questions

What happens if Japan intervenes in the yen?
Intervention can move USDJPY several hundred pips in minutes. A stop can then fill worse than planned, so a loss can be larger than 1R. That risk applies to any USDJPY trade.
Is USDJPY open around the clock?
It trades 24 hours on weekdays, but Mercury opens new trades only between 12:00 and 16:00 UTC.

Hypothetical results from a backtest — simulated trades on historical prices with raw-spread costs (0.1 pip spread and $3.50 commission per side; index futures equivalent), not actual trading. The rules were built on 2012–2019 prices and checked on later years, but the results shown include the years they were built on, so live results are likely to be lower; your broker’s spreads, slippage and execution can differ. Past or simulated performance does not guarantee future results. Trading leveraged products can lose more than you expect.