Automate Trading from TradingView to MT4/MT5

 

Greetings,


Is there a way to Automate Trading from TradingView to MT4/MT5 ? 

Simply what I am trying to do is to set conditions for opening the trade based on an indicator,

for example, the Super Trend indicator on TradingView gives Buy/Sell signals. I want my trades to be opened on MT4/MT5  after the closure of the candle that got the

Buy/Sell signal from  the Super Trend indicator on TradingView with a SL/TP I set already

How can do this automation ?

MQL5 programming for traders - Book on MQL5.com
MQL5 programming for traders - Book on MQL5.com
  • www.mql5.com
Modern trading relies heavily on computer technology. Automation now extends beyond the boundaries of exchanges and brokerage offices, becoming...
 
you will need:
1- alerts on tradingview linked to your webhook that will receive and parase data.
2- python app: that has two main parts, flask to receive the alerts, and trading logic.
3- ngrok: webhooks on local machine wont work, ngrok will listen to your ports and generate a free link.
4- mt5 account and allow algo trading on.

thats it very basic
 
FYI, you need to have paid trading view plan to use webhook.
 
Also you can hire a freelancer to convert pine script source from tradingview to MQL5 so you can execute the indicator or EA on Metatrader directly.