MetaTrader 5 – Migrating from MQL4 to MQL5
This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar to MQL4 Reference.
Introduction
Many developers have accumulated a lot of indicators and trading strategies written in MQL4. To use them in Metatrader 5, they should be converted to MQL5. It’s not so easy to rewrite all programs in MQL5. It would be much easier to convert them, if there were a translation-reference, and better with examples.
In this article I would like to suggest my version of a guide to migrate from MQL4 to MQL5.
Topics Covered
- Chart Periods
- Declaring Contants
- Predefined Variables
- Account Information
- Array Functions
- Checkup
- Client Terminal
- Common Functions
- Conversion Functions
- Custom Indicators
- Date and Time Functions
- File Functions
- Global Variables
- Mathematical Functions
- Object Functions
- String Functions
- Technical Indicators
- Timeseries Access
- Chart Operations
Read the full article at http://www.mql5.com/en/articles/81
Related posts:

