- 六月 21, 2019
- 投稿者: 外国為替Wikiチーム
- カテゴリー: 外国為替取引システム
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 discussion board.
初め, obtain the next information and place them in your Metatrader 4 / specialists / embrace folder
- mt4accountinfo.mqh
- mt4string.mqh
- mt4datetime.mqh
- mt4objects_1.mqh
- mt4timeseries_2.mqh
今, place the most recent model of the rewrite script and it in your Metatrader 4 / specialists / scripts folder:
- mq4to5rewrite_sample_v4_2.mq4
After that you'll want to place a mql4 indicator, script or ea which you need to convert to MQL 5 in your Metatrader 4 / specialists / information folder. Now open Metatrader 4 and run the script, the script is situated within the navigator window. As you possibly can see you need to first present the precisely title (with out extension) of your mq4 file and choose whether it is an indicator (0), EA (1) or script (2) file.
Now hit the "わかりました" button and if every little thing is finished
After that go to your Metatrader 4 / specialists / information folder and you will see that the transformed mq5 file there:
Now open this file with Metaeditor 5 in compile it.