Install the Pullback app on your phone

Expert Advisor (EA)

An Expert Advisor is an automated program on a trading platform, commonly MetaTrader, that can place or manage orders from coded rules. It is not a signal, and results are not guaranteed.

On this page
  1. How an Expert Advisor Works
  2. A Simple Example
  3. Practical Point
Expert Advisor (EA)

An Expert Advisor is an automated program that runs on a trading platform, commonly MetaTrader, and can place, manage, or close orders from coded rules, without each click being made by hand. It is not a signal, and not a forecast. An EA does not guarantee a profit, and it does not remove the chance of a loss. The program can fail, lag, disconnect, or be fitted too closely to past prices, so a live result can differ from a test. MetaTrader 4 and 5 has its own page.

How an Expert Advisor Works

The coded rules decide when an order may be sent, how large it may be, and where a stop or a take profit may be placed. The platform must be running, and the connection to the broker must be up, for those rules to act as written. If the platform is closed, the connection drops, or the program stops, the EA cannot place new orders or change a position. A stop loss or take profit already accepted by the broker is typically stored on the trade server and can still apply. A close or a trailing change that the EA only manages on the platform may not be sent. A test on past prices can look tidy and still fail in live conditions, especially if the rules were fitted to that past sample. There is no single required design that every EA must use, and there is no universal performance figure that applies to all of them.

A Simple Example

Suppose the account equity is 10,000.00 and 1% is 100.00. An illustrative EA is set to open a long of 50.00 units at 100.00, with a planned stop at 98.00 — not a live program and not a recommended rule. If a broker-accepted stop is filled at 98.00, the loss is (100.00 − 98.00) × 50.00, or 100.00. If the EA only closes the position itself, with no server-side stop, and the platform then disconnects, that close may not be sent. A later fill at 97.00 would be (100.00 − 97.00) × 50.00, or 150.00, which is 50.00 more than the plan. Those prices are not a reason to buy or sell, and they are not a record of any live EA. Fees and slippage can change the result even when a server-side stop is in place.

Practical Point

A common mistake is to treat a past test as a forecast of live results, or to leave an EA running without a way to see whether it is still connected. Another is to treat the program itself as a signal, or as a substitute for a written risk limit. Use an Expert Advisor only with a clear planned risk, and treat it as a program that can fail, not as a signal.

Updated Dec 1, 2026

More in Platforms