Search documentation

Search every page of the Trade Wzrd docs

Automation

TradingView Setup

Complete guide to connecting TradingView alerts to Trade Wzrd webhooks for automated trade execution.

This guide walks you through sending trade signals from TradingView to Trade Wzrd via webhooks.


Setup Steps

Step 1: Create a Webhook in Trade Wzrd

  1. Go to Automation > Webhooks
  2. Create a new webhook and select your target accounts
  3. Copy the webhook URL

Step 2: Create a TradingView Alert

On your TradingView chart, click the Alert button (clock icon) or right-click the chart and select Add alert. Set up your strategy condition as usual.

Step 3: Configure the Webhook URL

In the alert dialog:

  1. Under Notifications, check the Webhook URL box
  2. Paste your Trade Wzrd webhook URL

Step 4: Set the Alert Message

In the Message box, enter your signal using the comma-separated format. Use TradingView's {{ticker}} placeholder for the symbol:

Simple buy signal:

text
BUY,{{ticker}},VOL=0.01,SL=100,TP=200

Sell with pip-based SL/TP:

text
SELL,{{ticker}},VOL=0.05,SL=100,TP=200,TPSLTYPE=PIPS

Dynamic SL/TP with price values:

text
BUY,{{ticker}},VOL=0.01,SL={{low}},TP={{high}}

Close signal:

text
CLOSE,{{ticker}}

Partial close:

text
CLOSE,{{ticker}},PERCENT=50

Breakeven:

text
BREAKEVEN,{{ticker}},OFFSET=0.0005

Multi-command (close and re-enter):

text
CLOSE,{{ticker}};BUY,{{ticker}},VOL=0.01,SL=100,TP=200

Step 5: Save the Alert

Click Create. TradingView will send the signal to your webhook URL whenever the alert condition triggers.


TradingView Placeholders

You can use any TradingView placeholder in your signal:

PlaceholderDescription
{{ticker}}Symbol name
{{time}}Bar open time
{{interval}}Chart timeframe
{{open}}Bar open price
{{high}}Bar high price
{{low}}Bar low price
{{close}}Bar close price
{{volume}}Bar volume

Using Price Values for SL/TP

When you use price values (like {{low}} or {{high}}) for stop loss and take profit, you don't need to specify TPSLTYPE=PRICE - price is the default:

text
BUY,{{ticker}},VOL=0.01,SL={{low}},TP={{high}}

Only specify TPSLTYPE=PIPS when your SL/TP values are pip distances:

text
BUY,{{ticker}},VOL=0.01,SL=100,TP=200,TPSLTYPE=PIPS

Multi-Command from TradingView

Separate commands with semicolons in the same message box:

text
CLOSE,{{ticker}};BUY,{{ticker}},VOL=0.01,SL=100,TP=200

This closes the existing position and immediately opens a new one.


Symbol Handling

TradingView's {{ticker}} returns symbols in various formats depending on the exchange. Use manual symbol mapping in your webhook's advanced account config if the format doesn't match your broker:

TradingView ExchangeExampleSolution
ForexFX:EURUSDMap FX:EURUSD → EURUSD
OANDAOANDA:EURUSDMap OANDA:EURUSD → EURUSD
CryptoBINANCE:BTCUSDTMap BINANCE:BTCUSDT → BTCUSDT
MetalsXAUUSDUsually works with auto mapping

Alternatively, enable Auto symbol mapping to let Trade Wzrd fuzzy-match signal symbols to your broker's format.


Common Issues

IssueSolution
Signal not receivedVerify the webhook URL is correct and the webhook status is Active
"No command found"The signal text doesn't contain a valid command
"No symbol found"The signal text needs a symbol after the command
Symbol mismatchSet up manual symbol mapping in the webhook's advanced account config
Trade not executingCheck the Alerts page for error details