TradingView → MetaTrader 5
AlertConnector receives your TradingView alerts and places the orders on your MetaTrader 5 account. Your broker login never leaves your machine.
Get a webhook URL and the EA file right now. Attach it to your MetaTrader, click one button, and watch a real order go in.
No sign-up · No card
Works with every MetaTrader 5 broker — including prop-firm accounts
How it works
Three steps, about fifteen minutes. Nothing to install besides the MetaTrader you already use.
TradingView
Your alert fires and posts the message to your webhook.
AlertConnector
Checks the secret, drops duplicates and stale signals, queues the order.
Your MetaTrader 5
The EA on your PC or VPS picks it up within seconds and places the order.
Your broker
The order is filled; ticket and result come back to your history.
01
Paste the Account ID and EA Token from the trial panel. Your broker login never leaves your machine.
02
Each account has its own URL — copy it once and use it for every alert.
03
A template is right there in the panel. Change the symbol and volume and you are done.
TradingView setup
This is everything you set up in TradingView. Click a step to see where to click and what to paste.
TradingView sends webhooks only from paid plans with two-factor authentication turned on.
Syntax
Each signal is a short JSON snippet in the TradingView Message box. Nine order types, with stop loss and take profit in points, pips or an exact price.
See every field and example →Action
Symbol
Size (lots)
Stop loss
Take profit
Alert message
{
"secret": "YOUR_WEBHOOK_SECRET",
"symbol": "XAUUSD",
"action": "buy",
"volume": 0.1,
"sl_pips": 50,
"tp_pips": 100
}Buy 0.1 lot XAUUSD at market, stop loss 50 pips away, take profit 100 pips away.
XAUUSD · sample prices
Sample prices for illustration. Replace the secret with the one from your dashboard; your broker’s execution conditions apply.
Market order
buyBuysellSellPending order
buy_limitBuy Limitsell_limitSell Limitbuy_stopBuy Stopsell_stopSell Stopbuy_stop_limitBuy Stop Limitsell_stop_limitSell Stop LimitClose
close_allClose allclose_longClose buysclose_shortClose sellsCancel pending
cancel_pendingCancel allcancel_pending_longCancel buy orderscancel_pending_shortCancel sell ordersMove SL / TP
modify_sl_longSL of buysmodify_sl_shortSL of sellsmodify_tp_longTP of buysmodify_tp_shortTP of sellsBreakeven
breakeven_longBuysbreakeven_shortSellsTransparency
The worst part of automated trading is orders vanishing with no explanation. AlertConnector logs every signal together with the real response from your broker.
Code 10018 is what brokers return when the market is closed. AlertConnector keeps that code as-is instead of rephrasing it, so you can look it up when needed.
buy BTCUSD · 0.01 lot · SL 5000p
Ticket 2271394955
modify_sl_long BTCUSD · SL @63500
New SL on wrong side: price 63001.70, SL = 63500.00
buy XAUUSD · 0.01 lot
Open buy failed: 10018 — market closed
close_all BTCUSD
No positions left to close
Dashboard
After you buy, you manage accounts, signals and your license in your own dashboard.
License
Active
MT5 accounts
3
Signals, 24h
7
Signals, last 7 days
Sample data. Nothing here connects to a broker.
Safety
A good bridge does not just pass orders along. It knows when to stop.
Signals older than 60 seconds are skipped. Turn your machine off in the morning, back on in the afternoon — no flood of old orders at today’s prices.
At most 5 signals per minute per account. Two identical signals within 10 seconds count only once.
close_all only closes positions AlertConnector opened. Trades you placed by hand or other EAs hold stay untouched.
Twenty by default, adjustable. If a strategy misfires and keeps firing, this number is the final stop.
If the stop loss falls on the wrong side of the entry price, the order is rejected with a clear reason instead of a cryptic broker error code.
The Webhook Secret and EA Token are issued per account. One account’s key cannot be used for another.
Trade-off
Building your own bridge is doable. The question is whether you want to spend your weekends on it, or on your strategy.
Build it yourself
Use AlertConnector
The numbers on the left are estimates for someone who already codes. If you have never written MQL5, the EA alone usually takes much longer.
Pricing
Try it for 7 days first. Then pick a plan by how many MT5 accounts you run.
How many MT5 accounts do you run?
3 MT5 accounts
$12/month
≈ $0.13 per account per day
10 MT5 accounts
$26/month
≈ $0.09 per account per day
25 MT5 accounts
$40/month
≈ $0.05 per account per day
Every plan includes
Billed monthly, no automatic charges. Stop any time.
Not sure yet? Try it for 7 days — no sign-up, no card.
Answers
Can’t find your answer? See the docs or email hello@tradeedgelab.com.
No. One click gives you a webhook and the EA file for 7 days. You only sign up when you buy a license for long-term use.
MetaTrader must be open for orders to go through — TradingView does not, alerts are sent from their servers. Many people use a Windows VPS so they don’t have to leave a personal machine on all day; those cost roughly $12 to $20 a month.
AlertConnector never needs your broker password and never holds your funds. The EA places orders inside the MetaTrader running on your machine; the server only relays the signal. Each account has its own Webhook Secret and EA Token.
Any broker that runs MetaTrader 5, including prop-firm accounts. For prop firms, check the firm’s rules on using EAs before you run it.
Webhooks are a feature of TradingView’s paid plans, and your TradingView account must have two-factor authentication on. The free plan cannot send webhooks.
Usually one to two seconds. The EA checks the server every few seconds (adjustable), plus the time your broker takes to fill.
All of them. Attach the EA to any one chart and it handles every symbol in your signals — gold, forex, indices, crypto.
Yes. The alert message is a short JSON snippet pasted into TradingView’s Message box. The dashboard has a builder — you just pick the order and its settings.
Use the exact name from your broker’s Market Watch (for example XAUUSDm). If it is wrong, the signal history says clearly that the symbol does not exist, with the name you sent.
Nothing is charged automatically. If you don’t renew at the end of the month the license simply stops; your accounts and history are kept so you can come back any time.
Get your webhook and the EA file now. Fifteen minutes from now you will see your first order in MetaTrader.