Skip to main content

Create TradingView Alerts and connect them to your Bot

How to connect Cornix with Trading View using alerts

Written by Hadar Cornix
Updated over 2 weeks ago

Note: The TradingView integration with Cornix is done by the Webhook URL method. You can also use your own Pine script, as described below.

This integration requires a paid package on TradingView.

Step 1 - Go to your TradingView account

Navigate to your profile and click on 'Chart'.

Step 2 - Create alert

Click on the alarm clock icon on the right side of the page, and click the 'Create alert' button.

Step 3 - Fill in the necessary alert fields

Alert Actions:

a) βœ“ Show pop-up

b) βœ“ Webhook URL - Use this URL address when setting your Trading View alerts - https://dashboard.cornix.io/tradingview/.

c) Enter your "Create Trade Webhook" or "Close Trade Webhook" into the 'Message' box (see image for example).

d) After verifying that you have completed all the steps, click 'Create'.

Notes:

  • The "Message" box should only include the copied Webhooks (either "Create Trade Webhook" or "Close Trade Webhook"). Do not add any additional text to the message box.

  • You can send alerts directly from your Pine Script, e.g. 'strategy.order.alert_message' and it will work.

  • For Demo TradingView bots, use this Webhook URL instead of the regular one- https://dashboard.cornix.io/tradingview-demo/.

  • Make sure you copy and paste the Webhook URL exactly as it is without missing any note.

Note: The links and Webhook shown in the video are for demonstration purposes only and should not be used. Instead, use the attached Webhook URL and the unique Trade Webhooks shown on your Bot's details.

Once your alert is created and your TradingView bot is active - you're all set ✌️

Did this answer your question?