Connect MetaTrader 5 to your journal, step by step
Link a ProTradingTerminal account in a few clicks, or install ProTradingData in your MetaTrader, allow its connections and understand the EA panel messages.
Your journal fills itself through ProTradingData, an Expert Advisor (EA) that runs in MetaTrader 5 and sends your trades to ProTradingLabs.
With ProTradingTerminal
Does your account run in ProTradingTerminal, on a machine of the Trading Terminal page? Nothing to install or allow:
- In Trading Journal, open your journal, click Configure sync ("MetaTrader 5 · …" if a sync already exists) and choose MetaTrader 5.
- Under MT5 account, choose the account in the list of your machines. An account whose machine is off cannot be chosen.
- Click Open in the terminal. The account number is saved and the terminal opens in a new tab, on this account's EA window, with ProTradingData and your email already filled in. Start it.
- Come back to ProTradingLabs and click Verify synchronization. When the first data arrives, the assistant shows Data received. If the terminal tab was closed, Open the EA window opens it again.
The account is not in the list? Check that it is added in ProTradingTerminal and update ProTradingTerminal: an older version does not send its list of accounts. Otherwise, choose Another MetaTrader 5, set up manually, enter the account number, then, in ProTradingTerminal's EA window, start ProTradingData with your ProTradingLabs account email.
Starting from scratch, with no ProTradingTerminal and no journal? See Where to start.
For a MetaTrader you manage yourself, choose Another MetaTrader 5, set up manually and follow the steps below.
Link the account to your journal
- In Trading Journal, open your journal and click Configure sync (if a sync is already set up, this button shows "MetaTrader 5 · …").
- Choose MetaTrader 5, then, under MT5 account, Another MetaTrader 5, set up manually.
- In Account login, enter your MetaTrader account number (digits only), then click Continue.
The Start date is optional: without it (All history), the journal takes the account's whole history. With a date, only the positions opened from that day are synced, and ProTradingData 1.1.9 or later adds an Opening balance line: the account balance just before that date, earlier trades included. If you add a date to an already linked journal, or move it later, the positions closed before it stay visible but are excluded from the statistics and the capital at the EA's next full sync: after saving, click « Resynchroniser tout » in the EA. See My journal's balance or capital does not match MetaTrader.
Install ProTradingData
- Download the
.ex5file from the wizard or from Downloads. - In MetaTrader 5, open File > Open Data Folder, then MQL5 > Experts.
- Copy the file there and restart MetaTrader.
Allow the connections (error 4014)
Without this step, MetaTrader blocks the EA (error 4014) and no trade arrives.
- Open Tools > Options > Expert Advisors.
- Tick Allow WebRequest for listed URL and add these two addresses:
https://api.protradinglabs.comandhttp://ws.protradinglabs.com. - Click OK.
Start the EA
- Open a chart and drag ProTradingData from the Expert Advisors section of the Navigator.
- In the Inputs tab, set Email ProTradingLabs to the email of your ProTradingLabs account, then click OK.
- Check that Allow algorithmic trading is ticked in Tools > Options > Expert Advisors and that MetaTrader's Algo Trading button is green.
- In ProTradingLabs, click Verify synchronization. When the first data arrives, the wizard shows Data received.
What the EA panel says
The ProTradingData panel shows a banner with the current problem and what to do. The panel is written in French; the most common messages are:
- « Aucun email n'est renseigné » (no email set; older versions: « Email non configuré »). Press F7 on the chart, open the Inputs tab and enter your email in Email ProTradingLabs.
- « Aucun compte ProTradingLabs n'utilise cet email » (no account uses this email). Enter the email you sign in to ProTradingLabs with.
- « Ce compte MetaTrader n'est relié à aucun journal » (account not linked to a journal; older versions: « Aucun compte configuré pour ce login »). The number entered in Account login does not match the account open in MetaTrader. Fix it with the sync button at the top of the journal (it shows "MetaTrader 5 · …"): the EA retries every minute.
- « MetaTrader interdit à l'EA de joindre ProTradingLabs » (MetaTrader blocks the EA). This is error 4014: add the two URLs above, then restart the EA.
- « ProTradingData tourne déjà sur un autre graphique de ce compte » (duplicate instance). Keep a single ProTradingData per account and remove the other one. If you just moved it, the EA retries by itself for 3 minutes.
- « MetaTrader n'est pas connecté au broker » (no broker connection). Check your internet connection and the status in the bottom-right corner of MetaTrader. The EA resumes by itself. See My MetaTrader account is disconnected.
- « Mise à jour obligatoire » (update required). Download the new version from Downloads, replace the old file and restart MetaTrader. See How do I update my ProTradingLabs EAs?.
"EA offline" in the journal
If the journal header shows EA offline, MetaTrader is closed or the EA is no longer on a chart. Reopen MetaTrader and check that ProTradingData is attached. Trades made in the meantime are sent when it comes back. If MetaTrader is open and the EA attached, see "EA offline" although everything is set up.