website features an extensive library of articles on MQL4/MQL5 programming. Articles are an excellent guide for creating applications since they cover a lot of practical tasks involving algorithmic trading. New articles are published every week.

The list of all available articles is displayed directly in MetaEditor. To find the necessary material, use the online search.

Fast dive into MQL5

You have decided to study MQL5 trading strategies’ programming language, but you know nothing about it? We have tried to examine MQL5 and MetaTrader 5 terminal from the newcomers’ point of view and have written this short introductory article. In this article, you can find a brief idea of the possibilities of the language, as well as some tips on working with MetaEditor 5 and the terminal.

MQL5: Create your own indicator

What is an indicator? It is a set of calculated values that we want to be displayed on the screen in a convenient way. Sets of values are represented in programs as arrays. Thus, creation of an indicator means writing an algorithm that handles some arrays (price arrays) and records results of handling to other arrays (indicator values). The article tackles writing indicators in MQL5 using the development of True Strength Index indicator as an example.

Applying one indicator to another

When writing an indicator that uses the short form of the OnCalculate() function call, you might miss the fact that an indicator can be calculated not only by price data, but also by data of some other indicator (no matter whether it is a built-in or custom one). Do you want to improve an indicator for its correct application to the other indicator’s data? In this article we’ll review all the steps required for such modification and outline additional rules for correct creation of such an indicator.

The order of object creation and destruction in MQL5

Each object, be it a custom object, a dynamic array or an array of objects, has its own creation and destruction features in an MQL5 program. Some objects are often part of other objects, and the order of destruction of objects at the time of deinitialization becomes particularly important. This article provides several examples for understanding the mechanisms of working with objects.

Trade operations in MQL5 – It’s easy

Almost all traders come to market to make money but some traders also enjoy the process itself. However, it is not only manual trading that can provide you with an exciting experience. Automated trading systems development can also be quite absorbing. Creating a trading robot can be as interesting as reading a good mystery novel.

The algorithm of ticks’ generation within the strategy tester of the MetaTrader 5 terminal

MetaTrader 5 allows us to simulate automatic trading, within an embedded strategy tester, by using Expert Advisors and the MQL5 language. This type of simulation is called testing of Expert Advisors, and can be implemented using multithreaded optimization, as well as simultaneously on a number of instruments. In order to provide a thorough testing, a generation of ticks based on the available minute history, needs to be performed. This article provides a detailed description of the algorithm, by which the ticks are generated for the historical testing in the MetaTrader 5 client terminal.