FOUNDATIONS / LEARN

What is an Expert Advisor?

What an EA automates, what still needs judgment and what to clarify before testing.

DEFINITION

An Expert Advisor (EA) is a MetaTrader program that can monitor and execute defined trading workflows. An EA is software, not evidence of a profitable approach.

From observation to rule

“Buy in a strong trend” is not a specification. When is the trend measured? Which data is available then? What happens on a second signal, with an open position or after an order rejection? An implementation needs explicit answers.

Separate signals, execution and risk

A useful design separates the trading idea from order handling. Risk logic may constrain position size or concurrent positions. Those boundaries must remain clear after connection failures or restarts. A technically successful order says nothing about signal quality.

An indicator is not a trading system

An indicator may display an observation without defining a trade. An EA also needs position state, exits and error handling. TradingView strategies initially simulate execution in a broker emulator; a live connection needs a separate execution architecture.

A practical example

Specification example, not a trade recommendation: evaluate the signal only after a bar closes. Do not open another entry when a position exists. Log every rejected order. These three rules remove ambiguity without claiming a profitable strategy.

For your next test

  • Define market, time zone and evaluation timing.
  • Describe entries, exits and exceptions.
  • Test restarts, duplicate signals and order errors.

Common question

Does every EA place trades?

No. A program can monitor or assist without placing orders. Its specification determines its behavior.

Sources & further reading

Educational content, not investment advice. Numerical examples are hypothetical, not results of a REVENQOR system.

Continue learning

What makes a backtest useful? →

Lookahead bias: when a test knows the future →

Explore Systems Lab ↗

Have your strategy reviewed systematically →