Skip to main content

Automation

Send signals from TradingView → Trades execute instantly on your MT4/MT5/TradeLocker accounts. Automation lets you receive webhook alerts from TradingView (or any source) and automatically execute trades on your connected broker accounts.

How It Works

1

Create Webhook

Generate unique webhook URLSelect which account(s) receive signals
2

Configure Alert

Paste webhook URL in TradingView alertSet alert message with trade signal
3

Alert Triggers

TradingView sends signal to webhookTradeWzrd executes trade instantly (\u003c500ms)
Result: Fully automated trading based on your TradingView indicators/strategies.

Automation Features


Signal Format

Signals are raw text commands (comma-separated values):
BUY, EURUSD, VOL=0.1, SL=20, TP=40, TPSLType=PIPS
Parts:
  • BUY = Action (buy/sell/close/modify)
  • EURUSD = Symbol to trade
  • VOL=0.1 = Volume (0.1 lots)
  • SL=20 = Stop loss (20 pips)
  • TP=40 = Take profit (40 pips)
  • TPSLType=PIPS = Interpret SL/TP as pip distances
👉 Full signal format reference

Supported Actions

ActionWhat it doesExample
BUYOpen long at marketBUY, EURUSD, VOL=0.1
SELLOpen short at marketSELL, EURUSD, VOL=0.1
BUYLIMITPending buy limitBUYLIMIT, EURUSD, PRICE=1.0850, VOL=0.1
SELLLIMITPending sell limitSELLLIMIT, EURUSD, PRICE=1.0950, VOL=0.1
BUYSTOPPending buy stopBUYSTOP, EURUSD, PRICE=1.0950, VOL=0.1
SELLSTOPPending sell stopSELLSTOP, EURUSD, PRICE=1.0850, VOL=0.1
MODIFYUpdate SL/TPMODIFY, EURUSD, SL=1.0880, TP=1.0920
CLOSEClose positionCLOSE, EURUSD, SIDE=BUY
CLOSEALLClose all positionsCLOSEALL, EURUSD
👉 Actions reference

Key Parameters

Position Sizing

Option 1: Fixed Lots
VOL=0.1
Always trade 0.1 lot Option 2: Risk % (Recommended)
RISK=2
Risk 2% of account balance (requires SL)

Stop Loss / Take Profit

Price Mode (absolute levels):
SL=1.0850, TP=1.0950, TPSLType=PRICE
Pips Mode (distance from entry):
SL=20, TP=40, TPSLType=PIPS

Quick Examples

Simple Market Order

BUY, EURUSD, VOL=0.1

Risk-Based with SL/TP

SELL, GBPUSD, RISK=2, SL=30, TP=60, TPSLType=PIPS

Pending Limit Order

BUYLIMIT, EURUSD, PRICE=1.0850, VOL=0.1, SL=20, TP=40, TPSLType=PIPS

Modify Existing Trade

MODIFY, EURUSD, SIDE=BUY, SL=1.0900, TP=1.0950, TPSLType=PRICE

Partial Close

CLOSE, EURUSD, SIDE=BUY, PERCENT=50

Close All

CLOSEALL

Use Cases

Setup:
  1. Create indicator strategy in TradingView
  2. Add alert when buy/sell conditions met
  3. Set webhook URL + signal message
  4. Strategy trades automatically 24/7
Example: MA crossover strategy → Auto-trades every cross
Setup:
  1. Signal provider posts: “BUY EURUSD @ 1.0900”
  2. Format as TradeWzrd signal: BUY, EURUSD, VOL=0.1
  3. Send to webhook URL via curl/Postman
  4. Trade executes instantly
Use case: Copy manual signals from mentors/groups
Setup:
  1. Create one webhook
  2. Select 3 accounts (demo + 2 live)
  3. One TradingView alert → Executes on all 3 accounts
Use case: Test on demo + trade live simultaneously
Setup:
  1. Use RISK=2 instead of fixed lots
  2. Set SL in pips: SL=20, TPSLType=PIPS
  3. System calculates exact lot size to risk 2%
Result: Consistent risk per trade, regardless of SL distance

Best Practices

✅ DO:

  • Test in Playground first before using in TradingView
  • Use Risk % mode for better risk management
  • Start with demo accounts to verify signals work correctly
  • Monitor Alerts tab to see execution logs
  • Check History regularly to review performance

❌ DON’T:

  • Don’t share webhook URLs publicly (anyone with URL can send signals)
  • Don’t skip SL (always set stop loss for risk management)
  • Don’t use JSON format (only raw text is supported)
  • Don’t overtrade (limit signals to high-probability setups)

Execution Flow

  1. Alert triggers in TradingView
  2. HTTP POST sent to webhook URL with signal text
  3. TradeWzrd receives signal, validates format
  4. Signal parsed → Extracts action, symbol, parameters
  5. Trade executed on all selected accounts
  6. Response sent back to TradingView (success/error)
  7. Logged in Alerts tab for review
Total time: Typically \u003c 500ms from alert to execution

Troubleshooting

Check:
  • Webhook is enabled (toggle green)
  • Account is connected
  • Signal format is correct (test in Playground)
  • Full webhook URL copied to TradingView
Common mistakes:
  • Missing commas: BUY EURUSD VOL=0.1
  • Correct: BUY, EURUSD, VOL=0.1
Test your signal in Playground to see exact error.
Broker uses different symbol name:
  • Your signal: EURUSD
  • Broker symbol: EURUSDm
Add symbol mapping in webhook settings.
👉 Full troubleshooting guide

Next Steps