Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Libraries

Developing a multi-currency Expert Advisor — source codes from a series of articles - library for MetaTrader 5

Views:
2710
Rating:
(5)
Published:
2024.02.25 14:09
Updated:
2024.03.02 10:42
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

This series of articles is in the process of being written. As we move forward, source codes from new articles will be added to this library.

It is recommended to review the code in the order of publication of articles in order to better monitor the development and changes made.

At this stage, the general scheme of the library looks like this:


An example of the test results for Expert Advisor from the article (Part 3):


 

A list of published articles with a detailed explanation of the development process:

The full code is located in the attached archive due to the large number of files. Unzip it into the Experts folder. The files inside are divided into folders related to individual articles. Code from all parts added in archive, but at present only Part 1 and Part 2 have translated comments.

The two visible source code files are not used, they are only needed for publication.

    TimeGMT library for the strategy tester TimeGMT library for the strategy tester

    Static class to fix the TimeGMT() function during testing in the strategy tester.

    Historex: export the history of rates and ticks to CSV-files Historex: export the history of rates and ticks to CSV-files

    This is a script to export rates and ticks of current chart's symbol into CSV-files compatible with MT5's export/import format.