Logo
    Portal →

    Start Here

    Connect Accounts

    Module 1: Bridge

    Module 2: Analytics

    Module 3: Tasks

    Module 4: Notifications

    Resources

    Echo

    FAQ

    PineConnector Docs
    PineConnector Docs
    MetaTrader 4

    MetaTrader 4

    MetaTrader 4

    💡
    Still using MetaTrader 4? It might be time to switch to MT5

    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 MT5 is an option for you, follow this MT5 Setup Guide instead

    💡
    PineConnector v3 Guide This guide is designed to assist you in setting up PineConnector v3 on your MetaTrader 4 terminal. If you are looking to set up PineConnector v2, please refer to the following link here.

    1. Download PineConnector EA

    In the your PineConnector Portal, click on Download on the left column, and download the MetaTrader 4 PineConnector EA.

    image

    2. Access the Experts Folder

    On the upper left corner of your MetaTrader 4, click “File” → “Open Data Folder”.

    image

    In your Data Folder, click on “MQL4”.

    image

    In your MQL4 folder, click on “Experts”.

    image

    3. Add PineConnector EA

    In your Experts folder, paste the PineConnector EA that you have just downloaded. The file type of the EA is “EX4 File”.

    image

    4. Allow DLL Imports & Configure Webrequest

    At the top of your MetaTrader 4, click “Tools” → “Options” → tick the box for “Allow DLL imports”.

    Tick “Allow WebRequest for listed URL”, and add the following URL:

    https://webrequest.pineconnector.com/
    💡
    What’s the difference between WebRequest and Webhook URL?
    • WebRequest URL: Used only in the MT4/MT5 setup to allow MetaTrader to communicate with PineConnector. Add this URL in MetaTrader’s settings.
    • Webhook URL: This is the URL to send alerts from TradingView to PineConnector, triggering trades on your MetaTrader terminal.

    In Short: Use WebRequest for MT4/MT5 setup and Webhook to send alerts.

    image

    5. Enable Auto Trading

    At the top of your screen, ensure that “AutoTrading” is in green.

    image

    6. Attach PineConnector EA

    Open Navigator by pressing “Ctrl+N” → Right click on “Expert Advisors” → Click “Refresh”.

    image

    Right click on the PineConnector MT4 EA and click “Attach to a chart”.

    image

    7. Allow Live Trading and DLL Imports

    Go to the Common tab in your MetaTrader terminal and select "Allow live trading" and "Allow DLL imports".

    image

    8. Input License ID

    Copy your License ID from your Licensing Dashboard in your PineConnector Portal.

    image
    image

    9. Check Connection

    After inputting your License ID, check that you have successfully connected to the PineConnector server.

    💡
    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.
    💡
    Didn’t connect successfully?
    • Check that you are using Windows Server 2016, 2019 or 2022, or Windows 10/11
      • Are you using a compatible Operating System?
      • Already using a compatible OS? Restart your computer or VPS
    • Ensure no other EAs are running on your MetaTrader terminal
    image

    10. Check Updated License Details

    In the Licensing Dashboard, check your updated license details.

    image
    💡
    Auto-Roaming Licenses You may connect to any trading account of your choice (including MT4 or MT5, and Demo or Live accounts) provided that your license is active (not currently in use and within its validity period).
    💡
    1 PineConnector EA, 100 Symbols You only need to run one instance of the EA, regardless of the chart or time frame you're using. By attaching the PineConnector EA to your MetaTrader terminal, you gain access to our server. With the 1 copy of PineConnector EA, you may trade all symbols in your Symbol List.

    On this page

    • MetaTrader 4
    • 1. Download PineConnector EA
    • 2. Access the Experts Folder
    • 3. Add PineConnector EA
    • 4. Allow DLL Imports & Configure Webrequest
    • 5. Enable Auto Trading
    • 6. Attach PineConnector EA
    • 7. Allow Live Trading and DLL Imports
    • 8. Input License ID
    • 9. Check Connection
    • 10. Check Updated License Details