What TradingView automated trading features actually do
TradingView automated trading features include Pine Script, alerts, and webhooks. Here's what they cover, what they don't, and where MT5 traders get stuck.
11 min read
In this article ▾
- What TradingView calls automated trading
- The full inventory of TradingView automated trading features
- Why Pine Script can't place your trades
- How traders actually go from TradingView to live orders
- Where automation breaks between TradingView and MT5
- How FillEdge handles TradingView automated trading features end-to-end
- A note for prop firm accounts
- FAQ
A trader I spoke with last month had a profitable Pine Script strategy on US30. Clean equity curve, 18 months of backtest, decent Sharpe. He assumed the "alerts" button meant TradingView would handle the rest. Click it, pick his FTMO account, done. He sat down on a Monday morning, set his first alert, watched the candle print his entry signal, and then watched nothing happen on his MT5 terminal. No position. No error. Just the alert popup telling him the signal had fired.
He'd hit the wall most retail algo traders hit eventually. TradingView's automation features are real, and they're useful, but they stop at a specific line, and most of the marketing copy on the internet glosses over where that line is.
This post walks through what TradingView automated trading features actually are, what each one does, and why the last mile between your strategy and your broker is where most setups fall apart.
What TradingView calls automated trading
"Automated trading on TradingView" means something narrower than people expect. The platform generates signals. It runs your Pine Script, fires your alerts, and sends webhook payloads. That's the automation.
What it doesn't do is place orders on your MT5 account. TradingView does have native broker integrations with a small list of brokers you can trade directly from the chart. The list changes, but it's historically included OANDA, FXCM, Tradovate, AMP Futures, and a few others. MT5-based brokers like IC Markets, Pepperstone, FTMO, and Exness aren't in that list, and never have been.
So when a retail trader on MT5 asks does TradingView have automated trading, the honest answer is "yes, up to the alert." After that, you need something else to carry the signal to your broker. Understanding that gap is probably the most useful thing a new algo trader can learn about this setup.
The full inventory of TradingView automated trading features
Here's what you actually get. Some of these features require a paid plan, some don't.
Pine Script strategies
Pine Script has two modes. An indicator draws things on the chart. A strategy calls strategy.entry() and strategy.exit(), which means it simulates trades against historical data and gives you a backtest report.
A strategy is what you need for automation. It generates buy and sell signals programmatically based on whatever logic you write. The backtest shows you how those signals would have played out over the chart's history. You get metrics like net profit, drawdown, profit factor, and trade count.
One thing worth saying out loud: the backtest is a simulation. It assumes your orders filled at the prices shown on the chart. Live trading involves slippage, spread, rejections, and latency that the backtest doesn't model. Daily-bar backtests especially flatter the strategy, because intraday fill quality is where most strategies die.
Alerts and alert conditions
Alerts are TradingView's notification layer. When a condition is true (a moving average cross, a Pine Script strategy.entry() call, a custom expression), TradingView fires an alert. It can email you, push a notification to the mobile app, show a popup, play a sound, or send a webhook.
Alerts run server-side on TradingView's infrastructure. You don't need your browser open. You don't need a VPS. The alert engine checks conditions bar-by-bar (or tick-by-tick on higher plans) and fires when they're met.
This is the piece most newcomers don't fully grasp. The alert isn't optional infrastructure you bolt on later. It's the output layer of your whole automation setup. Whatever you want to happen after a signal fires has to be triggered by an alert.
Webhooks and the JSON payload
A webhook is just an HTTP POST to a URL you specify, carrying a message body you define. When the alert fires, TradingView sends that POST to the URL. The URL is usually a bridge service that receives the payload, parses it, and forwards instructions to your MT5 Expert Advisor.
Webhooks require a TradingView Essential plan or higher. On the free plan, you get pop-ups and mobile push notifications, but no webhook field. This catches many people off guard. They build their whole Pine Script strategy, set up an alert, then discover the automation they planned requires a $14.95/month upgrade as a hard prerequisite.
The message body is usually JSON. You can hand-write it or use Pine Script's alert_message parameter to populate it with dynamic values like the instrument, price, and side. Here's a trivially simple example:
{
"action": "buy",
"symbol": "EURUSD",
"size": 0.1,
"sl": 1.0820,
"tp": 1.0900
}Everything past that point (which bridge you use, how the EA on MT5 interprets the payload, how it handles reversals and errors) is outside TradingView's control. The webhook is the last thing TradingView does.
Paper trading and bar replay
Two validation features worth knowing about. Paper trading gives you a simulated account you can manually trade from the chart, useful for testing the execution workflow without real money. Bar replay lets you rewind the chart and step through history bar by bar, watching your indicators and strategy react. Both are for validation, not execution. Neither places live orders.
Native broker integrations
TradingView's broker panel lets you trade directly from the chart if your broker is on their integrated list. This gives you one-click order placement, position management, and account sync. No alerts, no webhooks, no bridges. For traders whose broker is integrated, this is the cleanest path to live trading.
The catch, again, is MT5. MetaTrader vs TradingView is a comparison worth understanding on its own terms, because the two platforms don't directly talk to each other, and the integrated-broker path doesn't help you if you're on an MT5 broker.
Why Pine Script can't place your trades
This is the technical core of the gap. Can Pine Script execute trades? The answer is no, not on an external broker anyway.
Pine Script runs in a sandbox on TradingView's servers. It has access to price data, indicator values, and a handful of drawing primitives. It doesn't have access to your broker account. It can't read your balance. It can't check your open positions on MT5. It can't submit an order. The strategy.entry() function only affects the in-chart simulated backtest, not any real account.
The deeper reason is that Pine Script cannot make HTTP requests. The language has no outbound network capability. No fetch, no http.post, nothing. The only way information leaves TradingView is through the alert system, which fires a message through TradingView's own infrastructure to the channels they support (email, push, webhook).
So the architecture is fixed. Pine Script generates logic, alerts deliver the output, and everything that happens on your broker happens somewhere else. Can Pine Script run on MetaTrader? It is a separate question, and the answer there is also no. The languages are completely different, and a rewrite to MQL5 means starting from scratch.
How traders actually go from TradingView to live orders
Given all that, there are three realistic paths.
First, rewrite the strategy in MQL5 and run it as an Expert Advisor directly on MT5. You get native execution, no dependencies, no latency outside the broker connection. You also rewrite your whole strategy in a different language, and every change means keeping two codebases in sync. Most retail traders who try this give up within a week.
Second, keep the strategy in Pine Script and use a webhook bridge. TradingView sends the alert, the bridge receives it, and the bridge tells an EA on your MT5 to open or close the position. You don't rewrite anything. You depend on the bridge being reliable. This is what most people end up doing.
Third, trade manually from alerts. TradingView pings your phone, you open MT5, and you place the order yourself. Zero cost, zero setup, and no automation. You've replaced the EA yourself. Fine for a handful of trades a day, impossible for anything higher-frequency.
The middle path is where most serious retail algo traders land. And it's also where the execution problems start.
Where automation breaks between TradingView and MT5
Three failure modes frequently occur in bridge setups. None of them is exotic. All three happen in live trading more often than people realize, because backtests don't surface them.
Ghost positions. The bridge gets told to open a position before the fill is confirmed. If the market moves, the signal has already fired, but the fill didn't happen, or happened at a meaningfully different price. Now you have a position on MT5 that doesn't match anything on your TradingView chart. On a prop firm account, one ghost trade moving the wrong way can chew through a big chunk of your daily drawdown before you notice.
Signal reordering. When your strategy reverses, closing the long and opening a short, two webhooks fire within milliseconds of each other. Webhooks are HTTP requests over the public internet. They don't arrive in guaranteed order. If "open short" arrives first, your EA opens a short while the long is still open. Then the "close long" arrives and closes something. Maybe the long. Maybe the new short. Depends on how the EA handles it. You end up in the wrong direction.
Stop-loss drift. Your strategy says to enter at 43,300 with a stop 50 points below at 43,250. The bridge sends "entry, SL distance 50 points." You fill at 43,302 because of slippage. The bridge calculates 43,302 minus 50 and puts your stop at 43,252, above where your strategy logic actually placed it. On a support-based strategy, that 2-point drift is the difference between holding through a wick and getting stopped out early.
These aren't edge cases. They're systemic problems with how most bridges pass signals between the two platforms.
How FillEdge handles TradingView automated trading features end-to-end
FillEdge is a webhook bridge built specifically to fix the three failures above. It doesn't replace TradingView's alerts or Pine Script. It sits between them and your EA and handles the handoff properly.
On ghost positions, FillEdge only fires signals after a fill has actually been confirmed. If the fill doesn't happen, nothing gets sent to MT5. Your broker account won't have positions that your chart doesn't show.
On reversals, the FillEdge server enforces ordering. The close is always processed before the open, regardless of when the two HTTP requests actually arrive. You won't end up holding the position your strategy was trying to exit.
On stop-loss drift, FillEdge lets you choose per strategy. Exact-price mode transmits the literal price your Pine Script calculated, so a support-based stop stays at that level regardless of entry slippage. Distance mode preserves the offset from actual fill, which is what ATR-scaled strategies need. Your SL lands where your strategy logic intended. Your TP does the same.
Every signal carries a status badge. ✓MATCHED means TradingView and MT5 agree. 👻CAUGHT means a ghost was blocked. 🔀REORDERED means a reversal was sequenced correctly despite arriving backwards. You stop comparing screens. The badge is the answer.
There's also strategy isolation. If you're running a trend strategy on US30 and a mean-reversion on EURUSD against the same MT5 account, each strategy runs in its own lane. A close signal from one can't touch the other's positions.
FillEdge monitors the pipeline continuously with synthetic test signals that travel the full path without opening a trade. If any leg breaks, you get an email or Telegram alert within minutes. Silent overnight failures stop being silent.
Setup is a guided wizard with six verified steps. The dashboard generates your alert message from a few dropdowns: strategy, account, command. Paste it into TradingView. A test signal confirms the full pipeline before your first real trade fires. Fifteen minutes, no coding, no MQL5.
A note for prop firm accounts
The failure modes above aren't unique to prop traders, but they're more expensive there. Daily drawdown limits of 4–5% mean a single ghost position or misplaced SL can end a $300–$500 evaluation. Retail traders with their own capital lose money when this happens. Prop firm traders lose the whole attempt.
FillEdge ships with built-in compliance profiles for firms like FTMO, Funding Pips, and FundedNext. Bind your account to a profile, and FillEdge tracks your drawdown, daily loss, and consistency in real time. When an incoming signal would breach a rule, the bridge either blocks the trade or auto-reduces the lot size to fit inside your remaining risk budget. You stop trading with the firm's dashboard open in another tab.
If you're grinding evaluations, bridge reliability isn't a nice-to-have. It's part of the strategy itself.
If you're at the stage where your Pine Script works and you're trying to decide how to get it to a live MT5 account, the honest answer is that rewriting to MQL5 is more work than it looks, and manual execution doesn't scale. A webhook bridge is the right shape of tool. What matters is whether the bridge handles the three things above correctly.
FAQ
What's the difference between a Pine Script indicator and a strategy?
An indicator draws things on your chart. It plots lines, paints candles, shows values. A strategy does all that too, but it also calls strategy.entry() and strategy.exit(), which means it simulates orders against historical data and generates a backtest report with metrics like net profit and drawdown. For automation, you need a strategy. An indicator can fire alerts, but it doesn't have the entry and exit logic that a bridge needs to translate into live orders.
Why do my TradingView alerts fire, but MT5 doesn't open a trade?
Usually one of three things. The webhook URL is missing or wrong in your alert settings, so TradingView has nowhere to send the signal. Your bridge EA isn't running on MT5, or the chart it's attached to was closed. Or your TradingView plan is the free one, which doesn't support webhooks at all (Essential plan or higher is a hard requirement). Check those three in order, and you'll usually find the break.
Can I run multiple TradingView strategies on the same MT5 account?
Yes, but signal interference is the thing to watch. If two strategies can open positions on the same symbol, or if one strategy's close signal can accidentally affect another's positions, you lose isolation. Most bridges don't handle this well out of the box. FillEdge keeps each strategy in its own lane so a signal from one never touches positions belonging to another, even when they share an MT5 account.
More from FillEdge