What Is an Expert Advisor in Forex?
Key takeaways
- An expert advisor is a compiled program that runs inside a MetaTrader terminal and acts on rules it was given.
- The EA is the executor. The rules it executes are a separate thing, and they are what decides outcomes.
- Most of an EA's behaviour comes from its settings file rather than from its code, which is why the same program behaves like two different products.
- It has to be running to act, which means a machine that stays on rather than a laptop that sleeps.
- An EA is not artificial intelligence by default, and most of what is marketed as AI in this category is a rules engine.
- Whether you may run one on a prop firm account is answered in that firm's own written terms, not by the software.
The definition, without the marketing
An expert advisor, usually shortened to EA, is a program that runs inside a MetaTrader terminal and can open, modify and close positions on your account according to rules it was written with.
That is the whole of it. The terminal gives the EA price data and the ability to send orders, and the EA decides when to use that ability. It runs on your machine, under your login, on your account.
The file extension tells you the platform. An .mq4 or .mq5 is source that has to be compiled in the matching MetaEditor; the .ex4 or .ex5 is the compiled file you attach to a chart. They are not interchangeable across platforms, which surprises people who buy one and discover their firm issued the other. PraxAI itself runs natively on MetaTrader 5, cTrader and NinjaTrader 8, and there is no MetaTrader 4 build.
The EA is not the strategy
This is the distinction that explains most disappointment in this category.
An EA is a mechanism for executing decisions. The decisions themselves come from the logic it was given: when to enter, how large, where the stop goes, when to stop trading for the day. Two EAs with identical code and different settings behave like two completely different products, and a great deal of the behaviour people attribute to the program actually lives in the settings file.
That file, usually a `.set`, is a short text document you can open and read. What is in it and why it matters more than the robot is in what set files are, and why they make or break your results.
So when someone says an EA does not work, the useful question is whether the logic was sound, whether the settings matched the account, and whether it was ever running when it needed to be.
What is actually inside one
Four parts, in every EA worth the name, whether or not the vendor names them.
An entry condition, which decides when to act. A sizing rule, which decides how large, either a fixed lot or a percentage of the balance. An exit, which is a stop loss, a target, a trailing rule, or some combination. And a set of constraints: hours it will not trade, a maximum number of positions, behaviour around news.
The anatomy in full, including the parts vendors tend not to mention, is in what is actually inside a hands free trading robot.
What an EA does not contain by default is anything that stops it when an account rule is about to break. On a prop firm account that has to be a deliberate addition, which is why it is usually a separate program running alongside.
- Entry: the condition that triggers a trade.
- Sizing: fixed lots or a percentage of balance.
- Exit: stop, target, trailing, or a combination.
- Constraints: hours, maximum positions, news behaviour.
It has to be running, which is the part nobody mentions
An EA only acts while the terminal is open and connected. Close MetaTrader, let the laptop sleep, lose the connection, and it stops making decisions mid position.
This is why automated trading in practice means a machine that stays on, which is a server rather than your computer. It is a real cost that sits outside the price of the software and is left out of almost every demo video.
What to look for and roughly what it costs is in do you need a VPS for a prop firm EA.
An EA is not AI, and most AI in this market is not either
By default an expert advisor is a rules engine: conditions written by a person, executed exactly as written, with no learning and no judgment.
A great deal of what is sold as AI in this category is exactly that with newer branding. This is not automatically dishonest, because a well built rules engine is often the correct engineering choice. It becomes dishonest when it is priced and sold as something else.
There is a short test that tells them apart before you pay, in is any trading bot actually AI, and the wider map of what this software does and does not do is in AI for prop firm trading.
Worth saying plainly: the part of a prop firm setup that halts trading before a limit is breached should be fixed code rather than a model, precisely because a fixed number can be tested and a judgment cannot.
Before running one on a funded or evaluation account
Two things decide whether this is even possible, and both are free to check.
Whether your firm permits automated execution on your account type. It differs between firms, differs between account types inside the same firm, and changes on the firm's schedule. The categories to look for are in prop firms that allow EAs.
And whether the EA's settings match that firm's limits rather than a generic default. A robot running defaults on an account with tighter rules is a breach waiting for a volatile morning, which is the checklist in the rulebook checklist.
If you get that far, the install steps are in how to install an EA on MT5. Trading carries risk, and automation changes how consistently a plan is executed rather than whether the plan was any good.
Frequently asked questions
What is an expert advisor in forex?
A program that runs inside a MetaTrader terminal and can open, modify and close positions on your account according to rules it was written with. It runs on your machine, under your login, and only acts while the terminal is open and connected.
Is an expert advisor the same as a trading strategy?
No. The EA is the mechanism that executes decisions; the strategy is the logic it was given. Two EAs with identical code and different settings behave like two different products, which is why the settings file usually matters more than the program.
What is the difference between MT4 and MT5 expert advisors?
They are different platforms with different languages and the files are not interchangeable. An .ex4 runs on MetaTrader 4 and an .ex5 on MetaTrader 5, so check which platform your account is issued on before buying anything. PraxAI runs natively on MetaTrader 5, cTrader and NinjaTrader 8, with no MetaTrader 4 build.
Does an expert advisor need to stay running?
Yes. It only acts while the terminal is open and connected, so a laptop that sleeps will leave it stopped mid position. In practice that means running it on a server, which is a cost outside the price of the software.
Is an expert advisor artificial intelligence?
By default no. An EA is a rules engine executing conditions written by a person, with no learning and no judgment. Much of what is marketed as AI in this category is exactly that, which is not dishonest in itself but is worth checking before paying.
Want the bot that runs this discipline for you?