Guides, manuals and platform references.
AlgoWay turns TradingView alerts into automated orders across brokers, exchanges and trading platforms. You keep your trading logic in TradingView, send a structured webhook alert to AlgoWay, and AlgoWay routes the signal to the selected execution destination: MetaTrader 5, TradeLocker, MatchTrader, DxTrade, cTrader, Binance, Bybit, OKX, Gate.io, Alpaca, Tradovate and other supported platforms.
This guide explains how AlgoWay connects TradingView alerts to supported brokers, exchanges and trading platforms, including webhook setup, JSON messages, platform routing, testing, risk controls and execution logs.
The basic automation route is:
TradingView strategy or indicator → Webhook alert → AlgoWay → Broker, exchange or MT5 execution
Important: “any broker” means any broker or platform supported by AlgoWay integrations and account rules. AlgoWay is a multiplatform automation layer, not a promise that every broker in the world supports webhook execution.
Last updated: 2026-05-12 • Author: AlgoWay
TradingView can trigger alerts from strategies, indicators, price conditions and Pine Script logic. When you enable a webhook URL, TradingView sends the alert message to an external endpoint. AlgoWay receives that message, validates the JSON, applies your configured route and sends the resulting order to the connected platform.
| Layer | What happens |
|---|---|
| TradingView | Generates the alert from a strategy, indicator or manual condition. |
| Webhook | Sends a structured message to your AlgoWay webhook URL. |
| AlgoWay | Validates JSON, checks the webhook route, maps the platform and logs the request. |
| Execution platform | Receives the order through MT5 EA, API credentials, authorization session or platform integration. |
| Logs | AlgoWay and the destination platform show whether the alert was received, routed, accepted or rejected. |
Many TradingView users reach the same point: the strategy works on the chart, alerts fire correctly, but execution is still manual. Manual execution creates delays, missed entries, copy-paste mistakes, wrong lot sizes and emotional interference.
To automate TradingView alerts properly, you need more than a webhook URL. You need:
AlgoWay is built as that automation layer. TradingView sends the signal. AlgoWay handles the route from signal to execution.
There are three common paths. The right choice depends on whether you want to build infrastructure or use an existing connector.
You can build a custom server that receives TradingView webhooks and sends orders to broker APIs.
What you need to build:
This is flexible, but it turns the trader into a developer and system administrator.
Some connectors focus on one broker, one platform or one execution ecosystem. This is easier than building your own server, but it can limit you if you later need MT5, crypto exchanges, prop platforms, stocks and futures in one workflow.
Single-platform connectors can work well when you only need one destination. They are weaker when you need multi-account execution, clone mode, platform comparison, centralized logs or cross-platform routing.
AlgoWay is designed for traders who want to automate TradingView alerts across multiple execution destinations from one dashboard.
AlgoWay can route TradingView alerts to platform categories such as:
Instead of building a separate automation stack for each platform, you create the correct AlgoWay webhook route and send structured TradingView alerts into it.
The AlgoWay automation workflow has five practical stages.
The alert can come from:
alert() message;In the TradingView alert window, you enable Webhook URL, paste the AlgoWay webhook URL, and place the JSON payload in the message field.
AlgoWay checks the webhook route, parses the JSON payload, verifies required fields and logs the request. This matters because a webhook that is not valid JSON can fail before it ever reaches the broker or exchange.
Based on the configured webhook, AlgoWay routes the command to the selected destination: MT5 EA, crypto exchange API, stock broker API, futures platform session, prop platform or CFD platform.
AlgoWay logs show what was received and routed. The destination platform logs show whether the order was accepted, rejected, filled or blocked by platform rules.
A simple TradingView strategy alert message can look like this:
{
"platform_name": "metatrader5",
"ticker": "{{ticker}}",
"order_contracts": "{{strategy.order.contracts}}",
"order_action": "{{strategy.market_position}}",
"price": "{{close}}"
}
TradingView replaces placeholders when the alert fires:
{{ticker}} — chart ticker;{{strategy.order.contracts}} — strategy order size;{{strategy.market_position}} — strategy direction or position state;{{close}} — close price at alert time.For another destination, change platform_name and configure the correct AlgoWay webhook route.
Not every TradingView indicator is a strategy. Some indicators expose their Entry, Stop Loss and Take Profit prices through numerical plots. TradingView can include these values in an alert using placeholders such as {{plot("Stop Loss")}} or {{plot("Take Profit")}}. The plot names must match those exposed by your specific indicator.
If a named-plot placeholder causes problems in a JSON alert message, switch the message to plain text while keeping the same AlgoWay field names and values. Remove the opening and closing JSON braces, remove the JSON quotation marks around keys and values, and keep each field on its own key: value line. Do not remove the quotation marks inside plot("..."), because they belong to TradingView's placeholder syntax.
For example, a BUY indicator alert with real price-based Stop Loss and Take Profit can use this plain-text message:
platform_name: metatrader5
ticker: {{ticker}}
order_action: buy
order_contracts: 1
order_type: market
sl_price: {{plot("Stop Loss")}}
tp_price: {{plot("Take Profit")}}
This is intentionally not JSON. It retains AlgoWay's recognizable field names so the AI message normalizer can attempt to turn the received plain text into a structured trading instruction. For a separate SELL alert, choose the indicator's bearish condition and change order_action: buy to order_action: sell. Adjust order size for your instrument and broker before live testing.
If your indicator exposes indexed plots instead, use the correct TradingView index (for example, {{plot_0}}) only after confirming which price that plot represents. Never assume a particular index is the Stop Loss or Take Profit across different indicators.
Critical check: TradingView must replace the placeholders with actual numerical prices. AlgoWay's AI normalizer can help interpret the message format, but it cannot calculate or recover a missing indicator value. Always inspect the incoming webhook logs and confirm that sl_price and tp_price are valid prices before sending real orders. Normalization is a fallback, not a promise that every plain-text message will be accepted.
For a worked example using a specific indicator, see TradingView indicator automation with dynamic SL/TP using AlgoWay.
Use AlgoWayWS-MT5 EA to connect AlgoWay to your MT5 terminal. This is the common route for Forex, indices, metals, CFDs and broker accounts that trade through MetaTrader 5.
{
"platform_name": "metatrader5",
"ticker": "{{ticker}}",
"order_contracts": "{{strategy.order.contracts}}",
"order_action": "{{strategy.market_position}}",
"price": "{{close}}"
}
Guide: How to connect TradingView to MetaTrader 5 with AlgoWay EA.
Use a Binance webhook in AlgoWay to route TradingView alerts to Binance Spot, Futures or the configured Binance market route.
{
"platform_name": "binance",
"ticker": "{{ticker}}",
"order_contracts": "{{strategy.order.contracts}}",
"order_action": "{{strategy.market_position}}"
}
Guide: How to connect TradingView to Binance with AlgoWay.
Crypto exchanges usually require API keys, account permissions, market type settings, symbol format checks and size rules. AlgoWay provides platform-specific webhook forms and logs so the alert can be routed correctly.
Using LuxAlgo Signals & Overlays instead of a TradingView strategy? See our LuxAlgo indicator automation guide for separate BUY/SELL webhook messages and Stop Loss / Take Profit plot placeholders.
Alpaca automation is useful for stock trading workflows. Before live execution, check whether the asset is tradable, shortable, marginable or fractionable.
Tradovate automation is used for futures workflows. The route requires Tradovate authorization, correct account selection and valid futures symbols.
Guide: How to connect TradingView to Tradovate with AlgoWay.
Create a webhook in the AlgoWay dashboard and choose the source and destination.
Different platforms require different connection methods:
| Destination type | Typical connection method |
|---|---|
| MetaTrader 5 | AlgoWayWS-MT5 EA and webhook UUID |
| Crypto exchanges | API key, API secret, permissions and market settings |
| Alpaca | Alpaca API key, secret and paper/live mode |
| Tradovate | Tradovate login, account ID and authorization session |
| Prop / CFD platforms | Platform-specific credentials or connection settings |
You can write the JSON manually, use AlgoWay Message Wizard, or use AlgoWay AI to prepare a valid webhook message for the selected platform.
Do not move directly from setup to live size. Test the pipeline in layers:
A TradingView webhook message can carry much more than “buy” or “sell”. Depending on the destination and AlgoWay route, the message can include:
For the complete field reference, use: AlgoWay JSON schema guide.
Automation is not only speed. It must also define what should happen when the market changes direction, when a position is already open, or when a new signal conflicts with the current state.
AlgoWay documentation separates key execution behaviors:
Guides:
Many tools call themselves a TradingView bot or TradingView connector. The key difference is scope.
| Feature | Single-broker connector | AlgoWay |
|---|---|---|
| TradingView webhook support | Yes | Yes |
| Multiple platform categories | Usually limited | MT5, prop/CFD, crypto, stocks and futures routes |
| Centralized logs | Depends on tool | AlgoWay webhook logs and destination responses |
| Trade copier / clone workflow | Usually limited | Clone Mode for multi-platform execution |
| Message generation support | Depends on tool | Message Wizard and AlgoWay AI |
| Platform-specific guides | One platform focus | Separate guides for MT5, Binance, Bybit, Gate.io, Alpaca, Tradovate and more |
TradingView must send valid JSON when the receiving endpoint expects JSON. Broken commas, missing quotes or plain text alerts can cause the request to fail before execution. See: How to fix AlgoWay webhook Error 415.
The webhook URL must be placed in the TradingView alert notification settings, not only in the message text.
The platform_name field must match the AlgoWay route and destination. Do not send metatrader5 to a Binance webhook or binance to an Alpaca route.
TradingView tickers and broker symbols can differ. MT5 brokers may use suffixes, futures symbols can expire, and stock/crypto symbols may have platform-specific formats.
Every platform has quantity rules. A valid TradingView strategy size can still be invalid for the destination account.
API permissions, MT5 Algo Trading, DLL imports, account authorization, demo/live environment and market permissions must be correct before execution can work.
Use this checklist before relying on live automation:
Automating TradingView alerts means converting chart signals into structured webhook messages and routing them to real execution platforms. AlgoWay provides the automation layer between TradingView and supported brokers, exchanges, MT5 terminals, prop platforms, stock APIs and futures platforms.
If you want to automate TradingView alerts without building your own webhook server, start with one AlgoWay webhook, one destination, one valid JSON message and one small test order. After that works, add SL/TP, trailing, advanced modes, multi-account routing and Clone Mode step by step.
For a MetaTrader 5 execution bridge, read the PineConnector alternative. For broker, cTrader or prop-account routing, see the TradersPost alternative. The platform comparison hub shows other TradingView automation options.