Instead of getting the 'complete rewriting' the box just disappears? The updated mt4objects.mqh is located at: miranon
The updated mt4timeseries.mqh is located at: Try to fix the errors with the MQL4 to MQL5 Porting Table and the last version of the translated MQL5 user guide. Now open this file with Metaeditor 5 in compile it: Now hit the 'OK' button and if everything is done, the following message will appear:Īfter that go to your Metatrader 4 / experts / files folder and you will find the converted mq5 file there: In my case i'm rewritting a MQL4 indicator named ang_DCT: As you can see you must first provide the name (without extension) of your mq4 file and select if it is an indicator (0), EA (2) or script (3) file. Now open Metatrader 4 and run the script. Now, download the latest version of the rewrite script and place it in your Metatrader 4 / experts / scripts folder:Īfter that you will need to place a mql4 indicator, script or ea which you want to convert to MQL 5 in your Metatrader 4 / experts / files folder. mt4timeseries_2.mqh ( updated version ), see post below. mt4objects_1.mqh ( updated version ), see post below.
A script which converts MQL 4 code to MQL 5 code was developed by Keiji and Circlesquares on the MQL4 forum.įirst, download the following files and place them in your Metatrader 4 / experts / include folder