How to connect Claude to your HFM account
With TraderWAI, Claude 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 Claude in 2 minutes — free1. Add TraderWAI to Claude
Works on claude.ai, the desktop app and mobile (connectors sync across them).
- In Claude go to Settings → Connectors.
- Click «Add custom connector».
- Name: TraderWAI. URL: https://mcp.traderwai.com.
- Click «Add», then «Connect». Sign in with Google and authorize access.
- In the chat, enable TraderWAI from the tools button.
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: Claude + 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: Claude + MetaTrader 4 →The platforms each firm offers can change; check which one your account uses in your HFM dashboard.
3. Ask Claude
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 Claude
«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 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).
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 Claude 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 Claude: 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.
Do I need a paid Claude plan to use HFM?
No. Custom connectors work on every Claude plan, including Free, and the free plan allows one custom connector, which is all TraderWAI needs. Add it once on claude.ai or the desktop app and it also works in the Claude mobile app. The TraderWAI plan you need depends on the platform, as explained above.
Claude says it can't see my HFM account. What do I check?
Make sure TraderWAI is switched on in that chat (tools button) and that the account appears in TraderWAI → Settings → Broker accounts. Then ask «Which broker accounts do I have?» to confirm Claude sees it.
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 ChatGPT to your HFM account
- How to connect Grok to your HFM account
- How to connect Grok Bot to your HFM account
- How to connect Gemini to your HFM account
- How to connect Perplexity to your HFM account
- How to connect Grok Build (Cursor) to your HFM account
TraderWAI is independent software and is not affiliated with HFM. Trading involves risk; TraderWAI does not provide investment advice.