MetaTrader WebRequest setup
Add the required WebRequest permission for the self-hosted MT4 EA and keep it separate from TradingView's webhook URL.
The self-hosted MT4 v3 setup requires a WebRequest permission in MetaTrader. The current MT5 installation guide does not require this URL. If you use Edge, follow the Edge guide instead of changing a local terminal.
Add the MT4 permission
Section titled “Add the MT4 permission”- In the intended MT4 terminal, open Tools → Options → Expert Advisors.
- Enable Allow WebRequest for listed URL.
- Add the exact address below, then select OK.
Add to MT4's allowed WebRequest list. This is not the TradingView webhook address.
Continue with the complete MT4 installation guide, including its other permissions, EA files and connection checks. Adding this one permission does not complete the installation.
WebRequest and webhook are different
Section titled “WebRequest and webhook are different”| Address | Where it belongs |
|---|---|
https://webrequest.pineconnector.com/ |
MT4’s allowed WebRequest list for the setup above |
https://webhook.pineconnector.com |
TradingView’s Webhook URL field when configuring an alert |
To choose the TradingView procedure, use Configure alerts. If an installed EA does not connect or process an alert, read its Experts log and follow the error guide before sending another test.
