Why didn't my TradingView alert open a trade in MT5?
Ten common reasons an automated alert does not become a trade, from the webhook box to stops that are too tight, and how to fix each one.
An alert fired, but no trade appeared. Start with one question: did the alert reach PipRoute? Open Activity. If the alert is listed, PipRoute received it and the line tells you what happened next. If it is not listed, the problem is on the TradingView side.

Not in Activity: TradingView side
1. The webhook box is not ticked
In the alert's Notifications tab, Webhook URL must be ticked, with your account's PipRoute webhook URL in it (it ends with the account's licence). An alert without it fires and shows a pop-up, but sends nothing.
2. Webhooks are not available on the account
Webhooks need a paid TradingView plan and two-factor authentication turned on. Check both in your TradingView account.
3. The alert expired or was never triggered
Look at the alert's log in TradingView. If it did not fire, the condition was not met, or the alert passed its expiry date.
In Activity: PipRoute or MT5 side
4. The message was refused
A wrong licence, a typo in a command, or a risk-based size without a stop loss. Activity shows the reason, for example "Risk-based volume needs a stop loss". Copy the message again from the Alert builder.
5. MT5 was offline, so the signal expired
If MT5 was closed, asleep or logged out, the signal waits 90 seconds and then expires, rather than firing late at a worse price. Keep MT5 running: see Do you need a VPS?.
6. Algo Trading is off
The Algo Trading button in the MT5 toolbar must be green. MT5 refuses automated trades while it is off. Home warns you when an account reports it off.
7. The symbol is not found
Your broker may call the symbol something else (EURUSDm, GOLD). The EA handles endings like m or .raw by itself; for a different name, add it under Settings, Symbol names. The symbol must also be visible in MT5's Market Watch.
8. The market is closed
Forex closes at the weekend, and many CFDs have daily breaks. MT5 refuses orders while the market is closed.
9. The stop loss is too close
Brokers enforce a minimum distance between price and the stop loss. Gold and indices need far more pips than EURUSD: a 20 pip stop that works on EURUSD is far too tight on XAUUSD.
10. Not enough margin, or a lot size the broker does not allow
If free margin is too low for the size, or the size is below the broker's minimum or not a whole step, the order is refused. Lower the size, or size by risk.
Still stuck?
Press the help button at the bottom right of the dashboard and describe what happened. The help bot knows the common MT5 errors, and if it cannot fix it, it passes the conversation to our team with your details already attached.