🔔 Webhook Trading Loading...

Connect your TradingView Pine Script strategies to AlgoSmart for automated execution.

🔑 API Key

📖 TradingView Setup Guide

1
Generate your API Key
Click the Generate button above to create your unique key
2
Copy the Webhook URL
Your unique URL will appear above — copy it
3
Create a TradingView Alert
Open your chart → Add Alert → Enable "Webhook URL" → Paste URL
4
Set the Alert Message
Use the JSON format below in the "Message" field
📌 Symbol Support

You can trade any symbol supported by your connected exchange. Use the TradingView ticker exactly as shown on the chart (e.g. BTCUSD, ETHUSD, SOLUSD, etc.). The system will auto-normalize formats like BTCUSDT or BTC/USD.

{ "symbol": "BTCUSD", "action": "{{strategy.order.action}}", "price": {{close}}, "sl": 0, "tp": 0, "strategy": "My TradingView Strategy", "quantity": {{strategy.order.contracts}}, "market_position": "{{strategy.market_position}}" }
📜 Sample Pine Script with Alert
//@version=5 strategy("My Webhook Strategy", overlay=true) // Simple EMA Crossover fast = ta.ema(close, 9) slow = ta.ema(close, 21) if ta.crossover(fast, slow) strategy.entry("Long", strategy.long) if ta.crossunder(fast, slow) strategy.entry("Short", strategy.short) // Alert message is set in TradingView UI // Use: {"symbol":"{{ticker}}","action":"{{strategy.order.action}}","price":{{close}}}