Main clusters and core pages.
AlgoWayWS-MT5 EA is the MetaTrader 5 Expert Advisor used by AlgoWay to receive TradingView webhook commands and execute them inside an MT5 broker account. This guide shows the complete installation process: how to install the EA, enable the required MT5 permissions, enter your AlgoWay webhook UUID, confirm the WebSocket connection, and send a safe test order before using live TradingView alerts.
The current AlgoWay MT5 automation route is:
TradingView alert → AlgoWay webhook → AlgoWayWS-MT5 EA → MetaTrader 5 broker account
This page focuses on setup and connection. For full EA behavior, JSON fields, SL/TP, trailing stop, breakeven, profit lock, trade modes and risk settings, use the detailed guide: AlgoWayWS-MT5 EA 2.10 user guide.
Last updated: 2026-05-12 • Author: AlgoWay
If you already know MetaTrader 5, the process is simple. Create a MetaTrader 5 webhook in AlgoWay, install the EA, allow MT5 to run Expert Advisors and DLL imports, paste the webhook UUID into the EA inputs, wait for the connection message, and then send a small test webhook.
This video shows the complete TradingView to MT5 workflow: AlgoWay webhook creation, EA installation, MT5 setup, JSON message, TradingView webhook URL and final test.
Before installing the EA, prepare your AlgoWay account and your MetaTrader 5 terminal. You need an active AlgoWay account, a MetaTrader 5 broker account, and a webhook created in the AlgoWay dashboard. The webhook must be created for the MetaTrader 5 platform because this UUID will be used by the EA to identify which AlgoWay route belongs to this terminal.
You also need access to the Windows machine where MT5 is installed. If you use a VPS, remote desktop, or a cloud Windows server, run the installer on that same machine. Installing the EA on your local computer will not connect a different VPS terminal.
The AlgoWayWS-MT5 setup installs the Expert Advisor file, include files and the WebSocket DLL library required by the EA. These files must be placed inside the correct MetaTrader 5 Data Folder, not just inside the visible installation folder under Program Files.
| File | Destination folder |
|---|---|
AlgoWayWS-MT5.ex5 |
MQL5\Experts\ |
asyncwinhttp.mqh |
MQL5\Include\ |
asyncwebsocket.mqh |
MQL5\Include\ |
asyncwinhttpwebsockets.dll |
MQL5\Libraries\ |
Open your AlgoWay dashboard and create a new webhook for MetaTrader 5. After the webhook is created, AlgoWay will show a webhook URL and a UUID. For the EA input you need the UUID only, not the full webhook URL.
A webhook URL usually contains the UUID inside it. The EA does not need the full URL because the connection is established through the AlgoWay WebSocket server. The UUID tells AlgoWay which route should deliver commands to this exact MT5 terminal.
b7534616-6c8c-4582-8af4-7c143d323231
Copy this value carefully. A missing character, extra space or wrong UUID will prevent the terminal from receiving the expected trading commands.
For most users, the Auto Installer is the correct method because it copies all required files into the MetaTrader 5 Data Folder automatically.
Download: AlgoWayWS-MT5-Setup.exe
Before running the installer, close every running MT5 terminal. If several MT5 terminals are open, close all of them. This prevents locked files and helps the installer detect the correct environment.
Launch the installer and follow the setup windows. If Windows asks whether the file should be kept or allowed, confirm only if the installer was downloaded from AlgoWay. If SmartScreen opens a blue warning window, click More info, then Run anyway.
If the installer asks about portable mode and you do not intentionally run MT5 in portable mode, choose No. Portable mode is used only when MT5 is launched from a custom folder with the /portable option.
Use manual installation only if you cannot run the Auto Installer. The important part is to copy files into the real MT5 Data Folder. Do not guess the Windows path manually.
Manual package: EA_payload.zip
MQL5 directory.
The WebSocket DLL may require Microsoft Visual C++ Redistributable. If the EA loads but the DLL cannot be used, install the current VC++ v14 redistributable package for your Windows architecture.
Open MetaTrader 5 and go to:
Tools → Options → Expert Advisors
Enable these options:
Click OK. These settings are required because the EA must be allowed to run trading logic and load the WebSocket DLL library.
Open any chart in MetaTrader 5. The chart symbol is not the main routing rule because the webhook JSON controls the symbol, but the EA must be attached to a chart to run.
After clicking OK, check the MT5 Experts tab. The EA should print connection messages. Also check the Journal tab for terminal-level errors such as blocked DLL imports or missing runtime libraries.
If the EA is not connected, do not test live TradingView alerts yet. First check the UUID, MT5 permissions, internet connection, DLL permission and AlgoWay webhook status.
After the EA is connected, send a small test message from AlgoWay or from your webhook source. Use a small order size and a symbol that exists in your MT5 Market Watch.
{
"platform_name": "metatrader5",
"ticker": "EURUSD",
"order_contracts": 0.01,
"order_action": "buy"
}
Check the result in two places:
Only after the EA is installed, connected and tested should you activate the TradingView alert. In TradingView, paste your AlgoWay webhook URL into the webhook URL field and use a valid JSON message.
{
"platform_name": "metatrader5",
"ticker": "{{ticker}}",
"order_contracts": "{{strategy.order.contracts}}",
"order_action": "{{strategy.market_position}}",
"price": "{{close}}"
}
Full guide: How to connect TradingView to MetaTrader 5 with AlgoWay EA.
Confirm that AlgoWayWS-MT5.ex5 is inside MQL5\Experts\. Restart MT5 or refresh the Navigator panel.
Check that asyncwinhttpwebsockets.dll is inside MQL5\Libraries\, Allow DLL imports is enabled, and the required Microsoft Visual C++ runtime is installed.
Check the webhook UUID, internet access, AlgoWay webhook status and MT5 Experts log.
Check whether AlgoWay received the webhook, whether the EA is connected, whether Algo Trading is enabled, and whether MT5 returned an execution error.
Error 4752 means MT5 is blocking Expert Advisor trading. Read: How to fix MT5 Error 4752.
Error 4756 means the trade request failed or was rejected. Read: How to fix MT5 Error 4756.
Error 415 usually means the TradingView alert message is not valid JSON. Read: How to fix AlgoWay webhook Error 415.
The URL remains algoway-mt5-ws-v10-overview.html because it is already indexed and linked from other pages. The content is now maintained as the current AlgoWayWS-MT5 installation guide for TradingView-to-MT5 automation.
AlgoWayWS-MT5 EA installation has two safe paths: Auto Installer for most users, and manual Data Folder installation for advanced cases. After the files are installed, enable algorithmic trading and DLL imports, attach the EA to a chart, paste the AlgoWay webhook UUID, confirm the WebSocket connection, and test a small JSON command before using live TradingView alerts.