To set up access for TradingView to MetaTrader 5, you first need to download and install the Expert Advisor from our server. The latest version of the Expert is available at: https://algoway.trade/downloads/AlgoWay-MT5.ex5.
In the upper left corner of the MetaTrader 5 platform, click on “File” and then “Open Data Folder.” In the window that opens, go to the MQL5
directory and then to the Experts
directory. Copy the downloaded Expert to this folder. Close this window and go to the Navigator window.
By right-clicking and selecting Refresh, you will see your new Expert AlgoWay-MT5.
In MetaTrader 5, go to the main menu, Tools, and then to the Options submenu. Go to the Expert Advisors tab. Enable Allow algorithmic trading, Allow DLL imports, and Allow WebRequest for listed URL, as shown in the screenshot. Fill in the Allow WebRequest for listed URL field with https://algoway.co. Remember, without enabling this webhook server, you will receive error 4014.
Log in to your account on https://www.algoway.trade/ using your credentials.
In the Platform section, select MetaTrader 5 from the dropdown menu. In the MT5to field, select TradingView from the dropdown list. Click Add Main Webhook to save the webhook.
Next, in the Navigator window, select our Expert with the left mouse button and drag it onto any active chart window. The Expert settings menu will appear. Go to the Input tab and double-click on the corresponding fields to fill in:
Please do not change settings whose purpose you do not yet understand.
Open the desired chart in TradingView and set up your trading strategy.
Create an alert for your strategy:
In the alert settings window:
In the Message section, refer to the JSON format provided by AlgoWay for MetaTrader 5.
Click Create to finalize the alert setup.
That's it. If you have done everything correctly, the status window will show your data and a blue color, indicating the start of our cooperation.