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 ?

 
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