Algo Trading School

MQL5

MQL5 (MetaQuotes Language 5) is the language in which MetaTrader 5 robots, indicators, and scripts are written. It is close to C++ in syntax and compiles to an .ex5 file that the terminal can execute.

You do not need to write MQL5 to use an EA, but understanding that an EA is just compiled code helps demystify it: every behavior you observe in a robot was explicitly programmed by a person.

Covered in depth in Lesson 01: What an Expert Advisor actually is — and what it isn't.

Related terms

Get new lessons by email

Occasional, plain-language lessons on automated trading — the same tone as everything on this site. No signals, no promises, unsubscribe anytime.

We store your address to send you educational content and nothing else. See the privacy policy.