How to set up webhook to listen to alerts coming from TradingView

TradingView enables forwarding alerts to a specific web server, so called “webhook”. The computer at the receiving end must be:

  • connected to the Internet at “Public” IP, so it is reachable

  • have port 80 opened for inbound communication from predefined TradingView’s IP addresses

  • have application ready to receive and process these alerts. This application.

IP addess of the PC TradingConnector.EXE is installed on must be public IP.

1.

First, open port 80 for incoming alerts by clicking enabling this toggle.


2.

Above action will create this Inbound Rule in Windows Defender Firewall of your Windows PC.

It will only allow communication from certain IP addresses, as predefined by TradingView.


3.

Go to TradingView.com and setup an alert. While in “CreateAlert” popup, switch to Notifications tab and type the following Webhook URL: http://xxx.xxx.xxx.xxx:80/c/webhook/tv

where xxx.xxx.xxx.xxx is IP address of the PC TradingConnector.EXE is installed on (this PC).

Remember to add port 80 at the end.

Click CREATE and wait for TradingView to fire the alert.