How to Connect TradingView Alerts to MT4
Connect TradingView webhook alerts to your MetaTrader 4 demo account with the Signal2Trade Windows client and MT4 Expert Advisor.
Setup and test checklist
- Prepare a Windows server, MT4 demo account, Signal2Trade client, and TradingView alert source.
- Confirm Signal2Trade detects the MT4 terminal and EA.
- Attach the EA to the intended chart and enable automated trading.
- Test with a symbol that exactly matches the broker chart.
- Paste the public signal address and JSON message into a TradingView alert, then verify the Demo order and log.
TradingView Alert Message Examples
Example TradingView Alert Message
{
"symbol": "{{ticker}}",
"side": "{{strategy.order.action}}",
"qty": "{{strategy.order.contracts}}",
"walletID": "mt"
}