A TradingView alert can be a source: when it fires, HydraSync copies the trade to every account linked to it, with each link's own lot mode, filters, limits and protection rules. Beta.
Webhooks are a TradingView feature of its paid plans, and TradingView asks for two-factor authentication on your TradingView account before it sends them.
The URL contains a secret key: anyone who has it can send trades to your accounts. Do not share it. If it leaks, delete the source and create a new one.
JSON is the most reliable. {{ticker}} and {{close}} are TradingView placeholders, filled in when the alert fires.
{"action": "buy", "symbol": "{{ticker}}", "price": {{close}}}
buy, sell, close, close_all, or a pending order buy_limit, sell_limit, buy_stop, sell_stop (these need a price).EURUSD; TradingView's OANDA:EURUSD works too (the exchange prefix is dropped). Map different broker names in Symbols.{"action": "close", "id": "..."} closes only the copies opened under that name. Without an id, close closes every copy of this source on the symbol.close, the share to close (50 = half).Plain text works too, written like a Telegram signal: BUY EURUSD SL 1.0750 TP 1.0900, SELL LIMIT XAUUSD 2400 SL 2410, CLOSE EURUSD, CLOSE ALL.
For a Pine Script strategy, one alert can carry every order the strategy places:
{"action": "{{strategy.order.action}}", "symbol": "{{ticker}}", "price": {{strategy.order.price}}, "id": "{{strategy.order.id}}", "market_position": "{{strategy.market_position}}", "position_size": {{strategy.position_size}}, "prev_position_size": {{strategy.prev_market_position_size}}}
With market_position:
flat: the strategy closed its position, so the copies on that symbol are closed.buy while copies are short): the opposite copies are closed first, then the new one opens.sell that leaves the strategy long (a partial exit): the same share of the long copies is closed, computed from position_size and prev_position_size. Without them, the copies are closed in full.buy_limit …) becomes a real order on destinations whose link copies pending orders (see Copy settings); elsewhere it opens at market.