Free TradingView JSON Tool

TradingView
Webhook JSON
Generator

Choose your execution platform and build the TradingView alert message step by step. No login, no webhook ID and no account setup required.

23 execution platforms
Free no registration required
JSON ready to copy into TradingView

The generator uses the same AlgoWay message logic available inside the user dashboard. Public mode replaces account-based platform detection with a platform selector.

Build Your TradingView Alert

No Login

Answer the setup questions and copy the generated message when you reach the result.

Supported destinations

Generate JSON for 23 execution platforms

Start with the destination you plan to connect. The generator adjusts the message options according to the selected platform and the TradingView script type.

MetaTrader 5
TradeLocker
MatchTrader
DXtrade
cTrader
Capital.com
Alpaca
Tradovate
ProjectX
IBKR
Binance
OKX
Bybit
MEXC
Bitget
BingX
Hyperliquid
Kraken
KuCoin
Gate.io
Coinbase
WEEX
Toobit
What it builds

From TradingView setup to a structured webhook message

The tool asks only for the information needed to construct the alert payload. It does not connect to a broker, place an order or require account credentials.

01

Select the destination

Choose the broker, exchange or execution platform that will receive the AlgoWay route.

02

Describe the TradingView alert

Choose indicator or strategy behavior, symbol, volume, trading mode and supported order parameters.

03

Copy the generated JSON

Use the result in the TradingView alert message field, then connect the real destination after registration.

Webhook reference

TradingView webhook JSON fields explained

AlgoWay reads the JSON sent by a TradingView alert and translates its fields into instructions for the selected execution destination. The generator above builds that payload automatically, but knowing the main fields helps when you edit an alert, troubleshoot a rejected message or reuse the same setup with another script.

Core AlgoWay JSON fields

A simple entry needs only a few values. Protective orders, leverage and hedge-specific behavior add fields only when they are relevant to the selected platform and trading mode.

Field What it controls
platform_name The execution destination chosen in the wizard, such as MetaTrader 5, Tradovate or Binance.
trade_type The position-handling mode, such as netting/reverse or hedge where the destination supports it.
ticker The symbol sent from TradingView. It can be fixed or use {{ticker}}.
order_action The requested action. Indicator alerts normally use buy, sell or close; strategies can use TradingView placeholders.
order_contracts The order size, either fixed or supplied dynamically by {{strategy.order.contracts}}.
leverage Optional leverage for destinations where AlgoWay exposes leverage control.
sltp_type Sets relative SL/TP mode to percent or pips.
stop_loss / take_profit Relative SL/TP distances used together with sltp_type.
sl_price / tp_price Absolute stop loss and take profit prices used instead of relative distances.
close_side Identifies the side to close or modify in supported hedge workflows.

Indicator alert example

Indicators do not automatically provide strategy order variables, so action and size are usually explicit in each alert. A long alert can use buy and a fixed quantity, while the corresponding short alert uses sell. This example sends relative SL/TP distances in pips.

{
  "platform_name": "metatrader5",
  "trade_type": "netting",
  "ticker": "{{ticker}}",
  "order_action": "buy",
  "order_contracts": 0.10,
  "sltp_type": "pips",
  "stop_loss": 25,
  "take_profit": 50
}

For exact protective prices, remove sltp_type, stop_loss and take_profit and use sl_price and tp_price. The TradingView SL/TP Calculator converts the same Entry, SL and TP levels into percent, pips and absolute-price JSON.

Strategy alert example

Strategies can fill dynamic values when the alert fires. The wizard can use the current strategy position as the action and the strategy order size as quantity, avoiding a hard-coded contract amount.

{
  "platform_name": "tradovate_api",
  "trade_type": "hedge",
  "ticker": "{{ticker}}",
  "order_action": "{{strategy.market_position}}",
  "order_contracts": "{{strategy.order.contracts}}"
}

Paste the generated payload into TradingView's alert Message field. Strategy alerts and indicator alerts do not use exactly the same TradingView variables, which is why the public wizard asks about the script type before generating the result.

Common webhook message problems

  • Invalid JSON. Extra text, smart quotes, missing quotation marks or trailing commas can invalidate the whole message. Keep the alert Message field as valid JSON.
  • Mixing relative and absolute SL/TP. stop_loss and take_profit are distances when paired with sltp_type. sl_price and tp_price are actual market prices.
  • Strategy placeholders inside an indicator alert. Values such as {{strategy.order.contracts}} belong to strategy alerts. Indicator alerts normally use explicit actions and quantities unless the script builds its own dynamic message.
  • Wrong symbol assumptions. A TradingView ticker is not always written exactly like the symbol used by the broker or exchange. Use the symbol handling required by the destination connection.
  • Unsupported optional fields. Leverage, hedge controls and other optional parameters should appear only when they are relevant to the selected destination and mode.

A good troubleshooting workflow is to generate the message first, copy it unchanged, test it, and then modify only values you understand. Keeping the JSON compact makes errors easier to identify.

Ready to connect the generated alert?

Create an AlgoWay account, connect your execution destination and use the generated TradingView message with your own webhook route.

Start Free 14-Day Trial