Opening MQ4 Files
The MQ4 file type is primarily associated with MetaTrader 4.
What is an MQ4 file
These files are plain text documents that can be opened with a text editor or, preferably, with the MetaEditor tool that comes with MetaTrader 4. They are sometimes encoded in UTF-16 (LE), so correct encoding settings may be needed to view all characters properly.
Users often modify MQ4 files to adjust trade execution rules or technical indicators, and then compile them into executable files (EX4) for use in the trading terminal.
How do you open MQ4 files?
You need a suitable software like MetaTrader 4 to open an MQ4 file. Without proper software you will receive a Windows message "How do you want to open this file?" or "Windows cannot open this file" or a similar Mac/iPhone/Android alert. If you cannot open your MQ4 file correctly, try to right-click or long-press the file. Then click "Open with" and choose an application. You can also display a MQ4 file directly in the browser:. Just drag the file onto this browser window and drop it.
Online MQ4 Text Viewer
Read our privacy guarantee in Filext’s terms and privacy policy
Please allow ads on our site
This helps us keep our servers running. Then re-upload your file to view it.Click here to see how to disable the ad blocker for filext.com
Programs that open and convert MQ4 files:
- MetaTrader 4
See the previous paragraphs to learn more about the main application. MQ4 files are often referred to as MetaTrader 4 developers because this type of file is primarily created or used by this software.
- MetaTrader (Indicator) by MetaQuotes Software Corp.MetaTrader 4 is an on-line trading platform designed for financial institutions dealing with Forex, CFD, and Futures markets. The identifying characters used for this association are - Hex: 2F 2F 2B 2D, ASCII: //+-.
MQ4 file format:
To view or edit MQ4 files you need to know the file format, because it determines how the data in this file is stored. Often, the file format can be deduced from the file extension or the initial bytes (called the signature). File extension, signature and file format must match; otherwise errors will occur when the file is opened. When there is a problem with a file, the first step to solving it is to determine the file format. Below is our analysis of the MQ4 files:
MQ4 is not that commonly used as a file extension. This file type is used by different programs with different formats. But the following two file formats are common:
- 50% of all MQ4 files are MetaQuote / MetaTrader indicator files. These files are text files and can therefore be read using a text editor. The files are on average 6 KB in size and range from 2 KB to 26 KB. It is a modern file type. The following keywords are characteristic: //+------------------------------------------------------------------+ and Copyright. Such MQ4 files store data about cross.
- 25% of all MQ4 files save the data in UTF-16 (LE) file format. UTF-16 (LE) is an character encoding system for Unicode. UTF-16 files can be viewed in any modern text editor. These files start with the two bytes FF FE, the so called byte order mark (BOM). They consist of illegible, cryptic characters. Most of these files are 7 KB to 46 KB in size. The keywords //+------------------------------------------------------------------+ and copyright are typical for these files. Such files are related to alerts.
All the rest of the MQ4 files (25%) have different formats, frequently e.g. property. These files sometimes refer to trend, indicator or pivot. If you want to find out what your MQ4 file contains, drag and drop it onto this page.
Technical Data for MQ4 File Extension
The following listing is compiled from the database produced by the 'Associate This!' program, selected data from the main FILExt database and file extension information submitted by users.
EXEFile: %ProgramFiles%\Interbank FX Trader 4\metaeditor.exe
an mq4 source code file is a special file format and should only be edited and saved with the appropriate software.
How to solve problems with MQ4 files
- Associate the MQ4 file extension with the correct application.
- Update your software that should actually open source code files. Because only the current version supports the latest MQ4 file format. Search, therefore, e.g. on the manufacturer website after an available MetaTrader 4 update.
- To make sure that your MQ4 file is not corrupted or virus-infected, get the file again and scan it with Google's virustotal.com.
- Click here to open your .MQ4 file online - secure, fast, and no downloads needed.