Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

MT5 to MT4 Settings File Converter - MetaTrader 5 Script - MetaTrader 5 Resources

author EAcpu | 4 reads | 0 comments |

This script converts multiple .set files from MT5 format to MT4 format. This is a necessary step to optimize and run cross-compatible EAs.

MetaTrader 5 is able to load .set files created in MT4, however, the format in which it saves the settings files is not compatible with MetaTrader 4. This script acts as a useful tool for making .set files backwards compatible, so you can take advantage of MT5's better strategy tester and then run cross-compatible EAs on MT4 and MT5 using the same parameters.

Two .set files have been attached as examples of converters.

The "exampleMT5.set" file is generated by the MetaTreader 5 terminal. The converter then converts it into an "exampleMT5-MT4.set" file.

Place the .set file into the MQL5\Files folder or subfolder. By default, the script will convert all .set files in the files folder to the MT4 version and output the converted files to a subdirectory named MT4-Output-Setfiles. The output filename will also have "-MT4" appended before the file extension.

This file has 3 input options:


Attachment download

📎 setfileconverter.mq5 (3.75 KB)

📎 examplemt5.set (0.5 KB)

📎 examplemt5-mt4.set (0.82 KB)

Source: MQL5 #17493

Verification code Refresh