tradingview-to-discord-alerts

TradingView to Discord Browser Extension

Automatically send your TradingView trade executions directly to Discord with optional screenshot capture.

✨ Features

🚀 Quick Start

1. Install the Extension

🌐 Browser Compatibility: Works with Chromium-based browsers.

Option a:

  1. Download & Extract the ZIP file
  2. Open your browser and go to the extensions page:
    • Chrome: chrome://extensions/
    • Brave: brave://extensions/
  3. Enable “Developer mode” (toggle in top right)
  4. Click “Load unpacked” and select the extracted folder containing the files
  5. The extension should be added to your browser’s extension list
  6. 📌 Recommended: Pin the extension to your toolbar for easy access to settings

Option b:

  1. Download from the Chrome Web Store

2. Set Up Discord Webhook

  1. In your Discord server, go to Server SettingsIntegrationsWebhooks
  2. Click Create Webhook or New Webhook
  3. Choose the channel where you want trade notifications
  4. Copy the Webhook URL (starts with https://discord.com/api/webhooks/...)

3. Configure the Extension

  1. Click the extension icon in your browser toolbar
  2. Paste your Discord webhook URL in the “Discord Webhook URL” field
  3. Click 💾 Save
  4. Click 🧪 Test to verify the connection works
  5. Configure your notification preferences:
    • 🔔 Discord Notifications - Master on/off switch
    • 📊 Include Symbol Info - Show trading symbols in notifications
    • 🕐 Include Time - Show execution time in New York timezone
    • 📸 Include Screenshots - Capture charts when trades execute

For best results at the start of each browser session:

  1. Refresh TradingView - Reload your TradingView tab to ensure clean extension initialization
  2. Reset Position Data - If you’re starting flat (no open positions):
    • Click the extension icon
    • Click 🔄 Reset Position Tracking
    • This ensures accurate position detection from the start

📸 Screenshots

⚙️ Settings Guide

🔔 Discord Notifications

Master switch for all trade alerts. When disabled, no notifications will be sent regardless of other settings.

📊 Include Symbol Info

Shows the trading symbol (AAPL, TSLA, EURUSD, etc.) in notifications. Helpful for identifying which asset the trade is for.

🕐 Include Time

Displays the execution time in New York timezone (Eastern Time) for all trade notifications. Time is shown in 24-hour format (HH:MM:SS) and automatically adjusts for daylight saving time.

📸 Include Screenshots

Automatically captures TradingView chart screenshots when trades execute.

Important: Screenshots require:

⚠️ Privacy Note: Screenshots are cropped to show mainly the chart area, but if your Trading Panel is open, it will also be included in the screenshot. This panel may contain sensitive information like account balance, positions, and other private trading details. Hide the Trading Panel before executing trades if you don’t want this information visible in Discord screenshots.

🔄 Reset Position Tracking

Clears the extension’s memory of your current positions. Use this if:

📊 Manual Position Input

Solves cross-device synchronization issues when switching browsers or computers.

🎯 Purpose

When you switch browsers or computers, the extension loses memory of your current positions. Manual Position Input allows you to set your current positions so the extension can accurately track partial closes, full exits, and position reversals. At least one order must be placed or executed for the symbol to appear in the list.

🛠️ Troubleshooting

No Notifications Appearing

  1. Verify Webhook: Use the 🧪 Test button to confirm Discord connection
  2. Check Settings: Ensure 🔔 Discord Notifications is enabled
  3. Reload Page: Refresh TradingView after changing settings
  4. Check TradingView Settings: Settings -> Trading -> Disable “Show only rejection notifications”

Screenshots Not Working

  1. Active Tab: TradingView must be the active browser tab
  2. Permissions: Click the extension icon once per browser session
  3. Enable Setting: Ensure 📸 Include Screenshots is turned on
  4. Browser Permissions: Check if browser blocked screenshot permissions

Webhook Errors

Position Tracking Issues

🔧 Technical Details

Supported Trade Types

Position Detection

The extension tracks position changes by:

Screenshot Processing

Privacy & Security