Welcome Guest | RSS Friday
29.03.2024, 13:09
Forex Basic
Information
Login form
Main Rewrite MQL 4 to MQL 5 Script Registration Login


The menu

Выбрать язык / Choose language:
Ukranian
Russian
French
German
Japanese
Italian
Portuguese
Spanish
Danish
Chinese
Korean
Arabic
Czech
Estonian
Belarusian
Latvian
Greek
Finnish
Serbian
Bulgarian
Turkish

Exchange rate
Statistics
Google PageRank Checking tool
Total online: 1
Guests: 1
Users: 0
Friends of a site
  • InstaForexTrading
  • Forex four you
  • Каталог сайтов-Мега ТИЦ
  • Forex Basic Information
  • Программы для всех
  • Форекс для начинающих
  • Заработай на сайте

  • Search
    
    Выбрать язык / Choose language:
    Ukranian
    Russian
    French
    German
    Japanese
    Italian
    Portuguese
    Spanish
    Danish
    Chinese
    Korean
    Arabic
    Czech
    Estonian
    Belarusian
    Latvian
    Greek
    Finnish
    Serbian
    Bulgarian
    Turkish

    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

    - mt4accountinfo.mqh
    - mt4string.mqh
    - mt4datetime.mqh
    - mt4objects_1.mqh ( updated version ), see post below.
    - mt4timeseries_2.mqh ( updated version ), see post below.



    Now, download the latest version of the rewrite script and place 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.



    In my case i'm rewritting a MQL4 indicator named ang_DCT:



    Now hit the "OK" button and if everything is done, the following message will appear:



    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.
    Clever & Rich - Investment. Пассивный доход без вложений.


    Бетон Селятино | Бетон Одинцово | Бетон в Щелково | Бетон Подольск | Бетон Сергиев-Посад | Бетон в Люберцах | Бетон Мытищи | Бетон Королёв | Бетон Домодедово | Бетон Островцы | Бетон Дмитров | Бетон Балашиха | Бетон Реутово | Бетон в Краснознаменске | Бетон в Лобне | Бетон Пушкино | Бетон в Москве | Бетон Химки | Бетон Серпухов | Бетон Железнодорожный | Бетон Реутов | Бетон Люберцы | Заказать доставку: песка, щебня и сыпучие нерудные стройматериалын |

    ForexBasicInformation.com © 2024Powered by uCoz