How to connect Grok to your XM account
With TraderWAI, Grok can read live charts, check your XM account and prepare orders with stop loss and take profit that you approve. Setup takes a few minutes.
1. Add TraderWAI to Grok
Works on grok.com and in the Grok app. Uses Grok's custom connectors (if you don't see the option, your plan or region may not have it yet).
- Open Grok and go to Connectors (grok.com/connectors, or Settings → Connectors in the app).
- Click «New Connector» and choose «Custom».
- Name: TraderWAI. Server URL: https://mcp.traderwai.com
- Save and sign in with Google to authorize access (if you don't have a TraderWAI account yet, it is created at this step).
- In a new chat, ask Grok to use TraderWAI, e.g. «Show me the EUR/USD H1 chart».
2. Connect your XM account
In TraderWAI, add your XM account with the platform it uses:
MetaTrader 5
Enter your MetaTrader 5 login (account number), the master password and the server name exactly as it appears in MetaTrader. The account is set up in 1–3 minutes.
MetaTrader 5 is included in the Trader plan ($29/month). Charts and analysis are free on every plan.
Detailed guide: Grok + MetaTrader 5 →MetaTrader 4
Enter your MetaTrader 4 login (account number), the master password and the server name exactly as it appears in MetaTrader. The account is set up in 1–3 minutes.
MetaTrader 4 is included in the Trader plan ($29/month). Charts and analysis are free on every plan.
Detailed guide: Grok + MetaTrader 4 →The platforms each firm offers can change; check which one your account uses in your XM dashboard.
3. Ask Grok
Try one of these in a new chat:
- «Show me the gold H1 chart and tell me where the key levels are.»
- «What positions do I have open and how much am I risking?»
- «Prepare a buy limit on EUR/USD at yesterday's low with a 20-pip stop and a 2R target. I'll approve it.»
What Grok can do with your XM account
- Read live charts in any timeframe, with the indicators you ask for.
- Check your balance, open positions and pending orders.
- Backtest a strategy idea on historical data before risking anything.
- Prepare market, limit and stop orders with stop loss and take profit that you approve.
- Leave conditional orders that TraderWAI watches every minute.
- Respect your risk limits: maximum daily loss and drawdown, risk per trade, size and number of trades.
Other AIs with XM
- How to connect Claude to your XM account
- How to connect ChatGPT to your XM account
- How to connect Gemini to your XM account
TraderWAI is independent software and is not affiliated with XM. Trading involves risk; TraderWAI does not provide investment advice.