Skip to content

Guide

How do I send TradingView webhooks to MEXC?

A TradingView alert can't call MEXC itself. It posts to a webhook URL. Paste a Nyria strategy URL into the alert. The bot places the order on MEXC. Nyria connects MEXC with your API key and secret key. Test on paper first.

Official documentation

Send TradingView webhooks to MEXC in seven steps

  1. 1

    Open API Management

    In MEXC, select the profile icon, then API Management.

  2. 2

    Set the permissions

    Choose Spot trading. Leave withdrawals off and add a note.

  3. 3

    Create the key

    Select Create and complete the security check. Copy the API key and the secret key.

  4. 4

    Connect MEXC in Nyria

    Open the MEXC card on Integrations. Paste the API key and the secret key.

  5. 5

    Create a strategy

    Under My strategies, select Create strategy and pick TradingView as the source. Nyria shows the strategy's webhook URL. Copy it.

  6. 6

    Paste the URL into your alert

    Put the alert text in the Message box. Then open Notifications, tick Webhook URL, paste the strategy's URL, then select Apply.

  7. 7

    Test, then deploy

    Run a paper bot first. Then deploy on MEXC and set a budget per entry.

How the webhook reaches MEXC

  • TradingView posts the alert message to the strategy's URL.
  • Nyria reads the message and checks it against the strategy.
  • The bot places the order on MEXC with your key.
  • A budget per entry sets the order size.

Why an alert can't call it

  • A TradingView alert can't sign a MEXC request.
  • It sends a webhook. Something has to place the order.
  • Nyria is that receiver, and it never places an order by itself.
  • Your alerts and strategy rules decide every entry and exit.

What it can't do

  • MEXC isn't available to US residents.
  • Pairs MEXC hasn't opened to API trading are refused.
  • Take the order size from an alert. The budget sets it.
  • Move money. Withdrawals stay off.

Questions

Does TradingView connect to MEXC directly?
No. An alert sends a webhook. Nyria receives it and places the order.
Does Nyria need withdrawals turned on?
No. Leave withdrawals off.
Does a MEXC key expire?
MEXC's docs say a key with no linked IP address expires after 90 days. Linking an IP address avoids that.
Is MEXC available in the US?
No. MEXC isn't available to US residents.
Can I test before using real money?
Yes. Run the strategy on Nyria Paper first. It's free.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.