BRiCK Convert4To5 MT5 Free
BRiCK is a simple and versatile utility.
By combining Experts, Indicators and utilities like the Lego block, various trading styles can be realized.
"Convert4To5" is a Script that converts MQL4 source files into MQL5 source files.
Experts, Indicators, Scripts, and Libraries with extension ".mq4" will be available for MT5.
1. Open the following folder.
terminal_data_folder\MQL4\Files\ (in the terminal menu select to view "File" - "Open the data directory")
2. Confirm that the BRiCK_Convert4To5 folder exists.
If it does not exist, insert a script "BRiCK_Convert4To5" into an arbitrary chart and create a folder.
3. Place the source file whose extension is ".mq4" in the Input folder under the BRiCK_Convert4To5 folder.
4. Insert the script "BRiCK_Convert4To5" in an arbitrary chart.
5. Open the Output folder under the BRiCK_Convert4To5 folder and check that the file with the extension ".mq5" has been created.
6. Compile the created MQL5 source file with a MetaEditor.
7. Make sure that it compiles normally. Please correct yourself if an error occurs.
8. Test that it will be the expected movement.
Server: Axiory Global Ltd.
Server: MetaQuotes Software Corp.
|BRiCK Convert4To5||BRiCK Convert4To5 Free|
|Price||10 USD||0 USD|
|Number of functions that can be migrated||435/450||435/450|
|Number of constants that can be migrated||64/64||64/64|
|Source file conversion time||0 second||60 second|
|Conversion folder creation time||0 second||60 second|
|Sales of converted files||Allowed||Not allowed|
- This product does not guarantee perfect conversion.
I have released it since testing the conversion, but it may not be able to convert properly depending on how you write the source code.
- You can not refund or return items. Please confirm with the free version in advance.
- Direct or indirect loss due to using the product is not guaranteed.
- It may not be converted as expected due to differences in terminal version or build.
- It is made assuming that the account type of MT5 is netting.
- Multiple files can not be converted at the same time. Place only one file in the Input folder.
- It is necessary to match the data type defined by the function with the data type of the argument when calling the function.
- Conversion of include files with the extension ".mqh" is not supported. Paste the code into a file of ".mq4" format and convert it.
- The conversion logic assumes the MQL4 source file created after build 940.
- Event functions init, deinit, start are deprecated. It is necessary to describe the main process to OnTick for experts, OnCalculate for indicators, OnStart scripts.
Refer to the reference for the transition from MQL4 to MQL5.
- Be sure to use "#property strict" before conversion of MQL4 source file to make sure there are no potential compile errors.
- The following functions can not be migrated because there is no corresponding function in MQL5.
Returns a constant value to prevent compile errors.
|Function name||Return value|
- Since the following functions result in override errors, they are replaced and output.
|Function name||Function name after replacement|
- Since it is not implemented with variable length arguments, the number of arguments is limited for the following functions.
|Function name||Upper bound of variable length argument|
- Trade function corresponded to netting and hedging
- Added processing to return ticket number of standby order with OrderSend
- Modified the return value of OrdersTotal to match MQL4
- Modified potential override error in ArraySort
- Writed the function for migration in the footer part
- Modified runtime errors of OrderSend and OrderClose
- Modified return value of OrderSend
- Addition of ENUM_SYMBOL_CALC_MODE conversion function
- Unification of versions
- Fix iCustum function name
- Corrected garbled characters when converting files