Getting Started

EA Installation

Syntax Guide

Analytics

MetaTrader 5

MetaTrader 5

💡
Looking for MetaTrader 4 setup guide? We do support MT4, but since it’s being gradually phased out by MetaQuotes, we strongly recommend using MetaTrader 5 if your broker or prop firm allows it. PineConnector is optimized for MT5 — it’s faster, more stable, and where we focus most of our updates, improvements, and support. If MT4 is your only option for now, no worries — here's the guide: MT4 Setup Guide

MetaTrader 5

This guide will walk you through setting up the PineConnector Expert Advisor (EA) on your MetaTrader 5 platform.

For a visual walkthrough, you can watch our video tutorial:

Alternatively, please follow the step-by-step instructions below.

1. Download PineConnector EA

  • Navigate to your PineConnector Portal.
  • In your Downloads tab, under "MT5 EA," click Download.
image

2. Access the Experts Folder

The "Experts" folder is where MetaTrader 5 stores Expert Advisors (automated trading programs).

  • In the upper-left corner of your MetaTrader 5 platform, click FileOpen Data Folder.
  • image
  • In the Data Folder that opens, click into the MQL5 folder.
  • image
  • Inside the MQL5 folder, click into the Experts folder.
  • image

3. Add PineConnector Files to the Experts Folder

  • In your Experts folder, extract the contents of the .zip file you downloaded in Step 1.
  • Ensure the following two files are placed directly into the Experts folder (not in a sub-folder):
    • PineConnector-MT5-DLL
    • PineConnector-MT5-EA
    • image

4. Allow DLL Imports in MetaTrader 5

  • At the top of your MetaTrader 5 platform, click ToolsOptions.
  • Go to the Expert Advisors tab.
  • Tick the box for Allow DLL imports.
  • Click OK.
  • (Note: For users familiar with older versions, providing a WebRequest URL is no longer necessary for PineConnector MT5 v3.37 and later.)

image

5. Enable Algo Trading

  • In the MetaTrader 5 toolbar (at the top of the terminal), locate the Algo Trading button.
  • If the button is red, click it to enable algorithmic trading. The button should turn green, indicating it's active.
image

6. Attach PineConnector EA to a Chart

  • Open the Navigator panel in MetaTrader 5 by pressing Ctrl+N (or by clicking ViewNavigator).
  • In the Navigator panel, right-click on Expert Advisors.
  • Click Refresh.
  • image
  • Find PineConnector MT5 EA in the list, right-click on it, and select Attach to Chart. Choose any chart.
  • image
💡
Do I need to attach the PineConnector EA to every chart if I want to trade multiple symbols? Good news! No, you don't need to. You only need to run one instance of the EA, no matter which chart or time frame you're focusing on. Once you attach the PineConnector EA to your MetaTrader account, you're all set to access our server. And with just that single EA, you can trade all the symbols on your Symbol List!

7. Configure EA Settings

A properties window for the EA will appear.

  • Under the Common tab, ensure Allow Algo Trading is ticked.
  • image
  • Under the Dependencies tab (if available, or check Common tab again for older MT5 versions), ensure Allow DLL imports is ticked.
  • image

8. Input Your License ID

  • Go to the Inputs tab in the EA properties window.
  • Access your PineConnector members’ area and copy your License ID from the Licensing Dashboard.
  • image
  • Paste your License ID into the corresponding field in the EA’s Inputs tab.
  • image
  • Click OK. The EA will now attempt to connect.
💡
Can I use my PineConnector license on different trading accounts? Yes, absolutely! PineConnector provides Auto-Roaming Licenses. This means you're free to connect to any trading account you choose – whether it's MT4 or MT5, and a Demo or Live or even a Prop account!

9. Check Connection

After completing Step 8, check the chart where you attached the EA:

💡
Connection Successful! If the connection is successful, you will see the message “Successfully connected to PineConnector’s Server” printed directly on the chart. Your Trading Account Number, License ID, and Expiry Date will also be displayed.
image
💡
Didn’t connect successfully?
  • Check that you are using Windows Server 2016, 2019 or 2022, or Windows 10/11
  • Ensure no other EAs are running on your MetaTrader terminal

10. Verify License Details in Portal

Once connected, you can also navigate to your Licensing Dashboard in the PineConnector Portal to check your updated license details and connection status.

image