Libraries: MT4 to MT5 Convertor (MT5Compat.mqh) - library for MetaTrader 5

 

MT4 to MT5 Convertor (MT5Compat.mqh) - library for MetaTrader 5:

A new interface library has been developed to simplify the process of converting MT4 indicators and Expert Advisors (EAs) to MT5. This library supports most of the MetaTrader 4 functions, offering developers a unified solution for cross-platform compatibility.

Author: Amirhossein Ghasemi Moroodi

 

Hi, thank you for this great work, but I didn't understand how to use it. I added it to the libraries, but code 4 in 5 doesn't work.

⚠️ On the English forum, please write in English. Use the automatic translation tool.
 
habashi_mth #: Hi, thank you for this great work, but I didn't understand how to use it. I added it to the libraries, but code 4 in 5 doesn't work.

Hello and greetings please :)
It's not hard to use. You can put all that code before the code you wrote (all in one file) or copy it into your library folder and then use the functions I mentioned.

In this case, the code will run in both the MT4 and MT5 environments.

Download the example code and test it.

⚠️ On the English forum, please write in English. Use the automatic translation tool.