Install the MT4 EA — legacy reference
Set up PineConnector v3 on a self-hosted MetaTrader 4 terminal, including its required WebRequest configuration.
Before starting, install your broker’s MT4 terminal, sign in to the intended demo account, and have an available PineConnector instance and License ID. The published Windows compatibility list is Windows 10/11 or Windows Server 2016/2019/2022; use an environment maintained by you or your provider.
Published PineConnector MT4 v3 setup walkthrough
Written summary
Download the MT4 EA, place its EX4 file in this terminal’s Experts folder, allow DLL imports and the MT4 WebRequest URL, enable AutoTrading, attach the EA, enter your License ID and confirm the connection in Portal.
1. Download PineConnector EA
Section titled “1. Download PineConnector EA”Open Downloads in PineConnector Portal and download the MetaTrader 4 EA. Select the MT4 package rather than the MT5 package.
Enlarge2. Access the Experts Folder
Section titled “2. Access the Experts Folder”In the MT4 terminal you are configuring, open:
- File
- Open Data Folder
- MQL4
- Experts
Enlarge
Enlarge
Enlarge3. Add PineConnector EA
Section titled “3. Add PineConnector EA”Place the downloaded EA in MQL4 → Experts. Its file type is EX4 File. Extract it first if the download is packaged in a ZIP; keep the supplied filename and extension.
Enlarge4. Allow DLL Imports & Configure Webrequest
Section titled “4. Allow DLL Imports & Configure Webrequest”- Open Tools → Options → Expert Advisors.
- Enable Allow DLL imports.
- Enable Allow WebRequest for listed URL and add this exact address:
Add this to MetaTrader 4's allowed WebRequest list, not TradingView's alert settings.
- Select OK to save the options.
Enlarge5. Enable Auto Trading
Section titled “5. Enable Auto Trading”Enable AutoTrading on the MT4 toolbar. The published example shows its green indicator when active.
Enlarge6. Attach PineConnector EA
Section titled “6. Attach PineConnector EA”- Open Navigator with CtrlN.
- Right-click Expert Advisors and select Refresh.
- Find the PineConnector MT4 EA, right-click it and select Attach to a chart.
EnlargeOne connected EA can process symbols available in that terminal’s Symbol List. You do not need another copy on every symbol or timeframe. Review multi-strategy scope before intentionally adding separate EA instances.
7. Allow Live Trading and DLL Imports
Section titled “7. Allow Live Trading and DLL Imports”In the EA properties window, select Common and enable Allow live trading and Allow DLL imports. The MT4 label “live trading” is its automated-trading permission; keep your first verification on the intended demo account.
Enlarge8. Input License ID
Section titled “8. Input License ID”Copy the License ID for your intended connection from Portal Connections. In the EA properties, open Inputs, paste the complete ID into License ID, then select OK.
Use the PineConnector License ID, not your broker account number. Check every account assigned to that ID; a signal addressed to a shared ID can reach all of them.
9. Check Connection
Section titled “9. Check Connection”The published successful connection displays “Successfully connected to PineConnector’s Server” on the chart, together with the trading account number, License ID and expiry date. Compare those details with the intended account.
If it does not connect, read View → Terminal → Experts first. Confirm the Windows environment, EA file, License ID, DLL permissions and WebRequest entry. Check for unintended duplicate EAs or another EA interfering with this setup.
The source guide also recommends restarting the computer or VPS after those checks. Review any active automation before restarting; afterwards confirm MT4 and the PineConnector EA are running again. Use the MT4 error reference or Support when the full message still indicates a problem.
10. Check Updated License Details
Section titled “10. Check Updated License Details”Return to Portal and confirm that the correct trading account is connected under the intended License ID. Older Portal layouts call this the Licensing Dashboard; current connection details are in Connections.
Licences are not permanently tied to one trading account. Switching to another supported account requires an available instance and valid subscription access. See accounts, instances and licence allocation.
Connection is one checkpoint. Before relying on an alert, follow the demo-test verification sequence using a message compatible with your installed MT4 EA version. Check the actual account, symbol, volume, stops and any duplicate. Do not assume an older EA supports every newer explicit parameter; the legacy parameter reference preserves setting-dependent messages.

