.MQH File Extension

MetaTrader Include File

Developer MetaQuotes Software
2.9  |  8 Votes

What is an MQH file?

An MQH file is an include file created by MetaTrader, an online trading platform. It contains definitions for common variables and functions that programmers can use for developing custom indicators, Expert Advisors, and scripts.

More Information

MQH are similar to .H files as they allow programmers to write commonly used functions once so other source files can reference them multiple times. MQH files can also be used by programmers to share functions with other users without sharing the source code file.

The location of MQH files depends on the location of the .MQ4 or .MQ5 source files as they will be generated in the same folder. For example, if the source file is in the /​Libraries directory, the MQH file is generated in the root of the /​Include directory.

The MQH file is generated by MetaEditor, a tool included with MetaTrader. MetaEditor can edit Expert Advisors, which are programs for automating the trading and analytical processes in MetaTrader.

MetaTrader software is used for analyzing and trading Forex, Stock, CFDs, and Futures. The application comes with technical analysis tools and enables the use of automated trading systems and copy trading.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open MQH files


Verified by FileInfo.com

The FileInfo.com team has independently researched the MetaTrader Include file format and Mac, Windows, Linux, and Android apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.