Updated: 2026-07-06 7 Min Read TradingView Webhook

TradingView Webhook Copy Trading: Auto-Execute Alerts in India

A comprehensive guide on connecting TradingView alerts and Pine Script indicators directly to Dhan and Angel One API terminals for hands-free copy trading.

TradingView is the most popular charting tool for technical analysts. Many traders write custom indicators in Pine Script or configure standard indicators (like Supertrend, RSI, MACD) to alert them when to buy or sell. However, manually entering orders after receiving a TradingView alert is slow and leads to lost profits. Using TradingView Webhook Copy Trading, you can automate this entire flow and copy orders across multiple child accounts simultaneously.

What is a Webhook and How Does it Work?

A Webhook is a communication protocol that allows one application to send real-time data to another application when a specific event occurs. In this context:

  • An alert triggers on TradingView.
  • TradingView sends a secure web request (POST payload) containing order instructions (Symbol, Side, Quantity) to the TeleTrade Webhook Link.
  • TeleTrade receives the request and immediately triggers execution on your connected Master and Child broker accounts.

Step-by-Step Setup: TradingView to Broker Webhook Automation

To connect TradingView alerts directly to your broker accounts via TeleTrade, follow these steps:

Step 1: Get your Webhook URL from TeleTrade

  • Log in to your TeleTrade account.
  • Navigate to the "Webhook Bridge" tab.
  • Copy your unique Personal Webhook URL. (Keep this URL secure to prevent unauthorized trades).

Step 2: Setup Alert in TradingView

  • Open a chart on TradingView (e.g. SBIN or NIFTY).
  • Click the "Alert" clock icon to create a new alert.
  • Configure the condition (e.g., crossing a line or indicator buy/sell signal).
  • In the "Notifications" tab, check the Webhook URL box and paste your TeleTrade Webhook URL.

Step 3: Define the Message Payload

In the "Message" text box of the alert, paste the order instructions in JSON format. TeleTrade supports structured JSON payloads:

{
  "action": "buy",
  "symbol": "SBIN",
  "quantity": 100,
  "product": "MIS",
  "type": "MARKET"
}
        

When this alert triggers, TeleTrade will buy 100 shares of SBIN in the Master account and scale the quantity proportionally to buy shares in all connected child accounts.

Important Risk Management Tips for Webhook Trading

Algo-execution is fast, but it requires safeguards to protect capital:

  • Start with Simulation Mode: Always test new Pine Script indicator alerts in TeleTrade's "Paper Trading" mode first before deploying live funds.
  • Establish Daily Limits: Configure maximum loss limits in your broker terminal or TeleTrade dashboard to halt execution if a script goes haywire and loops alerts.
  • Check Session Tokens: Ensure your daily API authorization is done every morning, otherwise the webhook will fail to execute trades due to expired broker sessions.

Connect TradingView to your Brokers

Mirror your Pine Script and indicator alerts directly into Dhan and Angel One accounts. High-speed, secure, and fully automated webhook bridge.

Connect Webhook Now