Codes

Developing Multicurrency Expert Advisor - source codes from the article series for MetaTrader 5

Source codes written in the process of developing a library for creating multi-currency Expert Advisors combining multiple instances of different trading strategies

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

The source codes written during the development of the library for creating multi-currency Expert Advisors that combine many instances of various trading strategies

New Bar Event for MetaTrader 5

Allows you to determine the occurrence of a new bar event in a multicurrency Expert Advisor

Trade Classes from MT5 for MT4 for MetaTrader 4

Trade classes CTrade, CPositionInfo, COrderInfo, CSymbolInfo from MT5 rewritten for MT4

Account History Export for MetaTrader 4

Export the history of transactions on the MT4 trading account

Real Trade Copy MT4 for MetaTrader 4

Adviser-Utility for copying transactions from one MT5 account or MT4 account to another MT4 account

Real Trade Copy MT5 for MetaTrader 5

Utility for copying transactions from one MT5 account or MT4 account to another MT5 account

Expert History Export for MetaTrader 4

Adds the ability to automatically export the transaction history after running the Expert in the strategy Tester

Expert History Export for MetaTrader 5

Adds the ability to automatically export the transaction history after running the Expert in the strategy Tester

Account History Export for MetaTrader 5

Export the history of transactions on the trading account

Articles

Developing a Terminal Manager (Part 2): Running Multiple Terminal Instances for MetaTrader 5

Let's move on to using multiple terminal instances on the server by setting up a simple control panel for starting and stopping them. Now it is time to expand the functionality and move on to the next stages — implementing more complex features, such as managing multiple terminal instances, state

Developing a Terminal Manager (Part 1): Problem Statement for MetaTrader 5

How can we conveniently monitor multiple terminals running Expert Advisors, especially when they are on different computers? Let's try to create a web interface for managing the launch of MetaTrader 5 trading terminals and viewing detailed information about the operation of each instance

Moving to MQL5 Algo Forge (Part 4): Working with Versions and Releases for MetaTrader 5

We'll continue developing the Simple Candles and Adwizard projects, while also describing the finer aspects of using the MQL5 Algo Forge version control system and repository

Developing a Multi-Currency Expert Advisor (Part 29): Improving the Conveyor for MetaTrader 5

We are going to improve the usability of the automated optimization conveyor: we will explore the process from creating an optimization project to testing the final EA. For clarity, let us walk through the entire process step by step creating the final EA, while stopping to make any desired

Moving to MQL5 Algo Forge (Part 3): Using External Repositories in Your Own Projects for MetaTrader 5

Let's explore how you can start integrating external code from any repository in the MQL5 Algo Forge storage into your own project. In this article, we finally turn to this promising, yet more complex, task: how to practically connect and use libraries from third-party repositories within MQL5 Algo

Moving to MQL5 Algo Forge (Part 2): Working with Multiple Repositories for MetaTrader 5

In this article, we are considering one of the possible approaches to organizing the storage of the project's source code in a public repository. We will distribute the code across different branches to establish clear and convenient rules for the project development

Developing a Multi-Currency Expert Advisor (Part 28): Adding a Position Closing Manager for MetaTrader 5

When running multiple strategies in parallel, you may want to periodically close all open positions and start the strategies over again. The existing code only allows this behavior to be implemented through manual intervention. Let's try to automate this part

Developing a Multi-Currency Advisor (Part 27): Component for Displaying Multi-Line Text for MetaTrader 5

If there is a need to display text on a chart, we can use the Comment() function. But its capabilities are quite limited. Therefore, in this article, we will create our own component - a full-screen dialog window capable of displaying multi-line text with flexible font settings and scrolling

Developing a Multi-Currency Expert Advisor (Part 26): Informer for Trading Instruments for MetaTrader 5

Before moving forward with the development of multi-currency EAs, let's try to switch to creating a new project using the developed library. This example will demonstrate how to best organize source code storage and how using the new code repository from MetaQuotes can help us

Moving to MQL5 Algo Forge (Part 1): Creating the Main Repository for MetaTrader 5

When working on projects in MetaEditor, developers often face the need to manage code versions. MetaQuotes recently announced migration to GIT and the launch of MQL5 Algo Forge with code versioning and collaboration capabilities. In this article, we will discuss how to use the new and previously