Documentation

No Coding Automated Order Execution Via TradingView Alerts with Your Broker

2026-01-02 5 min read 20 views

How to Automate TradingView Alerts & Order Execution At Broker with FindNex

Turn your TradingView analysis into automated trades on your broker (Zerodha, etc.) instantly. No coding required.

Prerequisites

  1. A registered account on FindNex.

  2. TradingView account (Pro plan or higher is required by TradingView for Webhooks).

  3. A connected Broker account on FindNex.


Step 1: Connect Your Broker

Before automating, ensure your broker is ready to accept orders.

  1. Log in to your FindNex Dashboard.

  2. Locate the Broker Connection card on the right sidebar.

  3. Click Connect (e.g., Zerodha).

  4. Complete the login process until you see the "Active" green badge.


Step 2: Generate Your Personal Bridge

This creates a secure link between your specific TradingView account and your specific Broker account.

  1. On your Dashboard, look for the "Automate TradingView Alerts" card (below the Broker section).

  2. Click the "Activate TradingView Bridge" button.

  3. Once activated, you will see two important pieces of information:

    • Webhook URL: (e.g., https://findnex.com/api/v2/webhook/tradingview)

    • Message Body: A JSON code block containing your unique API Key.


Step 3: Set Up the Alert on TradingView

Now, let's tell TradingView when to trade.

  1. Open TradingView.com and open a chart (e.g., NIFTY or RELIANCE).

  2. Create your analysis (e.g., "Buy when RSI crosses 30").

  3. Click the Alert button (Alarm Clock icon) on the top toolbar.

  4. Condition: Set your logic (e.g., Crossing Up).

  5. Trigger: Select "Once per bar close" (Highly recommended to avoid false signals).


Step 4: Configure the Webhook (The Connection)

This tells TradingView where to send the signal.

  1. In the Alert configuration popup, click the Notifications tab.

  2. Check the box labeled Webhook URL.

  3. Paste the FindNex Webhook URL you copied in Step 2.

    • URL: https://findnex.com/api/v2/webhook/tradingview


Step 5: Configure the Trade Details (The Payload)

This tells FindNex what to buy/sell and how much.

  1. Click the Settings tab in the Alert popup.

  2. Scroll down to the Message text area.

  3. Delete everything currently in that box.

  4. Paste the JSON Message Body from your FindNex Dashboard.

It will look like this:

codeJSON

{
  "api_key": "YOUR_UNIQUE_FINDNEX_API_KEY", #DO NOT SHARE
  "strategy_id": "123",
  "symbol": "{{ticker}}",
  "action": "BUY",
  "price": "{{close}}",
  "quantity": 1,
  "product_type": "MIS"
}

⚠️ Customize Your Trade Here:
You can edit the values inside the quotes to suit your trade:

  • "action": Change "BUY" to "SELL" for short trades.

  • "quantity": Change 1 to 50 (or your desired quantity).

  • "product_type": Keep "MIS" for Intraday or change to "CNC" (Equity) / "NRML" (F&O) for Delivery.

  • "symbol": Keep {{ticker}} to automatically use the symbol of the chart you are on (e.g., RELIANCE).


Step 6: Save and Relax

  1. Click Create on TradingView.

  2. You will see the alert appear in your TradingView Alerts list.

  3. That's it! When the condition is met, TradingView will send the signal to FindNex, and FindNex will instantly place the order in your Broker account.


Troubleshooting & Tips

  • Market Orders: If you want to place a Market Order, you can leave the "price" field as 0 or {{close}}. The system handles it automatically.

  • Check Status: You can see all triggered automations in your FindNex Dashboard under "Live System Feed".

  • Error: "Invalid JSON": Ensure you didn't accidentally delete a comma , or a quote " when editing the Message box in TradingView.

  • Stop/Target: You can add "target_price": 2500 or "stop_loss": 2400 to the JSON if you want FindNex to track performance, though the broker order will usually be a simple Limit/Market order.

Login to read full guide

Access comprehensive documentation, strategy codes, and API keys.

AI Beta Docs Assistant

Don't want to read? Ask AI to summarize this article or generate code.

Ask AI (External)
Was this helpful? Login to vote