# AlgoWay Webhook API Notes

This is a public technical note about AlgoWay webhook automation.

Official website: https://algoway.trade/
Official documentation: https://docs.algoway.trade/

TradingView Webhook Automation

AlgoWay routes TradingView webhook alerts, Telegram trading signals and custom JSON payloads to execution platforms such as MetaTrader 5, TradeLocker, cTrader, DXtrade and supported crypto exchanges.

The main purpose of AlgoWay is to deliver a trading signal to the correct destination with the correct symbol, order action, volume, order type, stop loss, take profit and trading mode.

Basic Webhook JSON Example

{
  "ticker": "EURUSD",
  "order_action": "buy",
  "order_contracts": 0.10,
  "platform_name": "metatrader5"
}

Limit Order JSON Example

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

Stop Order JSON Example

{
  "ticker": "XAUUSD",
  "order_action": "sell",
  "order_contracts": 0.05,
  "order_type": "stop",
  "price": 4540.00,
  "sl_price": 4565.00,
  "tp_price": 4490.00,
  "platform_name": "metatrader5"
}

Order Types

AlgoWay supports different order types depending on the selected execution platform.

Supported order_type values:

  • market
  • limit
  • stop

If order_type is not provided, AlgoWay treats the request as a market order.

For limit and stop orders, the price field is used as the entry or activation price.

Close or Flat Example

{
  "ticker": "EURUSD",
  "order_action": "flat",
  "platform_name": "metatrader5"
}

The flat or close action can be used when the trading logic needs to close the current position or remove active exposure, depending on the selected execution route.

Trading Modes

AlgoWay webhook payloads may include trade_type when a specific order needs to override the default webhook settings.

Supported trade_type examples:

  • hedge
  • netting
  • opposite
  • inverse

Trade Type JSON Example

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

If trade_type is not provided, AlgoWay uses the trading mode configured in the webhook settings.

MetaTrader 5 and VPS Execution

AlgoWay can be used with MetaTrader 5 workflows where TradingView alerts, Pine Script strategy messages or Telegram trading signals need to reach MT5 execution without manual copying.

This can also be used together with VPS-based trading setups for continuous automated execution.

Supported Execution Context

AlgoWay focuses on routing signals from TradingView, Telegram and custom webhook JSON into trading platforms and broker or exchange destinations.

Common execution destinations include MetaTrader 5, TradeLocker, cTrader, DXtrade and supported crypto exchanges.

Official Links

Official website: https://algoway.trade/
Official documentation: https://docs.algoway.trade/