Home Using MTContext Checking prices, bars, and account state

Checking prices, bars, and account state

Last updated on Jul 25, 2026

The safest way to get comfortable with MTContext is to start with questions that only read your terminal — live prices, your account balance, your open positions. None of these touch a trade, none of them need confirmation, and all of them work on the free tier. This article covers what you can ask for and the tools behind it.

Live prices and spreads

Ask your AI things like "What's the current price of EURUSD?" or "What's the spread on XAUUSD right now?" Behind the scenes this calls get_tick, which returns the current bid, ask, and spread for a symbol. It's the fastest way to confirm your terminal is connected and streaming live data.

Historical bars

For chart data, ask "Show me the last 200 H1 bars for EURUSD." That maps to get_bars, which returns OHLCV (open, high, low, close, volume) candles for a symbol and timeframe — anything from M1 up to MN1. This is the raw material an AI uses when you ask it to analyse a chart.

What's in your Market Watch

"What symbols do I have in Market Watch?" calls get_symbols and lists everything available on your terminal. To get the contract spec for one symbol — lot size, swap rates, digits — ask about a specific instrument and it calls get_symbol_info.

Your account and positions

You can check the state of your account without opening MetaTrader:

  • "What's my balance and equity?"get_account_info (balance, equity, margin, leverage, currency).

  • "What positions do I have open?"get_positions, with live profit and loss per position.

  • "Do I have any pending orders?"get_orders.

  • "Show my closed trades from last week."get_trade_history, with an optional date range.

One call for a full picture

If you want a symbol's whole picture at once, ask for a snapshot: "Give me a market snapshot of GBPUSD." The get_market_snapshot tool returns the current tick plus a set of indicators across up to four timeframes in a single call — it replaces five to eight separate requests when you're sizing up an instrument.

Why start here

Everything on this page is read-only — there's no way for these requests to place, modify, or close a trade. It's the ideal place to confirm your setup works and to see how your AI calls MTContext tools before you move on to analysis or trading.

Next steps

Ready to go further? See Running technical indicators through chat for analysis, and Sizing positions by risk, not lots when you start planning trades. New here? Start with the Quickstart article.

Start free at mtcontext.com — the free tier covers everything on this page.