Main clusters and core pages.
AlgoWay can receive TrendSpider webhook alerts and route them to supported execution platforms such as MetaTrader 5, TradeLocker, Match-Trader, DxTrade, cTrader, ProjectX, Tradovate, Alpaca, Binance, Bybit, Bitget, BingX, Coinbase and other destinations. TrendSpider sends the alert or Strategy Bot payload, AlgoWay parses the JSON, and the selected platform receives the trading command.
This guide is written for traders searching for TrendSpider webhook automation, TrendSpider to broker, TrendSpider trading bot webhook, TrendSpider alerts to MT5, TrendSpider alerts to TradeLocker, TrendSpider Strategy Bot webhook, automate TrendSpider alerts, and AlgoWay TrendSpider integration.
The practical route is:
TrendSpider alert or Strategy Bot → AlgoWay webhook URL → AlgoWay JSON routing → broker, exchange or trading platform
TrendSpider creates the signal. AlgoWay receives the webhook. The destination platform executes or rejects the command according to account, symbol, quantity, session and platform rules.
Last updated: 2026-05-12 • Author: AlgoWay
To connect TrendSpider to AlgoWay:
%alert_symbol%, %bot_symbol% and %last_price% where needed.Basic BUY payload for a TrendSpider Standard Alert:
{
"platform_name": "metatrader5",
"ticker": "%alert_symbol%",
"order_contracts": 1,
"order_action": "buy",
"price": "%last_price%",
"comment": "TS:%alert_name%"
}
TrendSpider has two important webhook workflows. They should not be treated as the same setup.
| TrendSpider workflow | Webhook behavior | AlgoWay setup note |
|---|---|---|
| Standard Alerts | Send the alert message/note body to the configured webhook URL. | Use separate alert messages for BUY, SELL and FLAT because standard alerts do not automatically know trading direction. |
| Strategy Bots | Can have separate Entry Webhook URL/Body and Exit Webhook URL/Body. | Use entry body for buy or sell, and exit body for flat. |
This is the core difference. Standard Alerts are excellent for dynamic alerts, multi-factor alerts and technical events. Strategy Bots are better when the TrendSpider workflow explicitly separates entry and exit events.
Prepare the following:
TrendSpider webhooks use HTTP POST requests. For Standard Alerts, the webhook body is based on the text you put into the alert description, note or message field. If that body is valid JSON, the receiving side can parse it as JSON.
For Strategy Bots, TrendSpider provides a separate webhook setup for entry and exit behavior. That means you can set different payloads for entry and exit instead of forcing one generic alert message to do everything.
For AlgoWay, this means:
platform_name and order_action;flat.TrendSpider placeholders are replaced when the alert or bot fires. Use them to keep the JSON dynamic.
| Placeholder | Meaning | AlgoWay use |
|---|---|---|
%alert_name% |
Alert name. | Useful in comment. |
%alert_symbol% |
Alert symbol. | Useful in ticker. |
%alert_note% |
Alert note. | Useful only if your workflow intentionally reuses notes. |
%price_action_event% |
Price action event description. | Useful for logs, not usually for order action. |
%last_price% |
Last price when the alert fired. | Useful in price. |
| Placeholder | Meaning | AlgoWay use |
|---|---|---|
%bot_name% |
Strategy Bot name. | Useful in comment. |
%bot_symbol% |
Bot symbol. | Useful in ticker. |
%bot_timeframe% |
Bot timeframe. | Useful in comments and logs. |
%bot_status% |
Bot status. | Useful in comments and diagnostics. |
%last_price% |
Last price when the bot fired. | Useful in price. |
buy or sell placeholder. Use separate alerts or separate JSON bodies for BUY and SELL.
AlgoWay expects a structured JSON object. The common fields are:
| Field | Required | Example | Purpose |
|---|---|---|---|
platform_name |
Yes | metatrader5 |
Target execution platform route. |
ticker |
Yes | %alert_symbol% |
Symbol or instrument name. |
order_action |
Yes | buy, sell, flat |
Entry, direction or close action. |
order_contracts |
Yes for entries | 1 |
Position size, lot size, contracts or quantity depending on destination. |
price |
No | %last_price% |
Tracking price for logs and comparison. |
comment |
No | TS:%alert_name% |
Log label for debugging. |
Use the platform_name that matches your AlgoWay route.
| Platform | platform_name |
|---|---|
| MetaTrader 5 | metatrader5 |
| TradeLocker | tradelocker |
| Match-Trader | matchtrader |
| DxTrade | dxtrade |
| cTrader | ctrader |
| Capital.com | capitalcom |
| Alpaca | alpaca |
| Tradovate | tradovate |
| ProjectX | projectx |
| Binance | binance |
| Bybit | bybit |
| OKX | okx |
| Bitget | bitget |
| BingX | bingx |
| Coinbase | coinbase |
| Kraken | kraken |
| KuCoin | kucoin |
Full field reference: AlgoWay JSON schema guide.
Use Standard Alerts when you want TrendSpider dynamic alerts, multi-factor alerts, trendline events, indicator events or price action alerts to send a fixed action.
{
"platform_name": "metatrader5",
"ticker": "%alert_symbol%",
"order_contracts": 1,
"order_action": "buy",
"price": "%last_price%",
"comment": "TS:%alert_name%"
}
{
"platform_name": "metatrader5",
"ticker": "%alert_symbol%",
"order_contracts": 1,
"order_action": "sell",
"price": "%last_price%",
"comment": "TS:%alert_name%"
}
{
"platform_name": "metatrader5",
"ticker": "%alert_symbol%",
"order_action": "flat",
"comment": "TS_EXIT:%alert_name%"
}
metatrader5 with your real AlgoWay destination if you use TradeLocker, Match-Trader, DxTrade, ProjectX, Tradovate, Alpaca or a crypto exchange.
Strategy Bots are stronger for entry/exit automation because the bot webhook settings can separate Entry and Exit webhook bodies.
{
"platform_name": "metatrader5",
"ticker": "%bot_symbol%",
"order_contracts": 1,
"order_action": "buy",
"price": "%last_price%",
"comment": "TSBOT_ENTRY:%bot_name%"
}
{
"platform_name": "metatrader5",
"ticker": "%bot_symbol%",
"order_action": "flat",
"comment": "TSBOT_EXIT:%bot_name%"
}
{
"platform_name": "metatrader5",
"ticker": "%bot_symbol%",
"order_contracts": 1,
"order_action": "sell",
"price": "%last_price%",
"comment": "TSBOT_SHORT_ENTRY:%bot_name%"
}
{
"platform_name": "metatrader5",
"ticker": "%bot_symbol%",
"order_action": "flat",
"comment": "TSBOT_SHORT_EXIT:%bot_name%"
}
Use a fixed ticker only when your bot setup does not pass a usable symbol variable or when you want a controlled test.
{
"platform_name": "metatrader5",
"ticker": "AAPL",
"order_contracts": 1,
"order_action": "buy",
"price": "%last_price%",
"comment": "TSBOT:%bot_name%"
}
Some AlgoWay routes support additional risk fields. Test these fields on small size before using them live.
{
"platform_name": "metatrader5",
"ticker": "%alert_symbol%",
"order_contracts": 1,
"order_action": "buy",
"price": "%last_price%",
"sl_price": 192.50,
"tp_price": 198.00,
"comment": "TS:%alert_name%"
}
{
"platform_name": "metatrader5",
"ticker": "%alert_symbol%",
"order_contracts": 1,
"order_action": "buy",
"price": "%last_price%",
"stop_loss": "100",
"take_profit": "200",
"comment": "TS:%alert_name%"
}
{
"platform_name": "metatrader5",
"ticker": "%alert_symbol%",
"order_contracts": 1,
"order_action": "buy",
"price": "%last_price%",
"trailing_pips": 20,
"comment": "TS:%alert_name%"
}
order_contracts: 1 or the smallest valid platform size.General webhook guide: How webhook automation works with AlgoWay.
Always test in layers:
platform_name, ticker, order_action and order_contracts.Use the comment field to make logs readable:
"comment": "TSBOT_ENTRY:%bot_name%"
If AlgoWay receives the webhook but the platform rejects the order, inspect symbol mapping, quantity, account permissions, market session, margin and platform-specific logs.
Use one JSON object, double quotes and no trailing commas. Invalid JSON can be rejected before execution. Read: How to fix AlgoWay webhook Error 415.
The platform_name value must match the AlgoWay route. Do not use metatrader5 if the webhook route is ProjectX or Coinbase.
Use separate TrendSpider Standard Alerts for BUY and SELL, each with its own fixed order_action.
Check the Exit Webhook URL and Exit Webhook Body. Entry and Exit bodies are separate in Strategy Bot workflows.
If %bot_symbol% is not passed as expected, test with a fixed ticker first.
Check AlgoWay logs first. If payload was received, check destination platform credentials, EA connection, symbol, quantity, session and order rejection response.
For MetaTrader 5, size may be lots. For futures platforms, size may be contracts. For crypto exchanges, quantity rules and step size matter.
Check whether the ticker matches the open position, whether flat is supported by the route, and whether the position belongs to the same AlgoWay route/account.
TrendSpider and TradingView are different signal sources. AlgoWay can work with both when the incoming webhook message is valid JSON and the route is configured correctly.
| Source | Typical placeholders | AlgoWay note |
|---|---|---|
| TrendSpider Standard Alert | %alert_symbol%, %alert_name%, %last_price% |
Use fixed BUY/SELL JSON templates. |
| TrendSpider Strategy Bot | %bot_symbol%, %bot_name%, %bot_status%, %last_price% |
Use Entry and Exit webhook bodies. |
| TradingView Strategy Alert | {{ticker}}, {{strategy.order.contracts}}, {{strategy.market_position}} |
Use TradingView JSON templates. |
TrendSpider can send Standard Alerts and Strategy Bot webhooks to AlgoWay when the body is valid AlgoWay JSON. Standard Alerts are best for fixed BUY, SELL or FLAT actions from dynamic alert conditions. Strategy Bots are better for separated Entry and Exit webhook bodies.
Start with a small test, keep comment values readable, check AlgoWay Webhook Logs, and only move to live size after entry, exit, symbol and quantity behavior are confirmed.