Skip to content

TradingView

If you have a minimum paid subscription to TradingView, you can connect TradingView signals to Veles bots. Webhooks allow you to send signals to open, close, and average deals directly from TradingView.

Setup recommendations:

  1. For the first grid order, use the “Market” (=0) Indent to avoid missing entries due to price pulling up.
  2. Set up duplicate alerts: not only in the bot but also by email — this simplifies debugging and error diagnostics.

To set up deal entry based on TradingView alerts:

  1. Go to bot settings and find the “Trade entry conditions” section.

  2. Select the TradingView filter and copy the generated link.

    Example of TradingView filter

  3. In TradingView, select the timeframe and instrument on the chart, and click the Alert button.

    Alerts

  4. In the alert settings, paste the copied link into the Webhook URL field.

    Alert settings

  5. If the bot is a regular one, leave the Message field blank.

    If the bot is a Multi-pair bot, enter the following in the field:

    {{exchange}}:{{ticker}}

    Then the message will look like BINANCE:BTCUSDT, and the bot will know which pair to open a trade on.

  6. Click the Create button.

To set up a trade closure based on TradingView signals, repeat the same steps in the Exit trade section.

⚠ Opening and closing a deal each require two different links and two different alerts in TradingView.

  1. In the bot settings, select TradingView Strategy in the filters section and copy the link.

    Example of a TradingView strategy filter

  2. In TradingView, select a timeframe and strategy on the chart.
    To do this, click the Indicators button, then open the Technical Analysis and Strategies tab.
    Strategies are marked with an icon with two up/down arrows.

    TradingView strategies

  3. Click the Alert button.

    Notifications

  4. In the settings, specify:

    • Condition = selected strategy
    • Check the box next to Webhook URL and paste the link from Veles
    • In the Message field, enter:
      {{strategy.order.action}}/{{strategy.market position}}

    Alert Settings

  5. In the bot settings, in the Exit trade section, add the TradingView Strategy filter (the link will be the same).

Examples of messages the strategy sends to the bot:

  • Open Long: BINANCE:BTCUSDT:1h:buy/long
  • Open Short: BINANCE:BTCUSDT:1h:sell/short
  • Close Long: BINANCE:BTCUSDT:1h:sell/flat
  • Close Short: BINANCE:BTCUSDT:1h:buy/flat

Combining TradingView signals with Veles indicators

Section titled “Combining TradingView signals with Veles indicators”

TradingView signals can be combined with Veles indicators. The bot will only open a trade if all conditions are met.

Example:

  • Current BTC price = $70,000
  • TradingView signal: alert at $65,000, price reached → signal triggered
  • Bollinger Bands condition also met
  • ✅ Bot opens a long deal
  • Use TradingView for flexible conditions (levels, custom indicators), and Veles to filter out false signals.
  • Test the accuracy of email alerts before the live launch.
  • For multi-pair bots, always specify a message template ({{exchange}}:{{ticker}}), otherwise the bot will not detect the trading pair.
Help