Build Number - A build number is an internal version identifier assigned to each compiled instance of the software. Every time the code is compiled (or a new build is made), this number typically increments. In MetaTrader, the terminal’s build number can be obtained at runtime via
TERMINAL_BUILD
 (inÂ
TerminalInfoInteger
) or at compile-time via macros likeÂ
__MQLBUILD__
. For example, MetaTrader builds are often numeric (e.g. build 4755). The build number helps EA code detect the exact platform version it’s running on, which is useful for compatibility checks or diagnosing issues tied to specific builds.