No Coding Automated Order Execution Via TradingView Alerts with Your Broker
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
-
A registered account on FindNex.
-
A TradingView account (Pro plan or higher is required by TradingView for Webhooks).
-
A connected Broker account on FindNex.
Step 1: Connect Your Broker
Before automating, ensure your broker is ready to accept orders.
-
Log in to your FindNex Dashboard.
-
Locate the Broker Connection card on the right sidebar.
-
Click Connect (e.g., Zerodha).
-
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.
-
On your Dashboard, look for the "Automate TradingView Alerts" card (below the Broker section).
-
Click the "Activate TradingView Bridge" button.
-
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.
-
Open TradingView.com and open a chart (e.g., NIFTY or RELIANCE).
-
Create your analysis (e.g., "Buy when RSI crosses 30").
-
Click the Alert button (Alarm Clock icon) on the top toolbar.
-
Condition: Set your logic (e.g., Crossing Up).
-
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.
-
In the Alert configuration popup, click the Notifications tab.
-
Check the box labeled Webhook URL.
-
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.
-
Click the Settings tab in the Alert popup.
-
Scroll down to the Message text area.
-
Delete everything currently in that box.
-
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
-
Click Create on TradingView.
-
You will see the alert appear in your TradingView Alerts list.
-
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.