Articles

Developing a cross-platform grid EA: testing a multi-currency EA for MetaTrader 5

Markets dropped down by more that 30% within one month. It seems to be the best time for testing grid- and martingale-based Expert Advisors. This article is an unplanned continuation of the series "Creating a Cross-Platform Grid EA". The current market provides an opportunity to arrange a stress

Developing a cross-platform grid EA (Last part): Diversification as a way to increase profitability for MetaTrader 5

In previous articles within this series, we tried various methods for creating a more or less profitable grid Expert Advisor. Now we will try to increase the EA profitability through diversification. Our ultimate goal is to reach 100% profit per year with the maximum balance drawdown no more than

Developing a cross-platform grider EA (part III): Correction-based grid with martingale for MetaTrader 5

In this article, we will make an attempt to develop the best possible grid-based EA. As usual, this will be a cross-platform EA capable of working both with MetaTrader 4 and MetaTrader 5. The first EA was good enough, except that it could not make a profit over a long period of time. The second EA

Developing a cross-platform Expert Advisor to set StopLoss and TakeProfit based on risk settings for MetaTrader 5

In this article, we will create an Expert Advisor for automated entry lot calculation based on risk values. Also the Expert Advisor will be able to automatically place Take Profit with the select ratio to Stop Loss. That is, it can calculate Take Profit based on any selected ratio, such as 3 to 1, 4

Developing a cross-platform grider EA (part II): Range-based grid in trend direction for MetaTrader 5

In this article, we will develop a grider EA for trading in a trend direction within a range. Thus, the EA is to be suited mostly for Forex and commodity markets. According to the tests, our grider showed profit since 2018. Unfortunately, this is not true for the period of 2014-2018

Selection and navigation utility in MQL5 and MQL4: Adding data to charts for MetaTrader 5

In this article, we will continue expanding the functionality of the utility. This time, we will add the ability to display data that simplifies our trading. In particular, we are going to add High and Low prices of the previous day, round levels, High and Low prices of the year, session start time

Developing a cross-platform grider EA for MetaTrader 5

In this article, we will learn how to create Expert Advisors (EAs) working both in MetaTrader 4 and MetaTrader 5. To do this, we are going to develop an EA constructing order grids. Griders are EAs that place several limit orders above the current price and the same number of limit orders below it

Selection and navigation utility in MQL5 and MQL4: Adding auto search for patterns and displaying detected symbols for MetaTrader 5

In this article, we continue expanding the features of the utility for collecting and navigating through symbols. This time, we will create new tabs displaying only the symbols that satisfy some of the necessary parameters and find out how to easily add custom tabs with the necessary sorting rules

Martingale as the basis for a long-term trading strategy for MetaTrader 5

In this article we will consider in detail the martingale system. We will review whether this system can be applied in trading and how to use it in order to minimize risks. The main disadvantage of this simple system is the probability of losing the entire deposit. This fact must be taken into

Selection and navigation utility in MQL5 and MQL4: Adding "homework" tabs and saving graphical objects for MetaTrader 5

In this article, we are going to expand the capabilities of the previously created utility by adding tabs for selecting the symbols we need. We will also learn how to save graphical objects we have created on the specific symbol chart, so that we do not have to constantly create them again. Besides