マイページEA導入手順

MT5 導入手順

あなたの口座の成績を TrackRecord へ自動連携する EA のセットアップ手順です。
MT5 MT4 ⬇ EA本体 (.ex5) をダウンロード

Place TrackRecordPublisher.ex5 (a compiled executable) into MT5 to automatically send your account performance to https://track-record.atoz-gm.net. No compilation needed.

1. Issue an API key

Log in at https://track-record.atoz-gm.net/mypage

2. Install the EA in MT5

  1. MT5 → "File" → "Open Data Folder" → open the MQL5\Experts\ folder
  2. Copy TrackRecordPublisher.ex5 there (no compilation needed)
  3. Right-click the MT5 "Navigator" → "Refresh"

3. Allow WebRequest (required — most important)

MT5 → Tools → Options → Expert Advisors

Without this, sending fails and the log shows "please add the allowed URL".

4. Attach the EA to a chart

  1. On the MT5 of the account you want to publish, drag TrackRecordPublisher onto any chart
  2. Input parameters:

- InpApiKey: the API key copied in step 1 (required)

- InpDisplayName: display name (if empty, the MT5 account name is used)

- InpSendIntervalSec: send interval (default 120 seconds)

- InpSendOpen / InpSendClosed: whether to send open positions / closed history

  1. On the "Common" tab, check "Allow Algo Trading" → OK
  2. Turn "Algo Trading" ON (green) on the toolbar

If "TrackRecord: sent OK …" appears at the top-left of the chart, it works.

Backfilling the full history

The EA can only send the history loaded in the terminal. To reflect the entire period:

  1. In the MT5 Toolbox → "History" tab, right-click → choose "All History" (loads the whole period)
  2. In the EA properties (F7), set InpForceBackfillNow to true → OK
  3. Wait until "Backfill complete: full history reflected" appears at the top-left (a few tens of seconds if there are many trades; it is sent in batches)
  4. When done, set InpForceBackfillNow back to false
The baseline (starting balance) is computed automatically as "current balance − net P/L of all trades", and the equity curve is reconstructed from the past.

How it works

Troubleshooting

Notes