Marketplace
protrading tools Verified demo

DSR TradingView Alert Relay

Self-hosted webhook that turns TradingView alerts into Telegram / WhatsApp messages with automatic position sizing. Educational software — never places trades.

⚠ Risk disclaimer: Trading FX, gold, and crypto carries a high level of risk and may not be suitable for all investors. This is a software license, not financial advice — no profit guarantee. Past performance, backtests, and demos do not predict future results. Test on a demo account first.
DSR TradingView Alert Relay is a self-hosted TypeScript service that receives TradingView JSON alerts on a public webhook and routes them to Telegram and/or WhatsApp with normalized fields, position-size math, and structured logs. Built for disciplined traders who want a clean signal pipeline they own end-to-end. Runs anywhere Docker runs (VPS, Fly, Railway, Render, home lab). One-time license — no monthly relay fees. Highlights • Constant-time shared-secret verification (JSON body or secret URL path — TradingView does not send an HMAC header). • Optional per-IP allowlist, per-IP rate limiting, 32 KiB body cap, Zod schema validation. • Position-size engine: fixed risk amount OR account balance × risk percent, with a hard MAX_RISK_PER_TRADE cap and directional stop-side sanity checks. • Delivery adapters: Telegram (implemented), WhatsApp Cloud API (implemented, env-gated), Console (local demo). • Idempotency by alert_id, retry with exponential backoff, SQLite persistence, health endpoint, secret-redacting structured logs. • English + Arabic (RTL-safe) message templates. • Docker + docker-compose, .env.example, README, SETUP guide, SECURITY.md, LICENSE, example TradingView payloads, and unit + integration tests (Node built-in test runner + Fastify inject). Educational only — no broker integration, no order routing, no profit or accuracy claims. Use for alert routing and risk-sizing discipline; always validate on paper before live capital.

What's included

  • TradingView-compatible POST webhook (body-secret or secret URL path)
  • Constant-time secret verification + optional IP allowlist + per-IP rate limiting
  • Zod schema validation with 32 KiB body cap
  • Position sizing: fixed risk OR account balance × risk percent (with MAX_RISK cap)
  • Telegram adapter (implemented)
  • WhatsApp Cloud API adapter (implemented, env-gated)
  • Console adapter for local demo & CI
  • Idempotency by alert_id + exponential-backoff retries
  • SQLite persistence + /health endpoint
  • Secret-redacting structured JSON logs
  • English + Arabic (RTL-safe) message templates
  • Docker + docker-compose + .env.example
  • Unit & integration tests (Node --test + Fastify inject)
  • README + SETUP + SECURITY + LICENSE + example payloads

Refund & support

7-day refund if the codebase fails to install per the included guide. License key + up to 3 downloads within 72 hours after purchase. Support via info@digitalsilkroute.com.

Secure delivery
License key + signed link
3 downloads included
72-hour window
48h support
Weekdays, from our team
Refund policy
Read the terms