How to connect Grok Bot to MetaTrader 5
With TraderWAI, Grok Bot 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.
Step 1: add TraderWAI to Grok Bot
Included with X Premium and higher, and with Cursor Pro. Works on web and mobile.
- Open your Bot in Grok Bot.
- Paste this in the chat: «Add the remote MCP server https://mcp.traderwai.com»
- Tap «Connect» on the card it shows and sign in with Google or Microsoft (if you don't have a TraderWAI account yet, it is created at this step).
- Ask it, e.g. «Show me the gold H1 chart with TraderWAI» or «Backtest this strategy on EUR/USD».
Ready-made bot: describe a strategy and it backtests it on 1-minute data and marks the trades on the chart. You still connect TraderWAI with the phrase above.
Checks a trade before you place it: chart, news and a quick backtest; it only places the order if you confirm, always with a stop loss.
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 Grok Bot
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 Grok Bot 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 Grok Bot as an MCP server. Grok Bot 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 Grok Bot 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 Grok Bot for your balance and open positions to check the connection, then for a chart or an order.
Example prompt for Grok Bot
«Check my MT5 account and show me gold (XAUUSD) on H1 with the key levels. If price pulls back to support, prepare a buy limit with a stop loss below it and a 2R target, risking 0.5% of my balance.»
Every order carries a stop loss, 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 Grok Bot 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.
How do I add TraderWAI to Grok Bot?
Open your Bot and paste in the chat: «Add the remote MCP server https://mcp.traderwai.com». Grok Bot shows a connect card: tap «Connect» and sign in with Google or Microsoft. Your MetaTrader 5 account connected in TraderWAI is then available to your Bot.
Which plan do I need for Grok Bot?
Grok Bot is included with X Premium and higher, and with Cursor Pro. Without it, your MetaTrader 5 account connected in TraderWAI works the same with Claude or ChatGPT, including their free plans.
Is it free to connect Grok Bot to MetaTrader 5?
Charts and analysis are free. Trading on MetaTrader 5 requires the Trader plan ($29/month).
Does Grok Bot 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
Grok Bot with other platforms
- How to connect Grok Bot to MetaTrader 4
- How to connect Grok Bot to TradeLocker
- How to connect Grok Bot to cTrader
- How to connect Grok Bot to Match-Trader
- How to connect Grok Bot to DXtrade
- How to connect Grok Bot to Capital.com
- How to connect Grok Bot to eToro
- How to connect Grok Bot to tastytrade
- How to connect Grok Bot to Binance
- How to connect Grok Bot to Bybit
- How to connect Grok Bot to Toobit
- How to connect Grok Bot 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.