Back to blog
Automation
AutomationOct 1, 2026 · 7 min read

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?

PraxAIPraxAI™

The AI trading system that passes prop firm challenges and protects your funded accounts, hands free. Join 2,000+ traders running it today.

7-Day Money-Back
Secure Payment
Instant Delivery

Legal Disclaimer

PraxAI is not a broker and not a prop firm, and we do not open or provide trading accounts. Our software is not affiliated with, endorsed by, or sponsored by any of the prop firms named on this site; those names appear for compatibility reference only. Trading forex and leveraged products carries significant risk and is not suitable for every investor, so weigh your financial situation and risk tolerance carefully before trading. The bot and all material on this site are provided for educational and informational purposes only and do not constitute financial, investment, or trading advice. PraxAI is not a licensed financial advisor and does not provide advisory services.

Not Affiliated With Meta / Facebook

This site is not part of the Facebook or Meta websites and is not endorsed by Meta Platforms in any way. FACEBOOK is a trademark of Meta Platforms, Inc.

Earnings & Risk Disclaimer (U.S. Government Required)

Trading forex on margin offers large potential rewards but also a high level of risk. You must be aware of those risks and willing to accept them before trading the forex markets. Do not trade with money you cannot afford to lose. No representation is made that any account will, or is likely to, achieve profits or losses similar to anything discussed on this site. The past performance of any system or methodology is not necessarily indicative of future results.

CFTC Rule 4.41(b)(1) / NFA Rule 2-29

SIMULATED OR HYPOTHETICAL PERFORMANCE RESULTS HAVE INHERENT LIMITATIONS. UNLIKE AN ACTUAL TRACK RECORD, THESE RESULTS DO NOT REPRESENT REAL TRADING, AND BECAUSE THE TRADES WERE NOT ACTUALLY EXECUTED THEY MAY HAVE UNDER OR OVER COMPENSATED FOR MARKET FACTORS SUCH AS LACK OF LIQUIDITY. HYPOTHETICAL PROGRAMS ARE ALSO DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES LIKE THOSE SHOWN. IN PRACTICE THERE ARE OFTEN SHARP DIFFERENCES BETWEEN HYPOTHETICAL RESULTS AND THE ACTUAL RESULTS LATER ACHIEVED BY ANY TRADING PROGRAM. HYPOTHETICAL TRADING ALSO INVOLVES NO FINANCIAL RISK, AND NO HYPOTHETICAL RECORD CAN FULLY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN REAL TRADING.

Trading on a live account can lose real money, and the owners of PraxAI (praxai.io) cannot be held accountable for any losses that may occur, including losses arising from possible software bugs, glitches, or malfunctions.

PraxAI and its owners assume no responsibility for errors, inaccuracies, or omissions in these materials and do not warrant the accuracy or completeness of any information, text, graphics, links, or other items contained in them. PraxAI and its owners are not liable for any special, indirect, incidental, or consequential damages, including lost revenue or lost profits, that may result from these materials.

We assume you are legally permitted to purchase and use our products. Following the global and local laws and regulations that apply to you is your responsibility, and we cannot be held responsible for any damages or legal action against you arising from those regulations.

All information on this website, and any software or guide purchased from it, is for educational purposes only and is not intended as financial advice. Any statement about profit or income, express or implied, is not a guarantee. Your own trading may result in losses, as no trading system is guaranteed. You accept full responsibility for your actions, trades, and any profit or loss, and you agree to hold PraxAI (praxai.io) and any authorized distributors of this information harmless.

Important Notices

Risk of loss: forex trading carries a high level of risk and may result in the loss of your entire investment. No guarantees: past performance does not indicate future results, and there is no assurance you will achieve the same outcomes. Liability: we are not responsible for any losses incurred from using this bot, and by using it you agree to hold us harmless from any and all liabilities or damages. None of our services or information should be considered financial advice. All rights reserved. Using this website or its contents means you accept this disclaimer.

© 2025 PraxAI™ · All rights reserved.