How to Send Trading View Alerts to Mt4/5

ttaasshh

Trader
Sep 20, 2021
19
0
12
33

photo_2021-09-12_15-38-50.jpg

How To:​

  1. Depending on where you want to send your alerts, visit TradingView.to/MT4 or TradingView.to/Mt5.
  2. Click on Get Started and follow the easy steps provided to create a Telegram bot which you will be required to submit the API key to in the next step.
  3. Copy and paste your API key into the box provides, and be keen on this step to make sure that you only provided the correct API key.
  4. Click on the next step and head over to your Telegram account and create a channel. To the channel you create you need to add two bots. Bot 1 is the one which you created and the second bot is @Tradingviewtobot, be careful here and make sure the bot icon matches that of Tradingview.to website. Ensure both bots are admins with permission to send messages.
  5. Click on the next step where you will be required to type in the channel you created the command ‘/chatid’ without the quotes. The ID you receive in this process is crucial to receiving your logs on telegram so make sure to copy it in full including the hyphen just before it if it is included.
  6. Click on next to submit it on the next step and you are only a step away from automation!
  7. On the last step, click the download EA here button to download the EA that you will install on your Meta Trader.
  8. Once you click Finish, you will see a Webhook URL that you are going to use in your Trading View alerts

Setting Up Your Mt4/5

Once you have downloaded the EA:

  1. Go to your MT4/5, File>Open Data Folder> MQL4/5 (depending on whether it is MT4/5)> Experts and paste the EA here, then restart your Meta trader.
  2. Open Tools>Options> Expert Advisors. Tick on the box for Allow WebRequest for listed URL’s and add the following URLs: https://tradingview.to and https://api.telegram.org
  3. Click on ok to save. Now drag Tradingviewto EA onto one of your charts (you need to copy the received Webhook to paste here). Click on common and allow live trading. Do not forget to allow Auto Trading on your at the top of your Meta Trader.
  4. Make sure that you see a smiley face for MT4 or a lad with a green hat for MT5 at the right top corner of the chart to confirm the EA is properly installed.
Congratulations! you have successfully automated your TradingView alerts and any alerts coming from TradingView will be executed as a Trade on your brokerage account. You receive a telegram log for the same.