AlgoWay Webhook JSON Validator for TradingView Alerts, Telegram Signals and MT5 Automation

Validate webhook JSON payloads before routing TradingView alerts, Telegram trading signals, MT5 automation requests, broker API orders, crypto exchange instructions and multi-platform trade execution through AlgoWay.

What AlgoWay validates

AlgoWay validates webhook JSON payloads to ensure they contain the required fields and correct data types before routing them to execution destinations. The validator checks:

  • Required fields are present and non-empty
  • Field values match expected data types
  • Order action and order type values are supported
  • Numeric fields contain valid numbers
  • Symbol format is valid for the target platform

Canonical AlgoWay JSON fields

FieldDescription
symbolTrading instrument identifier (e.g., EURUSD, XAUUSD, BTCUSDT)
order_actionOrder action type: buy, sell, close, flat, closeall
order_typeOrder execution type: market, limit, stop
pricePrice for limit and stop orders
volumePosition size in lots
order_contractsAlternative to volume for specifying position size
trade_typePosition management mode: hedge, netting, opposite, inverse
sl_priceStop loss price level
tp_priceTake profit price level
commentOptional order comment for identification

Note: qty, quantity, and order_contracts may be accepted as aliases in some payload formats.

Example TradingView webhook JSON

The following example shows a typical TradingView webhook alert payload formatted for AlgoWay. This payload opens a buy market order on EURUSD with stop loss and take profit levels.

TradingView Alert Message
{
  "symbol": "EURUSD",
  "order_action": "buy",
  "order_type": "market",
  "volume": 0.1,
  "trade_type": "hedge",
  "sl_price": 1.08,
  "tp_price": 1.095,
  "comment": "TradingView alert via AlgoWay"
}

Market order payload

Market orders execute immediately at the current market price. Use order_type: "market" for instant execution.

market_order.json
{
  "symbol": "EURUSD",
  "order_action": "buy",
  "order_type": "market",
  "volume": 0.1,
  "trade_type": "hedge",
  "sl_price": 1.08,
  "tp_price": 1.095,
  "comment": "TradingView alert via AlgoWay"
}

The volume field specifies the position size in lots. Include sl_price and tp_price to set protective orders.

Limit and stop order payloads

Limit orders execute when the price reaches a specified level better than the current market price. Stop orders execute when the price reaches a specified level worse than the current market price.

Limit order

limit_order.json
{
  "symbol": "XAUUSD",
  "order_action": "buy",
  "order_type": "limit",
  "price": 2320.5,
  "order_contracts": 0.1,
  "trade_type": "netting",
  "sl_price": 2308,
  "tp_price": 2345,
  "comment": "Limit order from webhook payload"
}

Stop order

stop_order.json
{
  "symbol": "XAUUSD",
  "order_action": "sell",
  "order_type": "stop",
  "price": 2295.5,
  "order_contracts": 0.1,
  "trade_type": "hedge",
  "sl_price": 2310,
  "tp_price": 2265,
  "comment": "Stop order from webhook payload"
}

The price field is required for limit and stop orders. Use order_contracts as an alternative to volume for specifying position size.

Close and closeall payloads

Use close to close a specific position or closeall to close all positions for a symbol.

closeall.json
{
  "symbol": "EURUSD",
  "order_action": "closeall",
  "trade_type": "hedge",
  "comment": "Close all EURUSD positions"
}

The trade_type field determines which positions to close when using hedge mode.

Supported order_action values

ValueDescription
buyOpen a long position or add to existing long position
sellOpen a short position or add to existing short position
closeClose a specific position
flatFlatten position to zero exposure
closeallClose all positions for the specified symbol

Supported order_type values

ValueDescription
marketExecute immediately at current market price
limitExecute at specified price or better
stopExecute when price reaches specified stop level

Supported trade_type values

ValueDescription
hedgeAllow multiple positions in same or opposite directions
nettingConsolidate positions into single net position
oppositeClose opposite positions before opening new position
inverseReverse current position direction

Supported signal sources

AlgoWay accepts webhook payloads from the following signal sources:

  • TradingView webhook alerts
  • Telegram trading signals
  • AI Telegram signal copier workflows
  • TrendSpider webhooks and Strategy Bots
  • MT5 Copier source
  • cTrader Copier source
  • Manual webhook JSON
  • Custom JSON and API-style webhook payloads

Supported execution destinations

AlgoWay routes validated webhook payloads to the following execution destinations:

MetaTrader 5 / MT5
TradeLocker
Match-Trader
DXtrade
cTrader
cTrader Open API
FIX API / FIX-based execution
Forex.com
OANDA
Capital.com
Alpaca
Tradovate
ProjectX
Binance
Bybit
OKX
BingX
MEXC
BitMEX
BitMart
Bitget
Coinbase
Gate.io

AlgoWay as a TradersPost alternative

AlgoWay provides a comprehensive alternative to TradersPost for webhook-based trading automation. Key advantages include:

  • Support for both forex brokers and crypto exchanges
  • MT5 native integration with hedge mode support
  • Telegram signal copier functionality
  • Multi-platform execution from a single webhook
  • JSON payload validation before execution

For detailed comparison and migration guides, visit: algoway.trade/traderspost-alternative

Public validator links

Validate your webhook JSON payloads using the following public tools:

Built with v0