{"id":8,"date":"2026-04-24T01:32:15","date_gmt":"2026-04-24T01:32:15","guid":{"rendered":"http:\/\/docs.traderis.me\/en\/docs\/mt-data-sync-setup\/"},"modified":"2026-04-26T10:07:49","modified_gmt":"2026-04-26T10:07:49","password":"","slug":"mt-data-sync-setup","status":"publish","type":"docs","link":"https:\/\/docs.traderis.me\/en\/docs\/mt-data-sync-setup\/","title":{"rendered":"Set Up MT4\/MT5 Data Sync"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This guide walks you through connecting MetaTrader 4 \/ MetaTrader 5 (hereafter MT4\/MT5) to TraderIsMe using the <strong>Data Sync EA<\/strong>, which automatically sends balance, positions, and execution history to the app. No manual CSV imports are needed \u2014 while your chart is open, the latest trading data is always reflected in the app.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What You Can Do with This Guide<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Automatically send MT4\/MT5 trading data (balance, margin, execution history, open positions) to TraderIsMe<\/li>\n<li>Each time a trade occurs, it is automatically reflected in the app&#8217;s Dashboard, Calendar, and AI Analysis Reports<\/li>\n<li>The Data Sync EA is <strong>permanently free on every plan<\/strong>. Unlike feature EAs, it does not show any notifications during use<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Requirements<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A TraderIsMe account (<a href=\"https:\/\/app.traderis.me\/\">app.traderis.me<\/a>)<\/li>\n<li>A MetaTrader 4 or MetaTrader 5 terminal (installed from your broker)<\/li>\n<li>A trading account logged in to MT (real or demo)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Register an Account in the App and Issue an API Key<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, register the account you want to link to MT on the app side and issue an <strong>account identifier API key<\/strong>.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open &#8220;<strong>Accounts<\/strong>&#8221; in the sidebar and click &#8220;<strong>\uff0b Add account<\/strong>&#8221; in the top right. Enter account name, account number, broker, and MT version.<\/li>\n<li>Click &#8220;<strong>Details<\/strong>&#8221; on the registered account to open the account detail page.<\/li>\n<li>Note the &#8220;<strong>WebRequest URL<\/strong>&#8221; shown at the top of the page \u2014 <code>https:\/\/app.traderis.me<\/code> \u2014 which you will register in MT in Step 3.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/docs.traderis.me\/ja\/wp-content\/uploads\/2026\/04\/app-01-account-detail.png\" alt=\"Account detail page showing the WebRequest URL\" class=\"wp-image-24\"\/><figcaption>Account detail page \u2014 copy the central &#8220;WebRequest URL&#8221; directly into MT later<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Next, in the &#8220;<strong>\ud83d\udd11 Account Identifier API KEY<\/strong>&#8221; section at the bottom of the same page, click &#8220;<strong>\uff0b Create new<\/strong>&#8221; to issue an API key. Copy and store the full key shown immediately after creation (displayed only once).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/docs.traderis.me\/ja\/wp-content\/uploads\/2026\/04\/app-01b-account-apikey.png\" alt=\"Account Identifier API KEY section\" class=\"wp-image-25\"\/><figcaption>Click &#8220;\uff0b Create new&#8221; to issue the key. This key is used as <code>ApiKey<\/code> in the Data Sync EA.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you plan to use feature EAs (Auto Lots Calculation EA, etc.) as well, open &#8220;<strong>Settings<\/strong>&#8221; in the left sidebar and generate an &#8220;<strong>Account API KEY<\/strong>&#8221; at the bottom separately. <strong>This key is not used by the Data Sync EA<\/strong>, so if you only plan to use data sync, you can skip this step.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/docs.traderis.me\/ja\/wp-content\/uploads\/2026\/04\/app-02b-settings-apikey.png\" alt=\"Account API KEY section\" class=\"wp-image-26\"\/><figcaption>&#8220;Account API KEY&#8221; on the Settings page \u2014 used for heartbeat authentication by feature EAs (not needed for the Data Sync EA)<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Download the Data Sync EA File<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Download the EA (compiled binary) zip for your MetaTrader version from the buttons below. Free forever on every plan.<\/p>\n\n\n\n<div style=\"display:flex;flex-direction:column;gap:24px;margin:24px 0\">\n  <div>\n    <p style=\"text-align:center;margin:0 0 10px;color:#ccc;font-size:14px\">Download the MT5 version<\/p>\n    <a href=\"https:\/\/docs.traderis.me\/downloads\/TraderIsMe-Data-Sync-EA-MT5.zip\" download style=\"display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,#1d87d9,#146eb5);color:#fff;padding:20px 26px;border-radius:12px;text-decoration:none;font-weight:600;font-size:20px;box-shadow:0 2px 8px rgba(0,0,0,.15)\">\n      <span style=\"display:inline-flex;align-items:center;gap:12px\">\n        <svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\/><polyline points=\"7 10 12 15 17 10\"\/><line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"\/><\/svg>\n        TraderIsMe-Data-Sync-EA-MT5.zip\n      <\/span>\n      <span style=\"background:#fff;color:#1d87d9;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px\">MT5<\/span>\n    <\/a>\n  <\/div>\n  <div>\n    <p style=\"text-align:center;margin:0 0 10px;color:#ccc;font-size:14px\">Download the MT4 version<\/p>\n    <a href=\"https:\/\/docs.traderis.me\/downloads\/TraderIsMe-Data-Sync-EA-MT4.zip\" download style=\"display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(180deg,#d97016,#b35912);color:#fff;padding:20px 26px;border-radius:12px;text-decoration:none;font-weight:600;font-size:20px;box-shadow:0 2px 8px rgba(0,0,0,.15)\">\n      <span style=\"display:inline-flex;align-items:center;gap:12px\">\n        <svg width=\"26\" height=\"26\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"\/><polyline points=\"7 10 12 15 17 10\"\/><line x1=\"12\" y1=\"15\" x2=\"12\" y2=\"3\"\/><\/svg>\n        TraderIsMe-Data-Sync-EA-MT4.zip\n      <\/span>\n      <span style=\"background:#fff;color:#d97016;width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:14px\">MT4<\/span>\n    <\/a>\n  <\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Platform<\/th><th>File (after unzipping)<\/th><th>Destination<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>MT4<\/td><td><code>TraderIsMe-Data-Sync-EA.ex4<\/code><\/td><td>MT4 data folder <code>MQL4\/Experts\/<\/code><\/td><\/tr>\n<tr><td>MT5<\/td><td><code>TraderIsMe-Data-Sync-EA.ex5<\/code><\/td><td>MT5 data folder <code>MQL5\/Experts\/<\/code><\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To open the data folder, choose &#8220;<strong>File \u2192 Open Data Folder<\/strong>&#8221; from the MT menu. Unzip and copy the <code>.ex4<\/code> \/ <code>.ex5<\/code> file into <code>MQL4\/Experts\/<\/code> or <code>MQL5\/Experts\/<\/code>, then right-click in the Navigator window and choose &#8220;<strong>Refresh<\/strong>&#8221; \u2014 <code>TraderIsMe-Data-Sync-EA<\/code> will appear under Expert Advisors.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Allow the WebRequest URL in MT4\/MT5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Allow the app&#8217;s domain in MT so the EA can send data to the external URL.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open &#8220;<strong>Tools \u2192 Options<\/strong>&#8221; from the MT menu.<\/li>\n<li>Select the &#8220;<strong>Expert Advisors<\/strong>&#8221; tab.<\/li>\n<li>Check &#8220;<strong>Allow WebRequest for listed URL<\/strong>&#8221; and add <code>https:\/\/app.traderis.me<\/code> to the list below.<\/li>\n<li>Click &#8220;<strong>OK<\/strong>&#8221; to save.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><em>* Screenshots coming soon. We plan to add MT4 \/ MT5 dialog images later.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Apply the EA to a Chart and Enter the Parameters<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open a chart for any symbol (USDJPY or whatever \u2014 any instrument is fine).<\/li>\n<li>Drag and drop <code>TraderIsMe-Data-Sync-EA<\/code> from the Navigator&#8217;s Expert Advisors list onto the chart.<\/li>\n<li>In the &#8220;<strong>Common<\/strong>&#8221; tab of the dialog, check &#8220;<strong>Allow Algo Trading<\/strong>.&#8221;<\/li>\n<li>In the &#8220;<strong>Inputs<\/strong>&#8221; tab, enter the values per the table below and click &#8220;<strong>OK<\/strong>.&#8221;<\/li>\n<li>Confirm the &#8220;<strong>Algo Trading<\/strong>&#8221; button on the MT toolbar is green (if red, click to turn it green).<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><em>* Screenshots coming soon. MT4 \/ MT5 &#8220;Inputs&#8221; dialogs will be added later.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">EA Input Parameters<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead><tr><th>Parameter<\/th><th>Description<\/th><th>Required<\/th><th>Default<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>ApiKey<\/code><\/td><td>The <strong>account identifier API key<\/strong> (for data sync) issued in Step 1. Must be 32 characters or longer.<\/td><td>Yes<\/td><td>empty<\/td><\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The Data Sync EA has only one input parameter: <code>ApiKey<\/code>. The send interval and other internals are managed automatically by the EA and are not user-configurable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Send Timing<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>On EA startup<\/strong>: one send immediately after initialization<\/li>\n<li><strong>Periodic<\/strong>: automatic send every 1 minute (fixed inside the EA, not configurable)<\/li>\n<li><strong>On position change<\/strong>: MT4 detects open\/close via <code>OnTick<\/code>, MT5 via <code>OnTradeTransaction<\/code>, and sends immediately<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Verify the Sync<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you see a log like &#8220;<code>[TraderIsMe] Sync OK<\/code>&#8221; in the MT Experts tab, the send was successful. Open the app&#8217;s Dashboard and check that your balance and recent trades are reflected.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/docs.traderis.me\/ja\/wp-content\/uploads\/2026\/04\/app-03-dashboard.png\" alt=\"Verifying the sync result on the Dashboard\" class=\"wp-image-27\"\/><figcaption>Select the MT-linked account from the top-right account selector on the Dashboard to see balance, PnL, and trade history<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">When Sync Does Not Work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you see errors like these in the Experts tab, check the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>&#8220;API key is not set&#8221; alert<\/strong> \u2192 <code>ApiKey<\/code> is empty or shorter than 32 characters. Paste the key issued in Step 1 exactly.<\/li>\n<li><strong>WebRequest error 4060 \/ 4014<\/strong> \u2192 The WebRequest URL allowance in Step 3 is missing. Check that <code>https:\/\/app.traderis.me<\/code> is entered exactly, character-for-character.<\/li>\n<li><strong>HTTP 401 \/ 403<\/strong> \u2192 The <code>ApiKey<\/code> value is wrong. Re-copy the key issued in Step 1.<\/li>\n<li><strong>HTTP 404<\/strong> \u2192 An outdated EA file. Re-download the latest version.<\/li>\n<li><strong>No logs at all<\/strong> \u2192 The &#8220;Algo Trading&#8221; button on the MT toolbar is red, or the smiley icon in the top-right of the chart is not smiling. Enable algo trading.<\/li>\n<li><strong>Network disconnect<\/strong> \u2192 Check that the bottom-right of the MT4\/MT5 status bar does not show &#8220;disconnected.&#8221;<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Next Steps<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to bulk-import past trade history, see our CSV manual import guide (coming soon in English). Daily sync after the EA is running is fully automated.<\/p>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>This guide walks you through connecting MetaTrader 4 \/ MetaTrader 5 (hereafter MT4\/MT5) to TraderIsMe using th &#8230; <a title=\"Set Up MT4\/MT5 Data Sync\" class=\"read-more\" href=\"https:\/\/docs.traderis.me\/en\/docs\/mt-data-sync-setup\/\" aria-label=\"Set Up MT4\/MT5 Data Sync \u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8aad\u3080\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[2],"doc_tag":[],"class_list":["post-8","docs","type-docs","status-publish","hentry","doc_category-getting-started"],"year_month":"2026-06","word_count":921,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":[],"doc_category_info":[{"term_name":"Getting Started","term_url":"https:\/\/docs.traderis.me\/en\/docs-category\/getting-started\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/docs\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":3,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/docs\/8\/revisions"}],"predecessor-version":[{"id":23,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/docs\/8\/revisions\/23"}],"wp:attachment":[{"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/doc_category?post=8"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.traderis.me\/en\/wp-json\/wp\/v2\/doc_tag?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}