MetaQuotes Language 4 (MQL4) is the programming language used for building various aspects of the MT4 software such as robots, scripts,  function libraries, and technical indicators.