How to connect Gemini to MetaTrader 5
With TraderWAI, Gemini can read live charts, check your MetaTrader 5 account and prepare orders with stop loss and take profit that you approve. It takes about 2 minutes and you don't need to install anything on your computer.
MetaTrader 5: The most used platform in forex and CFDs, connected through MetaApi.
Complete step-by-step guide: How to connect Gemini to MetaTrader 5 (MT5) →
Step 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.
- Open gemini.google.com and go to Settings & help → Connected Apps.
- Under «Custom apps», click «Add a custom app».
- Paste the server URL https://mcp.traderwai.com and click «Next».
- 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).
- In a new chat, ask, e.g. «Show me the EUR/USD H1 chart with TraderWAI».
Step 2: connect your MetaTrader 5 account
In TraderWAI go to Settings → Broker accounts → Add account and choose 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.
Step 3: ask Gemini
Open a new chat and try, for example:
- «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.»
How Gemini works with MetaTrader 5
MetaTrader 5 has no built-in way to talk to an AI, so TraderWAI prepares your MT5 account in the cloud and exposes it to Gemini as an MCP server. Gemini calls TraderWAI's tools (chart, quote, positions, order) and TraderWAI talks to your broker's MT5 server: no Expert Advisor to install, nothing to run on your computer, and Gemini never sees your password.
- Have your MT5 login (account number), master password and server name ready, with the server exactly as MetaTrader shows it (for example ICMarketsSC-Demo).
- In TraderWAI go to Settings → Broker accounts → Add account → MetaTrader. The first connection takes 1–3 minutes while the terminal is prepared in the cloud; after that it is instant.
- MetaTrader is a premium broker included in the Trader plan ($29/month; any of your 5 accounts can be MetaTrader, 10 on Max). Charts and analysis stay free on every plan.
- Ask Gemini for your balance and open positions to check the connection, then for a chart or an order.
Example prompt for Gemini
«Use TraderWAI to show me EUR/USD on H1 from my MT5 account, list the levels you would watch today and prepare a buy limit at the strongest support with a stop loss and a 2R target.»
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).
What Gemini can do with your MetaTrader 5 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.
Questions
Which MT5 password do I enter?
The master (trading) password. The investor password is read-only and cannot place orders.
Do I need an EA or to keep MetaTrader 5 open?
No. TraderWAI connects to your broker's MT5 server from the cloud: you don't install an Expert Advisor and your MetaTrader terminal can stay closed.
Does it work with a prop firm's MT5 account?
Yes, if your firm uses MT5 and its rules allow this kind of trading. Connect the login and server the firm gives you and set TraderWAI's risk limits (daily loss, drawdown, risk per trade) to match its rules.
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 MetaTrader 5 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 MetaTrader 5 positions with TraderWAI».
Is it free to connect Gemini to MetaTrader 5?
Charts and analysis are free. Trading on MetaTrader 5 requires the Trader plan ($29/month).
Does Gemini place orders on its own?
Only if you want it to. By default every order needs your approval. You can also allow automatic execution for specific symbols, always within the risk limits you set.
Is my MetaTrader 5 account safe?
Your credentials are encrypted (AES-256) and the key is kept on a separate server. TraderWAI only acts on your account as you instruct and never requests withdrawal permissions.
Does it work with demo accounts?
Yes, with demo and live MetaTrader 5 accounts. We recommend starting with a demo.
Related guides
Other AIs with MetaTrader 5
Gemini with other platforms
- How to connect Gemini to MetaTrader 4
- How to connect Gemini to TradeLocker
- How to connect Gemini to cTrader
- How to connect Gemini to Match-Trader
- How to connect Gemini to DXtrade
- How to connect Gemini to Capital.com
- How to connect Gemini to eToro
- How to connect Gemini to tastytrade
- How to connect Gemini to Binance
- How to connect Gemini to Bybit
- How to connect Gemini to Toobit
- How to connect Gemini to OKX
- How to connect Gemini to Kraken
Trading involves risk. TraderWAI is a technology tool: it does not provide investment advice and AI analysis is not a recommendation; you decide every order.