Connect Tradingview to Tradoflow via alerts
Whenever your strategy-, indicator- or chart-event happens, Tradingview can send alerts to Tradoflow's webhook endpoint. Tradoflow will process the incoming alert and execute the trade according to your strategy.
Let's create an alert on Tradingview:
- 1. Navigate to a Tradingview chart
- 2. Add an alert to the chart
Right-click the chart and select "Add Alert".
- 3. Configure conditions and template
A "Create alert" window will open, where you can set your alert specifics. The "Settings"-tab defines the alert conditions. In our example we will use a simple "Greater Than" price alert. As a price level we choose 0.0, which is ideal for testing.
It is important to paste the correct template syntax in the message field. If you havn't done already generate a Template and paste it in the message box.
- 4. Connect to Tradoflow
Once you are done with the "Settings"-tab head over to the "Notifications"-tab where we will connect the alert Tradoflow.
Paste the following URL in the "Webhook URL" field:https://www.tradoflow.com/webhook/{strategy-id}
If your strategy ID is 669c8830a1885eb15e3197f0 then the Webhook URL should look like this:
https://www.tradoflow.com/webhook/669c8830a1885eb15e3197f0
- 5. That's it! Click "Create" and wait for the alert to trigger
- There are other ways to create alerts on Tradingview, which we haven't covered in this example. You can find them here: