Blog Details

thumb
12 Nov 2026

How to Identify Your EX4 File’s MT4 Build Version and Why It Matters

How to Identify Your EX4 File’s MT4 Build Version and Why It Matters

Meta Description: Learn how to identify your MT4 build version, understand EX4 compiler differences, and discover why build information matters for source-code recovery.

Introduction

If you work with MetaTrader 4 (MT4), understanding your EX4 files and their associated build versions can be important when troubleshooting compatibility problems or investigating source-code recovery.

An EX4 file is the compiled version of an MQL4 program. It may represent an Expert Advisor, custom indicator, script or library. The original MQ4 source code is used to create the compiled EX4 executable.

However, there is an important distinction: the build version of your current MT4 platform is not necessarily the compiler version used to create an EX4 file.

In this guide, we explain how to check your MT4 build, what the major compiler milestones mean, and why this information can be useful when assessing an EX4 file.

1. What Is an MT4 Build Version?

An MT4 build number identifies a particular version of the MetaTrader 4 platform and its development environment.

MetaTrader receives updates that can introduce changes to platform functionality, security, compatibility and the MQL4 development environment.

You can find build information in the platform’s About window.

For example, an installation may display a version similar to:

  • MetaTrader 4.00
  • Build 14XX
  • An associated update date

The exact number depends on the installation and the updates it has received.

Knowing your platform build can help when investigating trading application errors, compatibility issues and differences between older and newer MT4 environments.

2. What Is the Relationship Between EX4 and MT4 Build Versions?

An EX4 file is produced when MQL4 source code is compiled.

The general process is:

MQ4 Source Code → MetaEditor Compiler → EX4 Executable

The compiler transforms the source code into an executable format that MetaTrader 4 can run.

The compiler environment is relevant because MetaTrader and MQL4 have evolved over time. Different compiler generations can produce executables with different technical characteristics.

This is one reason why identifying the likely generation of an EX4 file can be useful when investigating compatibility or source-code recovery.

3. How to Check Your Current MT4 Build Number

Checking your current MT4 build is straightforward.

Follow these steps:

  1. Open MetaTrader 4 on your computer.
  2. Click Help in the top menu.
  3. Select About.
  4. Look for the displayed version and build number.
  5. Check the update information shown in the same window.

Example of the information you may see:

MetaTrader 4.00 — Build 14XX

This identifies the build of the MT4 installation currently running on your computer.

It does not, by itself, identify the compiler version used to create every EX4 file stored on that computer.

4. How to Find Your MT4 Data Folder

The MT4 data folder contains the files and directories used by your terminal, including Expert Advisors, indicators, scripts and other application resources.

To locate it:

  1. Open MetaTrader 4.
  2. Select File from the top menu.
  3. Click Open Data Folder.
  4. Open the MQL4 directory.
  5. Browse the relevant subfolder.

Common locations include:

Folder

Purpose

MQL4/Experts

Expert Advisors

MQL4/Indicators

Custom indicators

MQL4/Scripts

Scripts

MQL4/Libraries

Libraries

MQL4/Include

Include files

This can help you identify where an EX4 application is installed and which related files may be required.

5. Why MT4 Build 600 Matters

Build 600 was a major milestone in the development of MetaTrader 4.

It introduced a substantially revised MQL4 language and a new MetaEditor development environment. It also changed the organisation of application files and the development workflow.

One practical difference involved file locations.

Older MT4 installations commonly used directories such as:

experts

Newer installations use the MQL4 directory structure, including:

MQL4/Experts

This distinction is useful when working with older trading applications, migrating files or troubleshooting installations.

It is also important when researching older EX4 files because applications from different compiler generations should not automatically be treated as technically identical.

6. Why MT4 Build 970 Is Another Important Milestone

Build 970 introduced a documented change to the EX4 executable format to support new MQL4 features.

MetaQuotes explained that EX4 programs compiled with Build 970 and later would not run on older terminal builds.

This is particularly relevant when investigating compatibility between an older MT4 installation and an EX4 file produced by a newer development environment.

However, compatibility and decompilation are different issues. A file that cannot run on an older terminal is not automatically unrecoverable, and a compatible file is not automatically easy to reconstruct.

7. Can You Identify the Exact Compiler Build from an EX4 File?

This is one of the most important questions when investigating EX4 files.

The answer is: not always with certainty.

An EX4 file is a compiled executable, not a normal text document containing an easily readable compiler-version label.

Some technical analysis may reveal compiler-related characteristics or other useful metadata. However, you should not assume that every EX4 file contains a simple, reliable field identifying its exact compiler build.

There is also an important distinction involving the MQL4 compiler macro __MQL4BUILD__.

This macro can provide the compiler build number at compilation time when it is included in the original source code. A program can use it to report compiler information in its logs.

But if the original program did not include code to record this information, you cannot assume that the value can simply be retrieved from every compiled EX4 file.

A responsible technical assessment should distinguish between confirmed information, estimated compiler characteristics and information that cannot be established.

8. How Build Information Can Affect EX4 Source-Code Recovery

When an EX4 file is submitted for source-code recovery, its technical characteristics can influence the assessment.

The compiler generation is one factor that may help determine which analysis approach is appropriate.

Other important factors include:

  • The complexity of the original program.
  • The presence of code protection or obfuscation.
  • The file’s integrity.
  • External libraries and dependencies.
  • The structure of the compiled application.
  • The availability of supporting files.

For example, a simple custom indicator may present a different technical challenge from a complex Expert Advisor with multiple trading functions and external dependencies.

This is why a recovery provider should assess the actual file instead of making assumptions based only on its extension or the current MT4 build.

9. Common Problems Caused by EX4 Compatibility Issues

When an EX4 file is used with an unsuitable or outdated MT4 environment, several problems may occur.

Expert Advisor Does Not Appear

The application may not appear in the expected Navigator section because it is in the wrong folder or is incompatible with the terminal.

EX4 File Does Not Run

The terminal may be unable to execute an application compiled for a newer environment.

Compilation Problems

If you have the MQ4 source code, compiling it with a different MetaEditor environment may produce errors or require code adjustments.

Missing Dependencies

An Expert Advisor or indicator may depend on additional libraries or supporting files that are not present.

Unexpected Trading Behaviour

An application may behave differently because of missing resources, compatibility issues or differences in its operating environment.

These problems do not automatically mean the EX4 file is damaged.

10. EX4 Build Version vs MT4 Terminal Version

These terms are related but should not be confused.

Term

Meaning

MT4 terminal build

Version of the installed MetaTrader 4 platform

MetaEditor/compiler build

Development environment used to compile MQL4 programs

EX4 file

Compiled executable application

MQ4 file

Editable MQL4 source code

MQL4 compiler

Converts source code into an EX4 executable

Your current MT4 installation may be running a recent build even if the EX4 file you received was compiled years ago.

This distinction is important when investigating older trading applications.

11. What Information Should You Provide for an EX4 Assessment?

If you need professional help with an EX4 file, providing useful technical information can make the initial assessment easier.

Where available, include:

  • The EX4 file.
  • The MT4 terminal build displayed under Help → About.
  • Whether the file is an Expert Advisor, indicator or script.
  • Any error messages displayed by the platform.
  • Related DLLs, libraries or supporting files, if you are authorised to provide them.
  • The purpose of the requested analysis.

You should only submit files that you own or have permission to have analysed.

12. Professional EX4 Decompiler and Source-Code Recovery Service

If you have an EX4 file but no longer have access to its original MQ4 source code, professional technical assistance may help you understand the available recovery options.

Our EX4 decompiler service provides assistance with MT4 files, including Expert Advisors and custom indicators.

The process begins with an assessment of the submitted file and its technical characteristics.

Our service focuses on:

  • EX4 file assessment.
  • MT4 compiler-generation considerations.
  • Source-code recovery attempts.
  • Expert Advisor and indicator analysis.
  • Review of reconstructed MQ4 source code.
  • Confidential handling of submitted files.

Some projects may be completed within 1–4 hours, depending on the file’s complexity and technical condition. Other projects may require additional time.

Source-code recovery is not guaranteed, and reconstructed code may differ from the original source.

Contact us to discuss your EX4 file and the available options.

Frequently Asked Questions

1. How do I identify my MT4 build version?

Open MetaTrader 4, click Help, select About, and check the build number displayed in the information window.

2. Does my MT4 build number identify the compiler used for an EX4?

No. Your current terminal build does not automatically establish which compiler version produced an individual EX4 file.

3. Can I find the exact build number inside an EX4 file?

Not necessarily. Some technical characteristics may provide useful indications, but there is no guarantee that every EX4 exposes its exact compiler build.

4. Why is Build 600 important?

Build 600 introduced a substantially revised MQL4 language and a new MetaEditor environment, along with changes to the organisation of MT4 application files.

5. Why is Build 970 important?

Build 970 introduced a documented change to the EX4 executable format. Programs compiled with Build 970 and later would not run on older terminal builds.

6. Can an old EX4 file work on a modern MT4 platform?

Older EX4 applications may work on newer terminals, but compatibility depends on the application and its requirements.

7. Does build information guarantee successful EX4 decompilation?

No. Compiler generation is only one factor. File structure, protection, complexity and dependencies can also affect recovery.

8. Can I recover MQ4 source code from any EX4 file?

No. Some files may offer opportunities for source-code recovery, while others may be technically unsuitable or produce incomplete results.

Conclusion

Identifying your MT4 build version is a useful first step when investigating EX4 files, compatibility issues and source-code recovery.

Build 600 and Build 970 are particularly important milestones in the history of MQL4 and the EX4 executable format.

However, remember that the current MT4 build is not necessarily the compiler build associated with your EX4 file. A proper technical assessment may be needed to understand the file’s characteristics and determine what recovery options are available.

Need help with an EX4 file?

Contact our EX4 decompiler service for a technical assessment and discuss the possibility of recovering your MT4 source code.