Skip to content

TradingView Webhook Gateway ​

Relay Pine Script alerts directly into Telegram chats, VIP channels, or private groups with zero delivery delay.


1. How It Works ​

TradingView Alert (HTTP POST) ➔ BitCLI Cloud Edge ➔ Redis Stream ➔ Telegram Chat


2. Setup Guide ​

  1. In the bot, run /webhooks and click ➕ Create Webhook.
  2. Give your endpoint a name (e.g. BTC Scalp VIP).
  3. Select where signals should be delivered (Private Chat, Channel, or Group).
    • Note: To deliver to a Channel/Group, add the bot as an Administrator with "Post Messages" rights first.
  4. Copy your unique endpoint URL.

3. Configuring TradingView ​

  1. Open your TradingView chart and click Create Alert (Alt + A).
  2. Under the Notifications tab, check Webhook URL and paste your BitCLI link.
  3. In the Settings tab, paste this JSON payload into the Message box:
json
{
  "coin": "{{ticker}}",
  "action": "BUY",
  "price": {{close}},
  "comment": "RSI Oversold Bounce"
}

4. Custom Jinja2 Templates ​

You can customize message formatting directly from Pine Script by passing a "message" field:

json
{
  "message": "🔥 <b>VIP SIGNAL</b>\nCoin: <code>{{ticker}}</code>\nEntry: {{close}}\nTP1: {{plot_0}}"
}

BitCLI renders this payload into a formatted card:

🔥 VIP SIGNAL
Coin: BTCUSDT
Entry: 95200.50
TP1: 96000.00


5. Security & IP Whitelisting ​

  • TradingView IP Filter: Toggle this option in /webhooks to silently drop any request originating outside TradingView's official server subnets.
  • Instant URL Rotation: If your secret URL leaks, regenerate it in one tap without deleting your webhook config.