Rewrite MQL 4 to MQL 5 Script
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
Now, place the latest version of the rewrite script and it in your Metatrader 4 / experts / scripts folder:
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, the script is located in the navigator window. As you can see you must first provide the exactly
name (without extension) of your mq4 file and select if it is an indicator (0), EA (1) or script (2) 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
All the required files is included in the ZIP
Does it work? I did all, but scripts can`t find indicator in folder.
I've just downloaded MT4 on my laptop. For some reason it doesn't have the option to add indices. Any idea anybody?
mladen ; kindly may you convert attached mq4 to mq5 ?
It work fine but still have to fix the error
The instructions in post#1 are out of date. The data folder structure is different now. I doubt the script will work if the paths are not
Can someone convert this code from MQ4 to MQ5 ?
There are plenty of coders ready to do it for you in Freelance.
Can someone convert this Rare MQ4 to MQ5 ?
Sure, hire a coder in Freelance to do it for you.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.