Add a new Expert Advisor
In short:
- Choose the platform first:
MT4orMT5, 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.
Choose MT4 or MT5 first
Section titled “Choose MT4 or MT5 first”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.


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.
MetaTrader 4
Section titled “MetaTrader 4”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.
MetaTrader 5
Section titled “MetaTrader 5”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.
Add the Expert Advisor
Section titled “Add the Expert Advisor”Then click the + Add Expert Advisor button in the Expert Advisors section of your account.


Select a method
Section titled “Select a method”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.


Select a template
Section titled “Select a template”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.


Describe your EA
Section titled “Describe your EA”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.


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.Write a good description
Section titled “Write a good description”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.
Name your Expert Advisor
Section titled “Name your Expert Advisor”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.


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.


Related
Section titled “Related”- The EA editor: find your way around your new EA
- Build your EA: a complete EA, step by step
MetaTrader is a registered trademark of MetaQuotes Ltd. EA Builder Pro is not affiliated with MetaQuotes.