- 六月 21, 2019
- 發表者: 外匯維基團隊
- 類別: 外匯交易系統
重寫 MQL 4 至微量潤滑 5 Script
A script which converts MQL 4 代碼到 MQL 5 程式碼由 Keiji 和 Circlesquares 在 MQL4 討論板上開發.
第一的, 獲取下一個資訊並將其放入您的 Metatrader 中 4 / 專家 / 擁抱資料夾
- 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 / 專家 / 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 / 專家 / 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 / 專家 / information folder and you will see that the transformed mq5 file there:
Now open this file with Metaeditor 5 in compile it.