Skip to main content

Using the AI assistant in MetaTrader 5

Discover the AI assistant in MetaTrader 5: setup requirements, key features like trade analysis and EA code writing, and built-in safety controls.

MetaTrader 5 now includes an AI assistant that works directly inside the terminal. You can describe what you want in plain language and the assistant does the work for you: reviewing your past trades, scanning the market, or writing and testing a strategy. This article explains what it is, how to turn it on, and what to keep in mind.

What it is

The AI assistant is a built-in feature of MetaTrader 5. It is not a separate app or a third-party add-on: it comes with the platform and arrives as a normal terminal update.

Unlike a regular chatbot that only replies with text, the assistant can carry out a task from start to finish. You state what you need in your own words, and it decides which data to look at, reads your account history, opens charts, and prepares a result. You stay in control the whole time and make the final decisions.

What you can use it for

  • Review your own trading. Ask it to look at your recent trades and it will pull your history, summarise it, and point out patterns you might miss, such as trades left without a stop loss or costs that quietly add up over time.

  • Scan the market. Ask it to go through the instruments in your Market Watch and it will compare their daily ranges and where each one is trading, then open the relevant charts for you.

  • Understand charts and the platform. If you are new, you can ask it to explain what you are looking at instead of figuring out every indicator on your own.

  • Write and test a strategy. You can describe a trading idea in plain words — even a short description is enough — and the assistant will write the code for an Expert Advisor and help you set up a test. You compile it yourself (press F7 in MetaEditor), after which you can run the strategy against historical data in the Strategy Tester, so you can see how it would have performed before risking anything.

Before you start: requirements

The assistant needs a few things to appear in your terminal. If you do not see it, this is usually why:

Platform version

Build 6060 or newer. The assistant is delivered through the platform's Live Update, so make sure your terminal is fully updated.

Account

An MQL5.community account. The free MQL5 Lite plan is enough and is available to everyone.

Trading account

Any account works, including a demo account — so you can try the assistant without risking real funds.

How to turn it on

  1. Update your terminal. The assistant is included in recent builds of MetaTrader 5. Make sure your terminal is on the latest version — it updates through the platform's own Live Update.

  2. Sign in with an MQL5.community account. The assistant works once you are signed in to your MQL5.community account inside the terminal. If you do not have one yet, you can create it for free.

  3. Open the assistant. The assistant panel appears in the terminal (and in MetaEditor if you work with code). On first launch it shows a short notice about how it works — read it before you start.

  4. Start with a question. Type a task in plain language, for example "review my recent trades and tell me what I did wrong" or "scan my Market Watch and show me which instruments are at the top and bottom of their daily range."

The assistant panel in the terminal on first launch. The notice shown is the platform's own message explaining how the assistant works and that you stay responsible for checking its output.

The base plan is currently free

By default the built-in assistant runs on the MQL5 Lite plan, which is currently free — the platform sets up the access for you, and there is nothing extra to configure. The free plan has usage limits, and the platform's developer has said paid subscription tiers are planned, so terms may change over time. If you prefer a different AI provider, the terminal settings let you add your own key, but that is optional and not needed to get started.

Is it safe?

You stay in control: you decide how much the assistant is allowed to do. The controls are separate from each other, so you can open only what you are comfortable with:

  • You choose whether it can trade at all. The assistant can be kept as an analyst that only looks and advises, with trading fully switched off. If you do allow trading, you can require manual confirmation for every single action.

  • It cannot deposit or withdraw funds. The assistant has no deposit or withdrawal commands at all — money operations are simply not something it is able to do, regardless of your settings. On top of that, access to your money and access to trading are governed by separate settings and passwords, so the two are kept apart.

Tools → Options → AI Assistant, where you choose the AI provider and model and set the Trading and Web permissions. Trading can be turned off entirely, leaving the assistant as an analyst only.

Please do not type sensitive details into the chat

To produce a response, the platform may send information such as your prompts, conversation, market data, account and trading context, code and test results to the AI provider. Whatever your settings, treat the chat as a channel that leaves your machine: do not enter passwords, access keys, or payment details into the assistant conversation.

What to keep in mind

The assistant is a helpful tool, not a guarantee. A few honest limits worth knowing:

  • It can make mistakes. It sometimes miscalculates values or misreads an instrument's settings, so always check its output before you act on it.

  • Its answers are informational. Responses are not investment advice. Decisions, and their consequences, remain yours.

  • Profit is not guaranteed. A tested strategy can still lose. Testing shows you how an idea would have behaved — it does not promise future results.

The best way to think about it

The assistant takes over the routine — reviewing trades, scanning the market, writing and testing ideas — so you spend less time on manual work and more time deciding. The decisions stay with you.

Frequently asked questions

Do I need to be a programmer to use it?

No. You describe what you want in plain language. The assistant can write all the code for a trading strategy from a plain-language description.

Will the AI trade for me automatically?

Only if you allow it to, and only within the limits you set. By default it does not place trades. You can keep it as an analyst, or require manual confirmation for every action.

Does it cost extra?

The built-in assistant currently runs on a free base plan (MQL5 Lite) with usage limits, and setup is handled by the platform. The platform's developer plans to introduce paid tiers later. Using your own external AI provider is optional and would follow that provider's terms.

Can it access my money?

No. The assistant has no deposit or withdrawal commands at all — moving money is simply outside what it can do, whatever your settings. Money access and trading access are also controlled separately by different passwords.

What happens to my data?

To answer your requests, the platform may send information such as your prompts, conversation, market data, account and trading context, code and test results to the AI provider. If you connect your own external AI provider, that provider's terms apply to how your data is handled. In all cases, avoid typing passwords, access keys or payment details into the chat.


This article is informational and does not constitute investment advice. Trading involves risk. AI-generated results should always be verified before you act on them.

Did this answer your question?