TraderWAI
PlatformsAIsPricingDocsBlogInvestorsContact
Sign inStart free
All posts
GuidesNovember 17, 2026· 5 min read

How to connect Gemini to MetaTrader 5 (MT5)

Connect Google Gemini to your MT5 account step by step, no EA or code: Gemini reads live charts and your positions and prepares orders with SL/TP that you approve.

Gold chart marked up by the AIYour AI analyses, draws on the chart and trades on your broker. Free, no card.Connect your AI freeNo broker yet? Try it free with a simulated account: your AI trades with virtual money and real prices. How to connect Gemini to MetaTrader 5 (MT5)

Gemini can explain a chart pattern or summarise the day's news, but on its own it can't see your MetaTrader 5 account, read a live chart or send an order. TraderWAI adds that: a connector (an MCP server) you add to Gemini once. After that Gemini can read your MT5 balance and positions, look at live charts, run backtests and prepare orders with stop loss and take profit that you approve.

No Expert Advisor, no code and nothing running on your computer: TraderWAI connects to your broker's MetaTrader server from the cloud.

What you need

  • Gemini with custom apps, or Gemini CLI. In the Gemini app, connecting your own tools is a Google beta: it needs Google AI Pro or Ultra on a personal Google account (not a work or school one), age 18+, being in the United States and using Gemini in English. If that's not your case, Gemini CLI (Google's terminal app) works too: see step 1B.
  • An MT5 account, demo or live: the login (account number), the master password and the server name exactly as MetaTrader shows it. MetaTrader 4 works the same way.
  • A TraderWAI account on the Trader plan or higher. MetaTrader is a premium broker included in Trader and Max: any of your accounts can be MetaTrader (5 on Trader, 10 on Max). Charts and analysis are free on every plan, and the account is created when you authorize Gemini.

Step 1A: add TraderWAI to the Gemini app

  1. Open gemini.google.com on a computer 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 allow access. If you don't have a TraderWAI account yet, it is created here.
  5. Open a new chat and check it works: "Show me the EUR/USD H1 chart with TraderWAI."

The Gemini + MT5 quick guide has a button that opens Gemini's Connected Apps and the URL ready to copy.

Step 1B: or use Gemini CLI

If you use Gemini from the terminal, add TraderWAI as a remote server:

gemini mcp add --transport http traderwai https://mcp.traderwai.com

Start gemini, type /mcp to check that traderwai appears and sign in with Google when it asks you to authorize. From then on you can ask for charts, your positions or a backtest from the terminal.

Step 2: add your MT5 account to TraderWAI

  1. In the TraderWAI dashboard go to Settings → Brokers → Add account → MetaTrader and choose MetaTrader 5.
  2. Enter the login, the master password and the server exactly as they appear in MT5 (for example ICMarketsSC-Demo). Suggestions appear as you type the server name.
  3. Save. The first connection takes 1 to 3 minutes while the terminal is prepared in the cloud; after that it's instant.

Start with a demo account: everything works the same and you can see how Gemini behaves without risk.

Step 3: what to ask Gemini

Account

  • "Using TraderWAI, what's my MT5 balance and equity, and which positions are open with their floating P/L?"

Analysis

  • "Look at gold (XAUUSD) on H4 and M15. Where are the key levels and what's the structure? Draw them on the chart."

An order you approve

  • "If EUR/USD holds the H1 support, prepare a buy limit with the stop below the last swing low and a 2R target, risking 0.5% of my balance. I'll approve it."

Before any order TraderWAI checks your broker's live price, sizes the trade from your risk and checks your risk limits. By default the order waits for your approval in TraderWAI (you get a notification); it is only sent on its own if you turned on auto-execution for that symbol.

A backtest

  • "Backtest buying the London breakout of the Asian range on EUR/USD over the last 14 days, stop at the other side of the range, 2R target."

A rule that watches for you

  • "On my open gold trade, move the stop to break-even when it's 1R in profit." TraderWAI checks conditional rules every minute, even with Gemini closed.

If it doesn't work

  • No "Custom apps" in Connected Apps. Your account doesn't have the beta yet (plan, country, language or a work account). Use Gemini CLI, or the same TraderWAI account with Claude or ChatGPT, which work on their free plans.
  • Gemini doesn't use the TraderWAI tools. Start a new chat and name it in your request ("Using TraderWAI…").
  • "The MetaTrader server was not found". The server name must match MT5 character by character, including -Demo, -Live or the number. Copy it from the MT5 login window.
  • "MetaTrader rejected the login or password". Use the master password: the investor password is read-only and can't place orders.

Common questions

Is TraderWAI made by Google or MetaQuotes? No. TraderWAI is an independent service that works with Gemini through the open MCP standard and connects to your broker's MetaTrader server.

Does Gemini see my MT5 password? No. Credentials are stored encrypted on TraderWAI and are never shown to the AI.

Do I need to keep MetaTrader 5 open? No. The connection runs in the cloud; your terminal and computer can be off.

Can Gemini trade without me? Only if you turn on auto-execution for a symbol, with your own size and daily caps. By default every order waits for your approval, and your risk limits (max lots, open positions, trades per day, daily loss) are checked before each one. Gemini can read the limits but never change them.

Can I try without paying? Charts, analysis and backtests are free. To try orders on the Free plan, connect a cTrader, TradeLocker or Match-Trader demo; MetaTrader starts with the Trader plan. There are no free trials, and the first month of any paid plan is 50% off.

Using another AI?

The steps are almost the same with other AIs, and the same TraderWAI account works with all of them:

  • How to connect Claude to MetaTrader 5 (step by step)
  • How to connect ChatGPT to MetaTrader 5 (step by step)
  • How to connect Grok to MetaTrader 5 (MT5)
Trading CFDs and forex involves a high risk of losing money. TraderWAI is a technology tool: it does not provide investment advice, AI analysis is not a recommendation and past backtest results don't guarantee future results. You decide every order.

Try it with your own AI

Connect Claude or ChatGPT to your broker in a few minutes. Free plan, no card.

Start free

Questions or ideas? Talk with us in our Telegram community

Trading leveraged products carries a high risk of loss. TraderWAI is a technology tool: it is not investment advice and it is not a broker.

Keep reading

Guides
Can ChatGPT backtest a trading strategy? Yes, on real 1-minute data
Guides
How to connect Claude or ChatGPT to MetaTrader 4 (MT4)
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
  • 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