Forex glossary

MetaTrader 4 (MT4)

MetaTrader 4 is MetaQuotes' platform for charts, analysis, order entry and MQL4 automation. It uses accounts and market data supplied by a broker. Instruments, charges and execution are not determined by the platform alone; MQL5 programs for MT5 do not run unchanged in MT4.

Illustrative example

How does it work in practice?

Assume an MT4 demo account offers EUR/USD and an EA compiled as an EX4 file. An EX5 file from MT5 cannot run there; an identical strategy name does not provide program compatibility.

A case to work through

Correct software, wrong server

Hypothetically, login details belong to demo server A, but the terminal attempts server B.

  1. Check the account's assigned server name and account type.
  2. For the program, check MQL4/EX4 compatibility rather than only its filename.

What follows? Separate login diagnosis from program diagnosis.

Example boundary: The broker determines terms and available instruments; the platform does not replace its specification.

A useful distinction

MetaTrader 4 (MT4) / MetaTrader 5 (MT5)

MT4 uses MQL4; MT5 uses MQL5 and does not run the same compiled files unchanged.

Check your understanding

Check compatibility between program and account environments.

Which check addresses the login issue?

Show the answer and explanation

The assigned account's server and credentials

These identify the authentication environment.

From a plan to automation tests

Step 5 / 12 · 0 / 12 reviewed

View the full sequence →

Progress is saved only in this browser.

Sources and documentation

  • MetaTrader 4 – platform

    Platform functions and MQL4 automation; broker accounts supply trading conditions.

    Document read:

The example illustrates the mechanism. Check current account conditions and instrument specifications with the provider.

Read this term in Polish →

This definition is unclear — send feedback

Feedback goes to the editorial team. Do not include account details, personal data or contact information.

← Back to the glossary