have everybody tried this converter? I just found it, it was written in 2010. do you have any updated version of this converter? any comments?
--------------------------------------
A script which converts MQL 4 code to MQL 5 code was developed by Keiji and Circlesquares on the MQL4 forum.
First, download the following files and place them in your Metatrader 4 / experts / include folder
- mt4accountinfo.mqh
- mt4string.mqh
- mt4datetime.mqh
- mt4objects_1.mqh
- mt4timeseries_2.mqh
Now, place the latest version of the rewrite script and it in your Metatrader 4 / experts / scripts folder:
- mq4to5rewrite_sample_v4_2.mq4
After 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. Now open Metatrader 4 and run the script. 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 hit the "OK" button and if everything is done
After that go to your Metatrader 4 / experts / files folder and you will find the converted mq5 file there:
Now open this file with Metaeditor 5 in compile it:
Try to fix the errors with the MQL4 to MQL5 Porting Table and the last version of the translated MQL5 user guide.
All the required files is included in the ZIP
----------------------------------------------------------------
--------------------------------------
A script which converts MQL 4 code to MQL 5 code was developed by Keiji and Circlesquares on the MQL4 forum.
First, download the following files and place them in your Metatrader 4 / experts / include folder
- mt4accountinfo.mqh
- mt4string.mqh
- mt4datetime.mqh
- mt4objects_1.mqh
- mt4timeseries_2.mqh
Now, place the latest version of the rewrite script and it in your Metatrader 4 / experts / scripts folder:
- mq4to5rewrite_sample_v4_2.mq4
After 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. Now open Metatrader 4 and run the script. 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 hit the "OK" button and if everything is done
After that go to your Metatrader 4 / experts / files folder and you will find the converted mq5 file there:
Now open this file with Metaeditor 5 in compile it:
Try to fix the errors with the MQL4 to MQL5 Porting Table and the last version of the translated MQL5 user guide.
All the required files is included in the ZIP
----------------------------------------------------------------
Attached File(s)
mt4_to_mt5_converter.zip
6 KB
|
15,596 downloads