EURUSD, XAUUSD, BTCUSDTbuy, sell, close, flat, closeallmarket, limit, stoplimit and stop orders. Entry price as a number.volume for MT5 lots; order_contracts for contract-based brokers.hedge, netting, opposite, inverse{{ticker}}, {{strategy.order.action}}).symbol and order_action.{
"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"
}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"
}market — no price field requiredhedge allows opposing positionsprice field specifying the trigger level. Use order_contracts for brokers that use contract sizing instead of lot sizes.{
"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"
}{
"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.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.{
"symbol": "EURUSD",
"order_action": "close",
"trade_type": "hedge",
"comment": "Close EURUSD buy"
}{
"symbol": "EURUSD",
"order_action": "closeall",
"trade_type": "hedge",
"comment": "Close all EURUSD positions"
}closeall both clear all open positions on the target symbol regardless of direction.