AlgoWay Webhook Notes

TradingView Webhook JSON for Broker Execution

A short technical page about routing TradingView alerts through AlgoWay into broker or exchange execution.

Execution Route

TradingView alert → AlgoWay webhook → JSON validation → broker, exchange or MetaTrader 5 execution

Webhook JSON Example

{
  "platform_name": "metatrader5",
  "ticker": "{{ticker}}",
  "order_action": "{{strategy.market_position}}",
  "order_contracts": "{{strategy.order.contracts}}",
  "price": "{{close}}"
}

Order Types

AlgoWay webhook messages can describe market, limit and stop orders depending on the selected execution route.

{
  "platform_name": "metatrader5",
  "ticker": "EURUSD",
  "order_action": "buy",
  "order_contracts": 0.10,
  "order_type": "limit",
  "price": 1.08500,
  "sl_price": 1.08000,
  "tp_price": 1.09500
}

Trading Modes

A webhook payload may include trade_type when one order needs to override the default route settings.

{
  "platform_name": "metatrader5",
  "ticker": "XAUUSD",
  "order_action": "sell",
  "order_contracts": 0.05,
  "trade_type": "inverse"
}