Skip to content

The EA editor: build your Expert Advisor

You build your Expert Advisor (EA) in the EA editor. It has four columns, one for each part of your EA, and an app bar with everything you do with the EA as a whole.

In short:

  • Experts in the navigation lists your Expert Advisors. Click one to open it in the editor.
  • The four columns: Indicators, Signals, Strategy and Money Management.
  • The app bar: rename, copy, tag, set up or delete the EA, and Run backtest and Export.
  • On a phone or a small screen, the columns become tabs.

Experts in the navigation lists the Expert Advisors of the platform you selected with the platform button (MT4 / MT5) in the app bar.

List of three MT5 Expert Advisors with a search field, a Filters button and the sort order Last modifiedList of three MT5 Expert Advisors with a search field, a Filters button and the sort order Last modified
Your list of Expert Advisors, with search, Filters and the sort order.
  • Search: finds Expert Advisors by name.
  • Filters: show only the Expert Advisors with a tag, or created in a period (Today, Last 7 days, Last 30 days, This year, or your own dates).
  • Sort: Last modified, Newest, Oldest, Name A–Z or Name Z–A.
  • Click an Expert Advisor to open it, or the open-in-new icon to open it in a new window.
  • + Add Expert Advisor starts a new one: see Add a new Expert Advisor.

You can add tags to your Expert Advisors to organize them, for example by strategy (trend, range) or by status (testing, live). Then filter your list by tag.

  1. Open your Expert Advisor and click the Tags icon (#) in the app bar. On a phone: More actions (⋮) > Tags.
  2. The Tags panel opens. Type a tag in Add tag….
  3. Press Enter or a comma to add it. Choose a tag you used before from the suggestions, or Create ”…” for a new one.
Tags field with the tag range, the text Add tag and the hint Press Enter or comma to add a tagTags field with the tag range, the text Add tag and the hint Press Enter or comma to add a tag
The Tags panel of an Expert Advisor with the tag 'range'.

To remove a tag, click its ⊗.

  1. Click Experts in the navigation, then Filters above your list.
  2. Under Tags, select one or more tags.
  3. Click Apply. The list only shows the Expert Advisors with at least one of those tags. Reset shows all of them again.
Filter expert advisors panel with the tags range and trend, and Created: Any time, Today, Last 7 days, Last 30 days, This yearFilter expert advisors panel with the tags range and trend, and Created: Any time, Today, Last 7 days, Last 30 days, This year
Filter expert advisors: by tag, or by when they were created.
EA editor of Bollinger Bands MT5 with the app bar and four columns: Indicators, Signals, Strategy and Money ManagementEA editor of Bollinger Bands MT5 with the app bar and four columns: Indicators, Signals, Strategy and Money Management
The EA editor: the app bar and the Indicators, Signals, Strategy and Money Management columns.

Each column has a ? that opens its help next to the editor.

The indicators your EA uses, such as Bands or a custom indicator you uploaded. Add indicator adds one. See Add an indicator to your EA.

The four signals: Open Buy and Open Sell (Entry), Close Buy and Close Sell (Exit). Click a signal to edit its conditions; the switch turns it on or off. See Signals and conditions.

The strategy modules, in three groups: Modules for closing, Modules for opening and Modules which prevent opening. Add module adds one. See Strategy Modules.

The money manager that decides the lot size of each order, with a summary of its settings. Switch money manager chooses another one. See Money Management.

Above the columns, from left to right:

  • ← (Go back to your Expert Advisor list), and the name of the EA with its platform.
  • Rename: give the EA another name. Names are unique.
  • Copy: make a copy of the EA under a new name, for example to try a change.
  • Tags (#): see Tags.
  • Settings: where Stop Loss and Take Profit are managed, and Lock Expert Advisor. See Settings.
  • Delete: delete the EA.
  • Help (?): the help of the whole Expert Advisor.
  • Run backtest: test the EA in the cloud. See Run a backtest.
  • Export to MetaTrader 4 / 5: download the EA. See Export to MT4 / MT5.

A locked EA has no Rename and Delete, and shows a lock icon next to its name.

EA editor on a phone with the tabs Indicators, Signals, Strategy and Money Management, and an Add indicator buttonEA editor on a phone with the tabs Indicators, Signals, Strategy and Money Management, and an Add indicator button
The EA editor on a phone: the columns are tabs.
  • The four columns become tabs. Tap a tab to switch.
  • The button at the bottom adds an item to the open tab: Add indicator or Add module.
  • The export icon opens the export options at the bottom of the screen.
  • More actions (⋮) has the rest of the app bar: Run backtest, Rename, Copy, Tags, Settings, the help and Delete.

An EA only opens trades when Open Buy or Open Sell has a condition. When you run a backtest or export an EA without one, the dialog Your Expert Advisor doesn’t open trades yet tells you so:

  • Open Buy opens a trade that profits when the price rises.
  • Open Sell opens a trade that profits when the price falls.

Click Add condition to open the Open Buy signal and add one, for example: an indicator crosses above a level. See Signals and conditions.

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