How to connect Grok Bot to your HFM account
With TraderWAI, Grok Bot can read live charts, check your HFM account and prepare orders with stop loss and take profit that you approve. Setup takes a few minutes.
Connect HFM to Grok Bot in 2 minutes — free1. 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.
2. Connect your HFM account
In TraderWAI, add your HFM 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 Bot + 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 Bot + MetaTrader 4 →The platforms each firm offers can change; check which one your account uses in your HFM dashboard.
3. Ask Grok Bot
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.»
HFM with your AI, step by step
HFM accounts connect to TraderWAI as MetaTrader 4 or MetaTrader 5 accounts; HFM WebTrader and the HFM App use the same accounts but are not connected directly. TraderWAI is the MCP server in the middle: your AI talks to TraderWAI, and TraderWAI talks to your HFM MT4/MT5 account from the cloud, with no EA to install.
- Add https://mcp.traderwai.com to your AI as a custom connector (MCP server).
- Find the account ID, trader's password and server in the email HFM sent when you opened the account (for example HFMarketsGlobal-Live1). MT4 and MT5 have separate credentials.
- In TraderWAI go to Settings → Broker accounts → Add account → MetaTrader and enter them exactly. The first connection takes 1–3 minutes.
- MetaTrader accounts are included in the Trader plan; charts and analysis are free on every plan.
Example prompt for Grok Bot
«Check my HFM MT5 account: balance and open positions. Then show me EUR/USD on H1 and, if price holds above the last swing low, prepare a buy with the stop below it, risking 0.5% of my balance. I'll approve it.»
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).
HFM and TraderWAI: what to know
- HFM offers MetaTrader 4 and MetaTrader 5, plus HFM WebTrader and the HFM App, which work with the same accounts. TraderWAI connects your HFM MT4 or MT5 account.
- Your trading account ID, trader's password and server arrive by email when you open a live or demo account. MT4 and MT5 credentials are separate: each platform has its own.
- HFM servers are numbered, for example HFMarketsGlobal-Live1 or HFMarketsGlobal-Demo for MT5 and HFMarketsSV-Live Server 3 for MT4; type the one from your email exactly.
- HFM symbol names carry a suffix that depends on the account type, for example EURUSDc on Cent or EURUSDr on Pro accounts, and none on Premium. Ask your AI to list symbols if one isn't found.
- HFM demo accounts come with virtual funds, so you can try your AI on a demo first.
What Grok Bot can do with your HFM 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.
HFM and Grok Bot: questions
My symbol has a different name at HFM. Is that a problem?
No. HFM adds a suffix that depends on the account type (for example EURUSDc on Cent accounts and none on Premium). If a symbol isn't found, ask your AI to list your account's symbols.
Can I try it on an HFM demo first?
Yes. HFM demo accounts come with virtual funds and connect like a live one, with the demo server from your email. MetaTrader connections, demo included, are part of the Trader plan.
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 HFM 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 HFM account connected in TraderWAI works the same with Claude or ChatGPT, including their free plans.
Can I connect Claude or ChatGPT to HFM?
Yes. Add TraderWAI to Claude or ChatGPT (free plans work) and connect your HFM MT4 or MT5 account with its account ID, trader's password and server. MetaTrader accounts are included from the Trader plan; charts and analysis are free. TraderWAI is independent and not affiliated with HFM.
Which HFM server do I enter?
The one in the email HFM sent when you opened the account (for example HFMarketsGlobal-Live1), written exactly. MT4 and MT5 accounts use different servers and credentials.
Related guides
Other AIs with HFM
- How to connect Claude to your HFM account
- How to connect ChatGPT to your HFM account
- How to connect Grok to your HFM account
- How to connect Gemini to your HFM account
- How to connect Perplexity to your HFM account
- How to connect Cursor to your HFM account
TraderWAI is independent software and is not affiliated with HFM. Trading involves risk; TraderWAI does not provide investment advice.