Skip to content

Send your first alert to MetaTrader 5

  • Time 30 min
  • Level beginner
View as Markdown

This path takes you from a new account to a first demo trade placed by a TradingView alert. Each step links to the full guide if you need more detail.

Before you start: check the requirements: MT5 desktop with a demo account, and a TradingView plan with webhooks and two-factor authentication.

  1. Create your account and copy your license key. Full guide

    What you should see

    Licenses lists a key with the badge Not connected.

  2. Install the EA in MT5. Copy the EA file into the Experts folder, allow https://dev.api.zb-connector.com under Tools → Options → Expert Advisors, switch Algo Trading on, attach the EA to a chart and paste your key into the input License ID / Auth token. Full guide

    What you should see

    The chart panel reads Status: Connected, and Licenses shows Online.

  3. Test the EA from the dashboard. On Send Command, send a long of the smallest volume your broker allows on a demo symbol. Full guide

    What you should see

    A new position appears in MT5, and the Experts log shows Trade placed successfully.

  4. Create the TradingView alert. In the alert’s notifications, tick Webhook URL and enter:

    https://dev.api.zb-connector.com/webhook/

    In the message box, enter a message like this one, with your key in place of YOUR_LICENSE_KEY:

    Alert message
    {
    "license": "YOUR_LICENSE_KEY",
    "action": "long",
    "symbol": "EURUSD",
    "volume": 0.01,
    "positionID": "tradingview_test_1"
    }

    Use the symbol name exactly as your broker shows it in MT5. Full guide

  5. Let the alert fire and check each stage. Full guide

    What you should see

    In TradingView’s alert log the Webhook status is a success. In ZB Connector, Command History shows the command, and MT5 shows the new position.

An HTTP 200 reply means the command was queued, not executed. If a stage does not show up, find where the alert stopped.

Go to the first checkpoint above that you did not see, and use the guide linked in that step. For a failed trade, look up the number in MT5 errors.

Work through the go-live checklist before you use a live account, and read the commands overview to build your own alert messages.

Verified for EA v1.9 · dashboard 2026-10-05 · reviewed by Claude Code (owner review pending)

Report a problem with this page

Trading involves substantial risk of loss. ZB Connector is software only; it does not provide investment advice, signals or brokerage services.