TheConnector Relay: install and use the browser extension
Test TheConnector without a paid TradingView plan: install the extension on Chrome, Edge or Firefox, connect it to your account, protect the TradingView tab from being closed and let everything start again on its own when the computer restarts.
What the extension is for
TradingView's webhook field, the one that makes TradingView itself send an alert to a URL, requires a paid TradingView plan. TheConnector Relay takes over from your browser: when an alert fires and TradingView shows its pop-up in the chart tab, the extension forwards the message to your TheConnector webhook.
It is a test and discovery mode, not a replacement for the native webhook. Nothing is relayed while the browser is closed, the TradingView tab is closed or the computer is asleep, and a missed alert is never sent later: an order that left late would be filled at a price that no longer exists.
Before you start
- Your account's webhook URL and access key:
My accounts> open the trading account > copy them. - The MT4, MT5 or cTrader robot installed and connected on that account.
- A TradingView alert whose message uses the TheConnector format (see
/docs/command-syntax-reference).
1. Install the extension
Chrome or Edge
- In your client area, open
Download the robot: theBrowser extension (test mode)section offers a ZIP file on the Chrome / Edge card. - Unzip it into a folder that will stay where it is, for example
Documents\TheConnector Relay. The browser reads the extension from that folder: moving or deleting it disables the extension. - Open
chrome://extensions(Edge:edge://extensions), switch on Developer mode, click Load unpacked and pick the folder that containsmanifest.json. - Pin the TheConnector logo to the toolbar (the jigsaw-piece button) to keep it at hand.
Firefox
- If the Firefox card shows Install: click it, then accept Firefox's confirmations. The extension is installed for good.
- If it shows "Temporary add-on": open
about:debugging#/runtime/this-firefox, click Load Temporary Add-on… and pick the ZIP. This mode is for trying it out: the add-on disappears every time Firefox closes, so it can never restart on its own.
2. Connect the extension to your account
- Click the TheConnector logo in the toolbar, then Ouvrir les options (open the options).
- Read the Avant de commencer box (before you start), tick the checkbox and click Continuer (continue). Nothing is sent before this consent.
- Paste the webhook URL, and the access key if the URL does not contain it, then click Enregistrer (save).
- Tester la connexion (test the connection) checks the key without placing any order. It still counts as one alert of your daily quota and shows up as a rejected alert in your history: one test is enough.
The extension's screens are in French.
3. Prepare the TradingView alert
- Write the message in the TheConnector format. The extension ignores a message that does not have this shape, such as the text TradingView suggests by default.
- In the alert's notifications, keep the pop-up enabled ("Show pop-up"). The extension relays only the pop-up shown when the alert fires, never the alerts log, which mixes in old alerts.
- Do not tick "Webhook URL": if your TradingView plan allows it, the alert would go out twice, once from TradingView and once from the extension.
4. Check that everything is ready
Open the TradingView chart, or reload it (F5) if it was already open. A badge appears at the top of the chart:
| Badge | What it means |
|---|---|
en écoute des alertes |
The extension is loaded in this tab and waiting for alerts |
à configurer |
Consent or options missing: go back to step 2 |
rechargez cette page (F5) |
The extension was updated or reloaded after the tab was opened: reload the page |
dernière alerte envoyée ✓ |
The last alert went out to your account |
non livrée ✗ or ignorée |
The exact reason is in the extension's window |
A click shrinks the badge. The extension's window, opened by clicking its logo, tells you whether a TradingView tab is connected and lists the last alerts seen: sent, not delivered with the reason returned by the server, or ignored with the reason and what to fix.
Then trigger an alert and open Alert history in your client area: it must be listed there.
Several tabs, several browsers
- Several TradingView tabs in the same browser: an alert is sent only once.
- Install the extension in one browser only, on one computer. Each installation relays on its own: the same alert would place two orders.
Stop the TradingView tab from being closed
- Pin the tab: right-click the tab > Pin. A pinned tab has no close button.
- Give it its own window and browse in another one: nobody closes by accident a window they are not using.
- Ask for confirmation before closing. Firefox:
about:preferences> General > "Confirm before closing multiple tabs". Edge:edge://settings/appearance/browserBehavior> "Ask before closing a window with multiple tabs". Chrome has no such option: the pinned tab and the automatic reopening described below make up for it. - Prevent sleep: press Windows + R, type
ms-settings:powersleep, then set sleep to Never. A sleeping computer relays nothing. - Tab closed by mistake: Ctrl + Shift + T reopens it at once. Alerts fired while it was closed are not caught up.
Restart everything on its own when the computer restarts (Windows)
1. The browser reopens the TradingView tab
- Chrome:
chrome://settings/onStartup> "Continue where you left off". - Edge:
edge://settings/startHomeNTP> "Open tabs from the previous session". - Firefox:
about:preferences> General > "Open previous windows and tabs".
Stay signed in to TradingView and do not use private browsing, which wipes the session when it closes.
2. The browser starts with Windows
- Press Windows + R, type
shell:startupand confirm: the Startup folder opens. - Right-click > New > Shortcut, then enter your browser's program:
Chrome : "C:\Program Files\Google\Chrome\Application\chrome.exe"
Edge : "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
Firefox : "C:\Program Files\Mozilla Firefox\firefox.exe"
- If you did not turn on tab reopening, add the chart address after the path, separated by a space:
https://www.tradingview.com/chart/.
3. The robot starts too
Add a shortcut to your MetaTrader terminal (or to cTrader) to the same Startup folder. Without a connected robot, relayed alerts have nobody to place the order.
4. What to check
- Nothing starts before your Windows session is opened: after a restart forced by an update, sign in again. To keep those restarts away from your trading hours, set the active hours: Windows + R,
ms-settings:windowsupdate-activehours. - After each restart, bring the TradingView tab to the front and check the
en écoute des alertesbadge. - Firefox's temporary add-on never restarts on its own: you need the version installed with Install.
- On a Mac: add the browser and the terminal to the login items (System Settings > General > Login Items) and prevent automatic sleep.
Update the extension
- Chrome or Edge: download the new ZIP, replace the folder's contents, then click the extension's reload icon in
chrome://extensions(Edge:edge://extensions). - Firefox: install the new version from the Firefox card.
- Then reload the TradingView tab (F5).
Responsible use
The extension reads a message TradingView already shows in a page you opened: it bypasses no protection and does not modify TradingView. Using automated tools on TradingView remains subject to TradingView's terms of use and is your responsibility.