Follow these steps to connect the SniperEdge AI indicator to the live signal feed. Takes about 5 minutes.
Go to tradingview.com → open a chart → click Indicators → search SniperEdge AI
If it's not published yet: open Pine Editor → paste your SniperEdge_AI_v1.pine → click Add to chart
Right-click on the chart → Add alert (or press Alt+A)
Set:
SniperEdge — Any SignalIn the alert dialog → click Notifications tab → enable Webhook URL
Paste this URL:
https://optimistic-delight-production-aaea.up.railway.app/api/webhooks/tradingviewIn the alert dialog → Message tab → replace the default text with this JSON exactly:
⚠️ Use the simple version below (TradingView doesn't support dynamic Pine variables in alert messages for indicators — only for strategies)
{"symbol":"{{ticker}}","direction":"{{strategy.order.action}}","timeframe":"{{interval}}","score":80,"entry":{{close}},"sl":0,"tp":0,"source":"webhook","components":{"ema":true,"structure":true,"rsi":true,"volume":true,"candle":true,"volatility":true}}The SL/TP are calculated by the indicator and will be 0 from TradingView alerts — the backend will accept this. For full SL/TP from TradingView, convert the indicator to a Strategy.
For best results, create two alerts:
"BUY""SELL"Repeat for each symbol/timeframe you want to trade (BTCUSDT 1H, ETHUSDT 1H, etc.)
After saving the alert, check the Signals dashboard — new signals should appear within seconds of each candle close.
https://optimistic-delight-production-aaea.up.railway.app/api/webhooks/tradingviewPOST · application/json