TraderWAI
PlatformsAIsDocsBlogPricing
Sign inStart free
TraderWAI › Brokers and prop firms › XM
Broker

How to connect Gemini to your XM account

With TraderWAI, Gemini 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.

Connect XM to Gemini in 2 minutes — free

1. Add TraderWAI to Gemini

Beta. Requires a personal Google account (not a work or school account), age 18+, being in the United States, using Gemini in English and having Gemini Apps Activity turned on. No paid plan needed. It's easiest from gemini.google.com on a computer.

  1. Open gemini.google.com and go to Settings & help → Connected Apps.
  2. Under «Custom apps», click «Add a custom app».
  3. Paste the server URL https://mcp.traderwai.com and click «Next».
  4. A browser window opens: sign in to TraderWAI with Google and approve access (if you don't have a TraderWAI account yet, it is created at this step).
  5. In a new chat, ask, e.g. «Show me the EUR/USD H1 chart with TraderWAI».
Open Gemini connectors

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: Gemini + MetaTrader 5 →
How to connect Gemini to MetaTrader 5 (MT5) →

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: Gemini + MetaTrader 4 →

The platforms each firm offers can change; check which one your account uses in your XM dashboard.

3. Ask Gemini

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.»

XM with your AI, step by step

XM accounts connect to TraderWAI as MetaTrader 4 or MetaTrader 5 accounts; the XM App itself is not connected. Your AI then reads your XM account and live charts through TraderWAI's MCP server and prepares orders you approve.

  1. Add https://mcp.traderwai.com to your AI as a custom connector (MCP server).
  2. Find the login, password and server of your XM MT4 or MT5 account. The server depends on the XM entity and server your account was opened on: copy it from MetaTrader.
  3. In TraderWAI go to Settings → Broker accounts → Add account → MetaTrader and enter them. The first connection takes 1–3 minutes.
  4. MetaTrader accounts are included in the Trader plan; charts and analysis are free on every plan.

Example prompt for Gemini

«With my XM MT5 account, show me gold on H4 and H1, mark the key levels and prepare a sell limit at resistance with a stop above it and a 2R target. I'll approve it.»

Every order carries a stop loss by default, is checked against your risk limits and waits for your approval unless you allow auto-execution on that account (with the symbols and limits you choose).

XM and TraderWAI: what to know

  • XM offers MetaTrader 4 and MetaTrader 5, plus the XM App. You connect your XM MT4 or MT5 account to TraderWAI; the XM App is not connected directly.
  • XM has demo accounts on MT4 and MT5, so you can test your AI on a demo first.
  • Enter the server exactly as it appears in MetaTrader for that account: it depends on the XM entity and server your account was opened on.

What Gemini 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.

XM and Gemini: questions

Can I connect both my XM MT4 and MT5 accounts?

Yes, as separate accounts. On Trader any of your 5 accounts can be MetaTrader, and on Max any of your 10.

Can I use the investor password?

No. The investor password is read-only and cannot place orders; use the account's main trading password.

Which Gemini plan do I need?

Custom apps in Gemini are in beta and work on the free plan: they need a personal Google account (not work or school), age 18+, in the United States and with Gemini in English. If that is not your case, the same XM account works with Claude or ChatGPT, including their free plans.

How do I add TraderWAI to Gemini?

On gemini.google.com go to Settings & help → Connected Apps → «Add a custom app», paste https://mcp.traderwai.com, click «Next» and sign in to TraderWAI with Google. Then ask in a new chat, for example «Show me my XM positions with TraderWAI».

Can I connect ChatGPT to my XM account?

Yes. Add TraderWAI to ChatGPT (any plan, including Free) and connect your XM MT4 or MT5 account with its login, password and server. MetaTrader accounts are included from the Trader plan; charts and analysis are free.

Start free

Related guides

  • Broker MCP server: connect Claude or ChatGPT to your broker (Exness, FTMO, Pepperstone…)
  • Which brokers can you connect to ChatGPT, Claude or Grok? (2026)

Other AIs with XM

  • How to connect Claude to your XM account
  • How to connect ChatGPT to your XM account
  • How to connect Grok to your XM account
  • How to connect Grok Bot to your XM account
  • How to connect Perplexity to your XM account
  • How to connect Cursor to your XM account
All about XM and TraderWAI

TraderWAI is independent software and is not affiliated with XM. Trading involves risk; TraderWAI does not provide investment advice.

TraderWAI

Connect any AI to your broker, with you in control.

Product
  • Platforms
  • AIs
  • Pricing
  • Docs
  • Status
  • Sign in
Resources
  • Connection guides
  • Broker guides
  • Best MCP servers for trading
  • Strategy backtests
  • Markets today
  • FAQ
  • Blog
  • News
  • Telegram community: questions & ideas
Company
  • Investors
  • Contact
  • Brokers and prop firms
Legal
  • Privacy
  • Terms

Trading leveraged products such as CFDs, forex and futures carries a high risk of losing money. TraderWAI is a technology tool: it does not provide investment advice and does not manage funds. The AI's analyses and proposals are not recommendations; you decide every order.

© 2026 TraderWAI · FLEXIN AGILE LTD