Skip to content
Docs
Open Portal
Copy the page manually

Your browser did not allow direct clipboard access. Select and copy the Markdown below.

Install the MT5 EA

Install and connect the PineConnector EA on your own Windows computer or Windows VPS.

Follow this guide when you run MetaTrader 5 yourself on a Windows computer or Windows VPS. If you use PineConnector Edge, the hosted EA is already managed for you.

Install PineConnector on MetaTrader 5

Published MT5 walkthrough. Download the current EA from Portal; some version numbers and interface details in the video are historical.Watch on YouTube
Written summary

Download the EA, extract its two files into this terminal’s Experts folder, enable algorithmic trading and DLL imports, attach the EA to a chart, enter your License ID, then confirm the account in Portal. The full steps are below.

  • Install your broker’s MetaTrader 5 terminal and sign in to the intended account. Use demo for your first test.
  • Have access to PineConnector Portal and an available connection.
  • Use a Windows environment that supports the PineConnector EA and its DLL. The published compatibility guide lists Windows 10/11 and Windows Server 2016/2019/2022; use an operating system maintained by you or your VPS provider.

For a Mac, use Edge or a Windows VPS. The published guide does not support installing this Windows DLL workflow directly in macOS or in MetaQuotes’ built-in VPS service.

Open Downloads in Portal. Find MT5 EA and download the current package.

Keep the ZIP file available for the next step. Use the official Portal package rather than files from an unrelated indicator or a third-party download.

MT5 EA download card in PineConnector Portal with the Download menu open Enlarge
The published example shows EA v3.37. Select the latest package offered in your own Portal, not the historical version pictured.
The published example shows EA v3.37. Select the latest package offered in your own Portal, not the historical version pictured.Open original
MT5 EA download card in PineConnector Portal with the Download menu open

In the MT5 terminal you are setting up, select:

  1. File
  2. Open Data Folder
  3. MQL5
  4. Experts

The Experts folder holds Expert Advisors for that terminal. Opening it from MT5 helps you avoid putting the files into a different installation’s data folder.

MQL5 folder highlighted in the MetaTrader data folder Enlarge
Open MQL5 first, then Experts inside it.
Open MQL5 first, then Experts inside it.Open original
MQL5 folder highlighted in the MetaTrader data folder
Experts folder highlighted inside MetaTrader's MQL5 data folder Enlarge
Open Experts inside the MQL5 folder belonging to the terminal you are configuring.
Open Experts inside the MQL5 folder belonging to the terminal you are configuring.Open original
Experts folder highlighted inside MetaTrader's MQL5 data folder

Extract the downloaded ZIP’s contents directly into MQL5 → Experts. The published package instructions identify the two PineConnector files by these names:

  • PineConnector-MT5-EA
  • PineConnector-MT5-DLL

Keep the names and extensions supplied in the downloaded package. Both files should be in Experts itself, rather than inside another ZIP or an extra nested folder.

Check: you can see both extracted files in the folder before returning to MT5.

PineConnector EA and DLL files together directly inside the Experts folder Enlarge
Both files belong directly in Experts. Version numbers in this published screenshot are historical; retain the filenames in your current package.
Both files belong directly in Experts. Version numbers in this published screenshot are historical; retain the filenames in your current package.Open original
PineConnector EA and DLL files together directly inside the Experts folder

4. Allow algorithmic trading and DLL imports

Section titled “4. Allow algorithmic trading and DLL imports”

In MetaTrader, open:

  1. Tools
  2. Options
  3. Expert Advisors

Tick Allow algorithmic trading and Allow DLL imports, then select OK.

MetaTrader Options showing Allow algorithmic trading and Allow DLL imports selected Enlarge
These are the two permissions required by the published PineConnector MT5 installation guide.
These are the two permissions required by the published PineConnector MT5 installation guide.Open original
MetaTrader Options showing Allow algorithmic trading and Allow DLL imports selected

Check the Algo Trading button at the top of MT5. Enable it if it is off; the published screenshot shows its active green indicator.

MetaTrader toolbar with Algo Trading enabled and its green indicator visible Enlarge
The toolbar control must be enabled as well as the EA's own permission.
The toolbar control must be enabled as well as the EA's own permission.Open original
MetaTrader toolbar with Algo Trading enabled and its green indicator visible
  1. Open Navigator with .
  2. Right-click Expert Advisors and select Refresh.
  3. Find PineConnector MT5 EA.
  4. Right-click it and select Attach to Chart on the chart you want to use.
Refresh command selected in the Navigator Expert Advisors context menu Enlarge
Refresh the Navigator after copying the files so MT5 can find the EA.
Refresh the Navigator after copying the files so MT5 can find the EA.Open original
Refresh command selected in the Navigator Expert Advisors context menu

One EA is enough for the normal single-account setup. You do not need to attach it to every symbol’s chart. The published guide allows the connected EA to process symbols available in that account’s Symbol List. For intentional advanced isolation, read Keep strategies separate first.

In the properties window that opens:

  • On Common, tick Allow Algo Trading.
  • On Dependencies, tick Allow DLL imports.
PineConnector EA Common tab with Allow Algo Trading selected Enlarge
Common tab in the published EA example. The version shown is historical; install the current Portal download.
Common tab in the published EA example. The version shown is historical; install the current Portal download.Open original
PineConnector EA Common tab with Allow Algo Trading selected
PineConnector EA Dependencies tab with Allow DLL imports selected Enlarge
Check the EA-level DLL permission as well as the terminal-level setting.
Check the EA-level DLL permission as well as the terminal-level setting.Open original
PineConnector EA Dependencies tab with Allow DLL imports selected

Open Connections in Portal and copy the License ID for this connection. In the EA properties window, select Inputs and paste it into License ID. Select OK to connect.

PineConnector EA Inputs with the empty License ID value field outlined Enlarge
Paste your own PineConnector License ID into the outlined field. This is the published v3.45 interface example.
Paste your own PineConnector License ID into the outlined field. This is the published v3.45 interface example.Open original
PineConnector EA Inputs with the empty License ID value field outlined

For other inputs, use the EA settings reference. You do not need to change every option to complete the installation.

Return to Connections and locate the trading account. Compare its account number and broker with the terminal you installed.

Open the account card for more detail. A recognisable custom name, such as the broker plus “Demo”, helps distinguish it from another account; use the account-name edit control where available.

Installation is complete when the intended account is connected through the EA. The next step verifies order processing: Send your first test alert.

What you see First check
EA missing from Navigator Extracted files are in this terminal’s MQL5 → Experts, then refresh Expert Advisors.
Trading or DLL permission error Check both terminal permissions and the EA’s Common/Dependencies tabs.
Wrong account in Portal Compare the terminal’s broker login and the License ID entered in Inputs.
Connection remains absent Read the full message in MT5’s Experts log, then use the error guide.

Do not keep sending test alerts while the destination or connection is unclear. For several accounts on one device, follow Multiple terminals.