Set TradingView webhook URL and message JSON
Use your TradeAdapter webhook URL and set a structured alert message so TradingView webhook alerts can route to Bybit through TradeAdapter.
Map required Bybit message fields
Set strategy_name to the name of a Strategy you created under My Brokers. TradingView fills strategy placeholders automatically at alert time.
Recreate alerts after strategy changes
Recreate TradingView alerts when strategy inputs change to keep real-time trade execution aligned with your current logic.
TradingView alert message template
Credentials live on the broker you saved under My Brokers; market, ticker, order type, and quantity are configured once on that broker's Strategy — never in the TradingView alert. If your strategy uses Limit order type, or has Stop Loss / Take Profit enabled, also include "order_price": "{{close}}" in the alert. If your strategy has "Sync with TradingView position" enabled, also include market_position and prev_market_position from your strategy.
{
"strategy_name": "bybit-momentum",
"order_action": "{{strategy.order.action}}",
"order_contracts": "{{strategy.order.contracts}}"
}