MT4 To MT5 Code Converter - EA Forum - General - MQL5 Programming Forum
MT4 To MT5 Code Converter - EA Forum - General - MQL5 Programming 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, 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.
This website uses cookies. Learn more about our Cookies Policy.
https://www.mql5.com/en/forum/179991 1/5
9/7/22, 1:56 AM MT4 to MT5 code converter - EA Forum - General - MQL5 programming forum
After that go to your Metatrader 4 / experts / files folder and you will find the converted mq5
file there:
Files: mt4_to_mt5_converter.zip
7 kb
screen_2.jpg
139 kb
This website uses cookies. Learn more about our Cookies Policy.
screen_3.jpg
145 kb
https://www.mql5.com/en/forum/179991 2/5
9/7/22, 1:56 AM MT4 to MT5 code converter - EA Forum - General - MQL5 programming forum
screen_4.jpg
56 kb
saving in Metaeditor
witsnpips
2010.02.10 19:52
#1
wayLoL
2010.02.13 16:20
#2
liuwen
2010.02.16 16:14
#3
[Deleted]
2010.02.17 08:57
#4
Hi,
How can I install custom indicators in MT5? I downloaded an indicator from the codebase, but I do
not know in which directory should I copy it. I tried to copy it in MQL5/Indicators but it does not
show. Thank you.
VPS server. Questions.
Questions: to start with
[Archive!] FOREX - Trends,
umaxma
2010.02.20 11:31
#5
wow
4 since i heard mt5 uses different language with mt4,i feel so weak in trading....it is like bad
dream comes true....and now i find this converter... i hope it is working...thanks for sharing...i
now it is just beginning, hope u will be sharing another tools in this isue
My method to trade
The following code cannot
Universal MA Cross EA
josemarcoss
2010.02.20 22:21
#6
profitrader21:
205
Hi,
How can I install custom indicators in MT5? I downloaded an indicator from the
codebase, but I do not know in which directory should I copy it. I tried to copy it in
MQL5/Indicators but uses
This website it does not show.
cookies. Thank
Learn moreyou.
about our Cookies Policy.
https://www.mql5.com/en/forum/179991 3/5
9/7/22, 1:56 AM MT4 to MT5 code converter - EA Forum - General - MQL5 programming forum
josemarcoss
2010.02.20 22:35
#7
After testing this converter, i think that it needs much more improvements, since the converted
205
file still has too many code errors.
umaxma
2010.02.21 12:39
#8
ho..ho.ho..
4
josemarcoss:
After testing this converter, i think that it needs much more improvements, since the
converted file still has too many code errors.
pisces2008
2010.03.01 13:19
#9
EACreator
2010.03.21 02:32
#10
16
1 2 3 4 5 6 7 8 ... 61 New comment
This website uses cookies. Learn more about our Cookies Policy.
https://www.mql5.com/en/forum/179991 5/5