Skip to content

Add a new Expert Advisor

In short:

  • Choose the platform first: MT4 or MT5, with the platform button in the app bar.
  • Click + Add Expert Advisor and choose how to start: Template, Blank or AI Agent.
  • Give your EA a name. It opens in the EA editor.

EA Builder Pro supports 2 platforms:

  • MetaTrader 4
  • MetaTrader 5

EA Builder Pro works with one platform at a time. The platform button in the app bar shows the platform you are in, MT4 or MT5. Click it and choose MetaTrader 4 or MetaTrader 5. The button is at the top right, just before your account icon, on a computer and on a phone.

Platform button in the app bar with its menu: MetaTrader 4 and MetaTrader 5Platform button in the app bar with its menu: MetaTrader 4 and MetaTrader 5
Choose the platform with the MT4 / MT5 button in the app bar

The whole app follows the mode you choose:

  • Experts, Indicators and Backtest only show the items of that platform.
  • The templates, and every new Expert Advisor you add, use that platform.
  • When you upload a Custom Indicator, only files of that platform are accepted: .mq4 / .ex4 in MT4 mode, .mq5 / .ex5 in MT5 mode.

Your mode is saved in your account, so you get the same mode on another device. If you switch while an EA (or another detail page) is open, you go back to the list of that section. An EA always keeps its own platform: to see your MT4 EAs, switch to MT4.

Your new EA gets the platform of the mode you are in. Before you click + Add Expert Advisor, check the platform button in the app bar (MT4 or MT5) and switch if needed. The wizard itself doesn’t ask for a platform.

The classic platform for trading forex, CFDs, and futures. It is widely used by traders and has a large community of developers who create custom indicators and expert advisors.

The next generation platform for trading forex, CFDs, and futures. It has more features than MetaTrader 4, including support for more asset classes, more timeframes, and more order types. It also has a more modern user interface and is more suitable for algorithmic trading.

Then click the + Add Expert Advisor button in the Expert Advisors section of your account.

Add a new EAAdd a new EA
Add a new expert advisor to your account

The wizard starts with this step. You can start building your EA in different ways.

  • Template - Choose from a list of predefined EAs. The quickest start: a template EA trades from the start.
  • Blank - Start with a blank EA and build it from scratch: you add the Indicators, Signals, strategy and Money Management yourself, with full control over how your EA works.
  • AI Agent (Beta, Pro) - Describe your EA in your own words, and the AI Agent builds it.
Choose how to start EAChoose how to start EA
Choose how you want to start building your expert advisor

If you choose to start with a template EA, you will start with a pre-built EA that contains some basic functionality. You can then customize the EA to your liking by adding or removing components. This is a good option if you want to get started quickly and don’t want to build everything from scratch. The list only shows the templates of the platform you have selected.

The templates already have their Indicators, Signals, strategy and Money Management set up. Some templates are labeled Pro: they are not available on the Free Plan. Upgrade your plan to use them.

Choose a template EAChoose a template EA
Choose a template for your expert advisor

If you choose to start with an AI Agent, you will be able to interact with an AI agent that can help you build your EA. This is a good option if you want to build an EA quickly and don’t want to worry about the technical details. Just write down your requirements in your native language and the AI agent will do the rest.

The AI Agent is in beta: it is still being developed and improves constantly, but you can already use it. It is a Pro feature, so you need a paid plan. Read how the AI Agent works.

Describe your requirements to AI agentDescribe your requirements to AI agent
Describe your requirements to the AI agent

Write your strategy in the Description field. Describe when to open and close trades. Include your timeframe, stop loss, take profit and lot size. You can also add other rules, such as trading hours. Then click Next. Use example fills in an example:

Use the 1-hour (H1) chart.
Enter a long trade when the Stochastic main line (14, 3, 3) crosses above 20.
Enter a short trade when the Stochastic main line (14, 3, 3) crosses below 80.
Stop Loss: 30 pips.
Take Profit: 30 pips.
Lot size: 0.01.
Allow at most one open trade at a time.

The more exact your description, the closer the EA comes to what you mean:

  • When to open: the indicators with their settings, and the condition for a buy and for a sell. For example: “the 50 SMA crosses above the 200 SMA”.
  • When to close: a close condition, a stop loss and a take profit, in pips or as a percentage.
  • Lot size: for example a fixed lot size of 0.1, or 1% risk per trade.
  • Restrictions: for example only between 8:00 and 17:00, or at most one open trade.

Always check the result in the EA editor and run a backtest: the AI Agent is in beta and can misunderstand a description. Change whatever is not right yourself.

In the last step you give your EA a name. The name is unique: two of your Expert Advisors can’t have the same name. When you export your EA, the name is both the file name and the name shown in MetaTrader. With a template, the name of the template is filled in.

Give EA a nameGive EA a name
Give your expert advisor a name

Below the name you see a summary of your choices: the platform and the template, Blank, or the description from the AI Agent. Click the Add Expert Advisor button to create your EA. You are then taken to the EA editor, where you can start building your EA.

Finish creating EAFinish creating EA
Finish creating your expert advisor

MetaTrader is a registered trademark of MetaQuotes Ltd. EA Builder Pro is not affiliated with MetaQuotes.