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)
        │
        ▼  (<10ms)
BitCLI Cloud Edge (Nginx / Lua Filter)
        │
        ▼
Redis Stream Pipeline
        │
        ▼
BitCLI Worker (HTML Sanitize & Template Render)
        │
        ▼
Telegram Message (Private Chat / Channel / Group)

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: Sent directly to your bot DM.
    • Channel / Group: Add the bot as an Administrator with "Post Messages" permission, and it will appear in your destination list.
  4. Copy your unique endpoint URL: https://bitcli.proofcore.org/api/wh/v1/<your-secret-uuid>

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"
}

BitCLI renders this payload into a formatted card:

🚨 SIGNAL: BTCUSDT
🎯 Action: BUY
💵 Price: 95,200
📝 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}}"
}

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.