MetaTrader 4
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
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.
2. Access the Experts Folder
On the upper left corner of your MetaTrader 4, click “File” → “Open Data Folder”.
In your Data Folder, click on “MQL4”.
In your MQL4 folder, click on “Experts”.
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”.
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/- 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.
5. Enable Auto Trading
At the top of your screen, ensure that “AutoTrading” is in green.
6. Attach PineConnector EA
Open Navigator by pressing “Ctrl+N” → Right click on “Expert Advisors” → Click “Refresh”.
Right click on the PineConnector MT4 EA and click “Attach to a chart”.
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".
8. Input License ID
Copy your License ID from your Licensing Dashboard in your PineConnector Portal.
9. Check Connection
After inputting your License ID, check that you have successfully connected to the PineConnector server.
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.
- 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
10. Check Updated License Details
In the Licensing Dashboard, check your updated license details.
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).
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