MetaTrader 5 – Migrating from MQL4 to MQL5

May 18th, 2010

35c400f6a6aa48840392789e4716f4bc MetaTrader 5   Migrating from MQL4 to MQL5This 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

  1. Chart Periods
  2. Declaring Contants
  3. Predefined Variables
  4. Account Information
  5. Array Functions
  6. Checkup
  7. Client Terminal
  8. Common Functions
  9. Conversion Functions
  10. Custom Indicators
  11. Date and Time Functions
  12. File Functions
  13. Global Variables
  14. Mathematical Functions
  15. Object Functions
  16. String Functions
  17. Technical Indicators
  18. Timeseries Access
  19. Chart Operations

Read the full article at http://www.mql5.com/en/articles/81

Related posts:

  1. Transferring Indicators from MQL4 to MQL5
  2. Order a Custom Trading Robot in MQL5 and MQL4
  3. Custom Indicators in MQL5
  4. MetaTrader 5 – How to call indicators in MQL5
  5. Rewrite MQL4 to MQL5 Script
Comments are closed.