Sign inHelpРусский

MetaTrader connector

The connector is the TJConnector Expert Advisor for MetaTrader 4 and 5. While the terminal runs, it sends the whole account history to the journal, then every new trade within seconds. It has no trading functions: it cannot open, change or close an order, and it never asks for your password. The source is open.

Files and the connector can be used for the same account: trades are matched, not duplicated.

Installation

  1. Key. Accounts → a MetaTrader account → «Connect MetaTrader». The key is shown once — copy it.
  2. Download the EA on the connector page: TJConnector.ex5 for MetaTrader 5 or TJConnector.ex4 for MetaTrader 4. In the terminal: File → Open Data Folder → MQL5 (or MQL4) → Experts. Put the file there, then click «Refresh» in the Navigator. On a Mac it does not open this way: in Finder press ⌘⇧G and paste the path from the wizard or the connector page.
  3. Allow the address. Tools → Options → Expert Advisors → tick «Allow WebRequest for listed URL» and add the journal's address — the wizard and the connector page show it.
  4. Put it on a chart. Drag TJConnector onto any chart, paste the key into InpKey on the Inputs tab and press OK.
  5. MetaTrader 4: Account History tab → right click → All History. Otherwise the EA does not see the whole history.

The wizard on the Accounts page shows by itself when the EA comes online, how the history upload goes, and the last trade.

Not working?

  • The EA writes what is wrong in the chart's top left corner.
  • The WebRequest address is exactly the journal's address: with https:// and no path after it.
  • The EA is on a chart of the open terminal, and the terminal is connected to the broker.
  • The key is pasted whole, without spaces. If unsure, use «Regenerate key» on the connector card and paste the new one.
  • «Key revoked or wrong» on the chart — the key was replaced or mistyped: paste the new one.
  • «Connector is attached to account …» — the terminal has a different account open than the one the connector is bound to.
  • «Add https://… in Tools > Options > Expert Advisors» — the address is not allowed in WebRequest (step 3).

Prop accounts

The connector only reads history, but some prop firms restrict any EA. Check your firm's rules before connecting — or upload reports as files, see How to export your history.