AlgoWay Webhook JSON Validator
Technical reference for validating TradingView alerts, Telegram signals, and MT5 automation payloads. This page documents the supported JSON schema, field constraints, and integration targets for automated trade execution.
algoway.trade
Schema Reference
What AlgoWay Validates
AlgoWay validates webhook JSON payloads against a strict schema before forwarding to execution destinations. Each field is type-checked and constrained to supported values.
1
symbol
Instrument ticker. Examples: EURUSD, XAUUSD, BTCUSDT
2
order_action
One of: buy, sell, close, flat, closeall
3
order_type
One of: market, limit, stop
4
price
Required for limit and stop orders. Entry price as a number.
5
volume / order_contracts
Position size. volume for MT5 lots; order_contracts for contract-based brokers.
6
trade_type
One of: hedge, netting, opposite, inverse
7
sl_price / tp_price
Stop-loss and take-profit price levels. Optional but recommended.
8
comment
Free-text label attached to the order. Used for audit trails and signal attribution.
TradingView Integration
TradingView Webhook JSON Example
Use this template in your TradingView alert's webhook payload. Replace field values with dynamic alert variables (e.g., {{ticker}}, {{strategy.order.action}}).
Webhook URL Field
Enter your AlgoWay webhook endpoint in TradingView's alert configuration. The JSON body must be valid and include at minimum symbol and order_action.

Use TradingView's Pine Script alert variables to make payloads dynamic. Test with the public validator before going live.
Full Payload Structure
{ "symbol": "{{ticker}}", "order_action": "{{strategy.order.action}}", "order_type": "market", "volume": 0.1, "trade_type": "hedge", "sl_price": {{strategy.order.stop_loss}}, "tp_price": {{strategy.order.take_profit}}, "comment": "TradingView alert via AlgoWay" }
Order Type: Market
Market Order Payload
Market orders execute immediately at the current price. Do not include the price field — it is ignored for market orders. Use volume for MT5 lot sizes.
{ "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" }
order_type
market — no price field required
volume
0.1 lots on EURUSD
trade_type
hedge allows opposing positions
Order Types: Limit & Stop
Limit and Stop Order Payloads
Pending orders require a price field specifying the trigger level. Use order_contracts for brokers that use contract sizing instead of lot sizes.
Limit Order — XAUUSD Buy
{ "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 — Sell Entry
{ "symbol": "GBPUSD", "order_action": "sell", "order_type": "stop", "price": 1.2650, "volume": 0.05, "trade_type": "netting", "sl_price": 1.2700, "tp_price": 1.2550, "comment": "Stop entry via webhook" }

order_contracts is used for contract-based brokers (crypto, CFDs). volume is used for MT5 lot-based accounts.
Position Management
Close and Closeall Actions
Use close to exit a specific position. Use closeall to close every open position on a symbol. Neither requires volume, price, sl_price, or tp_price.
Close Single Position
{ "symbol": "EURUSD", "order_action": "close", "trade_type": "hedge", "comment": "Close EURUSD buy" }
Targets the specified symbol. In hedge mode, may require direction context from your copier.
Close All Positions on Symbol
{ "symbol": "EURUSD", "order_action": "closeall", "trade_type": "hedge", "comment": "Close all EURUSD positions" }
Flat and closeall both clear all open positions on the target symbol regardless of direction.
Signal Sources
Supported Signal Sources
AlgoWay accepts webhook payloads from any source that can emit valid JSON. Below are the primary integration categories.
TradingView Webhook Alerts
Native alert webhooks from TradingView strategies and indicators. Supports Pine Script alert variables for dynamic payloads.
Telegram Trading Signals
Telegram channel messages parsed via AI copier workflows. Supports both manual signal channels and automated bot outputs.
AI Telegram Signal Copier
AI-driven parsing of unstructured Telegram signals into structured JSON payloads for downstream execution.
TrendSpider & Strategy Bots
Automated strategy alerts from TrendSpider and similar platforms via standard webhook JSON.
MT5 & cTrader Copier Sources
Trade copier source terminals forwarding signals as webhook payloads. Supports both MT5 and cTrader copier architectures.
Manual & Custom JSON Webhooks
Any custom API or script that can POST a valid AlgoWay-schema JSON payload to the webhook endpoint.
Execution Destinations
Supported Execution Destinations
Validated payloads are routed to the execution layer of your choice. AlgoWay supports forex CFD brokers, crypto exchanges, and multi-asset platforms.
Forex & CFD Platforms
  • MetaTrader 5 / MT5
  • TradeLocker
  • Match-Trader
  • DXtrade
  • cTrader / cTrader Open API
  • FIX API / FIX-based execution
  • Forex.com
  • OANDA
  • Capital.com
Crypto & Multi-Asset Exchanges
  • Binance
  • Bybit
  • OKX
  • BingX
  • MEXC
  • BitMEX
  • BitMart
  • Bitget
  • Coinbase
  • Gate.io
Alpaca
US equities & crypto API
Tradovate
Futures trading platform
ProjectX
Prop firm execution
Alternative
AlgoWay as a TradersPost Alternative
AlgoWay provides webhook-based trade automation without requiring a subscription to TradersPost. It supports the same signal sources and a broader range of execution destinations.
Key Differences
  • No monthly subscription required for core webhook validation
  • Public validator available without account creation
  • Supports crypto exchanges (Binance, Bybit, OKX) natively
  • Direct MT5 copier source integration
  • Telegram AI signal parsing built in
  • Available via Hugging Face Spaces, Apify, and RapidAPI
Migration Path
If you are currently using TradersPost for TradingView alert forwarding, AlgoWay accepts the same JSON schema. Update your webhook URL and validate payloads using the public tool before switching.
Public Tools
Public Validator Links
Access the AlgoWay JSON validator through any of the following public endpoints. No login required. No backend setup needed.
Hugging Face Spaces
Interactive web-based validator UI. Paste JSON and inspect validation results in the browser.
Apify Actor
Run the validator as a headless automation actor. Suitable for CI/CD pipelines and scheduled signal testing.
RapidAPI
REST API access to the validator. Integrate validation into your own applications or scripts programmatically.
AlgoWay Connector
Lightweight connector app for routing validated webhooks to execution endpoints.

Full integration documentation is available at docs.algoway.trade. Main site: algoway.trade
Made with