Gotobi Settlement EA — user guide: gotobi days, broker time and set files
Gotobi Settlement EA sells USDJPY at the Tokyo fix (09:55 JST) on gotobi days and closes the trade 60 minutes later. This guide explains which days it trades, how broker time works and how to check it in the Strategy Tester.
Which days it trades
- Gotobi days are the 5th, 10th, 15th, 20th, 25th, 30th and the last day of each month.
- If that day is a weekend or a Japanese holiday, the EA trades on the previous Tokyo business day of the same month. If there is none (for example 5 January), that gotobi is skipped.
- Japanese holidays are built in: the official Cabinet Office list for 2018–2027, and for later years the dates are calculated from the holiday law. 31 December to 3 January are skipped as bank holidays.
- That gives about 6 trades per month. The chart shows the next trade day and its entry time in your server time.
Broker time
- Live or demo: nothing to set. The EA reads your broker's GMT offset from the terminal; Tokyo has no daylight saving.
- Strategy Tester: the server clock cannot be detected there. Set Tester_GMT_Offset to your broker's winter offset (2 for most GMT+2/+3 servers) and Tester_DST to the rule your broker follows: US (default), European, or none. One hour off moves the entry away from the fix, so check this first if your test looks wrong.
Recommended setup
- USDJPY, any timeframe (one chart). M5 was used in my tests.
- Set file default_0.5 (0.5% risk) or conservative_0.25. Use the EU-DST set file in the tester if your broker changes clock on the European dates.
- Max_Spread_Pips (5): the trade is skipped if the spread at the fix is wider. Raise it only if your broker's normal USDJPY spread at that hour is higher.
- Keep the terminal running in the Tokyo morning (09:55–10:55 JST = 02:55–03:55 or 03:55–04:55 server time on most GMT+2/+3 brokers). A VPS is recommended.
Reproduce my test
Strategy Tester: Gotobi Settlement EA, USDJPY, M5, "Every tick based on real ticks", 10,000 USD, leverage 1:500, 2018.01.01 – 2026.12.02, EU-DST set file. Admirals data gave +4,592 USD, profit factor 1.49, 670 trades, maximum equity drawdown 3.9%. Other brokers will differ a little (price feed, spread). These are backtests, not live results and not a promise of future results.
What to expect
All trades are sells and last at most an hour. Losing months happen; 2026 has been close to flat so far. The pattern is publicly known and may weaken over time — that is why I publish the test results year by year.
Product page: https://www.mql5.com/en/market/product/213388
Files: the 3 set files below.


