![Comparative analysis of 10 flat trading strategies](https://c.mql5.com/2/32/10_flat.png)
![Comparative analysis of 10 flat trading strategies](https://c.mql5.com/i/articles/overlay.png)
Comparative analysis of 10 flat trading strategies
The article explores the advantages and disadvantages of trading in flat periods. The ten strategies created and tested within this article are based on the tracking of price movements inside a channel. Each strategy is provided with a filtering mechanism, which is aimed at avoiding false market entry signals.
![Learn Why and How to Design Your Algorithmic Trading System](https://c.mql5.com/2/49/learnhow_your_trading_system_600x314.jpg)
Learn Why and How to Design Your Algorithmic Trading System
This article shows the basics of MQL for beginners to design their Algorithmic trading system (Expert Advisor) through designing a simple algorithmic trading system after mentioning some basics of MQL5
![Creating Active Control Panels in MQL5 for Trading](https://c.mql5.com/2/0/panel__2.png)
![Creating Active Control Panels in MQL5 for Trading](https://c.mql5.com/i/articles/overlay.png)
Creating Active Control Panels in MQL5 for Trading
The article covers the problem of development of active control panels in MQL5. Interface elements are managed by the event handling mechanism. Besides, the option of a flexible setup of control elements properties is available. The active control panel allows working with positions, as well setting, modifying and deleting market and pending orders.
![Expert Advisor featuring GUI: Adding functionality (part II)](https://c.mql5.com/2/32/avatar_expert_Graph_panel71p__1.png)
![Expert Advisor featuring GUI: Adding functionality (part II)](https://c.mql5.com/i/articles/overlay.png)
Expert Advisor featuring GUI: Adding functionality (part II)
This is the second part of the article showing the development of a multi-symbol signal Expert Advisor for manual trading. We have already created the graphical interface. It is now time to connect it with the program's functionality.
![Mechanical Trading System "Chuvashov's Triangle"](https://c.mql5.com/2/17/985_56.png)
![Mechanical Trading System "Chuvashov's Triangle"](https://c.mql5.com/i/articles/overlay.png)
Mechanical Trading System "Chuvashov's Triangle"
Let me offer you an overview and the program code of the mechanical trading system based on ideas of Stanislav Chuvashov. Triangle's construction is based on the intersection of two trend lines built by the upper and lower fractals.
![Developing a cross-platform grid EA: testing a multi-currency EA](https://c.mql5.com/2/38/mql5_ea_adviser_grid.png)
![Developing a cross-platform grid EA: testing a multi-currency EA](https://c.mql5.com/i/articles/overlay.png)
Developing a cross-platform grid EA: testing a multi-currency EA
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 rest for the grid EA. So, let's use this opportunity and test our Expert Advisor.
![Deep Neural Networks (Part VIII). Increasing the classification quality of bagging ensembles](https://c.mql5.com/2/48/Deep_Neural_Networks_08.png)
![Deep Neural Networks (Part VIII). Increasing the classification quality of bagging ensembles](https://c.mql5.com/i/articles/overlay.png)
Deep Neural Networks (Part VIII). Increasing the classification quality of bagging ensembles
The article considers three methods which can be used to increase the classification quality of bagging ensembles, and their efficiency is estimated. The effects of optimization of the ELM neural network hyperparameters and postprocessing parameters are evaluated.
![MQL for "Dummies": How to Design and Construct Object Classes](https://c.mql5.com/2/0/cube__1.png)
![MQL for "Dummies": How to Design and Construct Object Classes](https://c.mql5.com/i/articles/overlay.png)
MQL for "Dummies": How to Design and Construct Object Classes
By creating a sample program of visual design, we demonstrate how to design and construct classes in MQL5. The article is written for beginner programmers, who are working on MT5 applications. We propose a simple and easy grasping technology for creating classes, without the need to deeply immerse into the theory of object-oriented programming.
![Deep Neural Networks (Part I). Preparing Data](https://c.mql5.com/2/48/Deep_Neural_Networks_01.png)
![Deep Neural Networks (Part I). Preparing Data](https://c.mql5.com/i/articles/overlay.png)
Deep Neural Networks (Part I). Preparing Data
This series of articles continues exploring deep neural networks (DNN), which are used in many application areas including trading. Here new dimensions of this theme will be explored along with testing of new methods and ideas using practical experiments. The first article of the series is dedicated to preparing data for DNN.
![Applying OLAP in trading (part 4): Quantitative and visual analysis of tester reports](https://c.mql5.com/2/38/OLAP_in_trading.png)
![Applying OLAP in trading (part 4): Quantitative and visual analysis of tester reports](https://c.mql5.com/i/articles/overlay.png)
Applying OLAP in trading (part 4): Quantitative and visual analysis of tester reports
The article offers basic tools for the OLAP analysis of tester reports relating to single passes and optimization results. The tool can work with standard format files (tst and opt), and it also provides a graphical interface. MQL source codes are attached below.
![MetaTrader 4 Expert Advisor exchanges information with the outside world](https://c.mql5.com/2/13/1062_113.jpg)
![MetaTrader 4 Expert Advisor exchanges information with the outside world](https://c.mql5.com/i/articles/overlay.png)
MetaTrader 4 Expert Advisor exchanges information with the outside world
A simple, universal and reliable solution of information exchange between МetaТrader 4 Expert Advisor and the outside world. Suppliers and consumers of the information can be located on different computers, the connection is performed through the global IP addresses.
![Simple Trading Systems Using Semaphore Indicators](https://c.mql5.com/2/0/Semafor.png)
![Simple Trading Systems Using Semaphore Indicators](https://c.mql5.com/i/articles/overlay.png)
Simple Trading Systems Using Semaphore Indicators
If we thoroughly examine any complex trading system, we will see that it is based on a set of simple trading signals. Therefore, there is no need for novice developers to start writing complex algorithms immediately. This article provides an example of a trading system that uses semaphore indicators to perform deals.
![Creating MQL5 Expert Advisors in minutes using EA Tree: Part One](https://c.mql5.com/2/0/EA_Tree_Expert_Advisor_Builder.png)
![Creating MQL5 Expert Advisors in minutes using EA Tree: Part One](https://c.mql5.com/i/articles/overlay.png)
Creating MQL5 Expert Advisors in minutes using EA Tree: Part One
EA Tree is the first drag and drop MetaTrader MQL5 Expert Advisor builder. You can create complex MQL5 using a very easy to use graphical user interface. In EA Tree, Expert Advisors are created by connecting boxes together. Boxes may contain MQL5 functions, technical indicators, custom indicators, or values. Using the "tree of boxes", EA Tree generates the MQL5 code of the Expert Advisor.
![Deep Neural Networks (Part IV). Creating, training and testing a model of neural network](https://c.mql5.com/2/48/Deep_Neural_Networks_04.png)
![Deep Neural Networks (Part IV). Creating, training and testing a model of neural network](https://c.mql5.com/i/articles/overlay.png)
Deep Neural Networks (Part IV). Creating, training and testing a model of neural network
This article considers new capabilities of the darch package (v.0.12.0). It contains a description of training of a deep neural networks with different data types, different structure and training sequence. Training results are included.
![My First "Grail"](https://c.mql5.com/2/13/144_2.png)
![My First "Grail"](https://c.mql5.com/i/articles/overlay.png)
My First "Grail"
Examined are the most frequent mistakes that lead the first-time programmers to creation of a "super-moneymaking" (when tested) trading systems. Exemplary experts that show fantastic results in tester, but result in losses during real trading are presented.
![Change Expert Advisor Parameters From the User Panel "On the Fly"](https://c.mql5.com/2/0/avatar__24.png)
![Change Expert Advisor Parameters From the User Panel "On the Fly"](https://c.mql5.com/i/articles/overlay.png)
Change Expert Advisor Parameters From the User Panel "On the Fly"
This article provides a small example demonstrating the implementation of an Expert Advisor whose parameters can be controlled from the user panel. When changing the parameters "on the fly", the Expert Advisor writes the values obtained from the info panel to a file to further read them from the file and display accordingly on the panel. This article may be relevant to those who trade manually or in semi-automatic mode.
![Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies](https://c.mql5.com/2/0/sl_article.png)
![Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies](https://c.mql5.com/i/articles/overlay.png)
Exploring Trading Strategy Classes of the Standard Library - Customizing Strategies
In this article we are going to show how to explore the Standard Library of Trading Strategy Classes and how to add Custom Strategies and Filters/Signals using the Patterns-and-Models logic of the MQL5 Wizard. In the end you will be able easily add your own strategies using MetaTrader 5 standard indicators, and MQL5 Wizard will create a clean and powerful code and fully functional Expert Advisor.
![Deep Neural Networks (Part VII). Ensemble of neural networks: stacking](https://c.mql5.com/2/48/Deep_Neural_Networks_07.png)
![Deep Neural Networks (Part VII). Ensemble of neural networks: stacking](https://c.mql5.com/i/articles/overlay.png)
Deep Neural Networks (Part VII). Ensemble of neural networks: stacking
We continue to build ensembles. This time, the bagging ensemble created earlier will be supplemented with a trainable combiner — a deep neural network. One neural network combines the 7 best ensemble outputs after pruning. The second one takes all 500 outputs of the ensemble as input, prunes and combines them. The neural networks will be built using the keras/TensorFlow package for Python. The features of the package will be briefly considered. Testing will be performed and the classification quality of bagging and stacking ensembles will be compared.
![MQL5 Wizard: New Version](https://c.mql5.com/2/0/New_Master_MQL5.png)
![MQL5 Wizard: New Version](https://c.mql5.com/i/articles/overlay.png)
MQL5 Wizard: New Version
The article contains descriptions of the new features available in the updated MQL5 Wizard. The modified architecture of signals allow creating trading robots based on the combination of various market patterns. The example contained in the article explains the procedure of interactive creation of an Expert Advisor.
![MQL5 Cookbook - Trading signals of moving channels](https://c.mql5.com/2/24/ava2.png)
![MQL5 Cookbook - Trading signals of moving channels](https://c.mql5.com/i/articles/overlay.png)
MQL5 Cookbook - Trading signals of moving channels
The article describes the process of developing and implementing a class for sending signals based on the moving channels. Each of the signal version is followed by a trading strategy with testing results. Classes of the Standard Library are used for creating derived classes.
![Building an Automatic News Trader](https://c.mql5.com/2/0/cover.png)
![Building an Automatic News Trader](https://c.mql5.com/i/articles/overlay.png)
Building an Automatic News Trader
This is the continuation of Another MQL5 OOP class article which showed you how to build a simple OO EA from scratch and gave you some tips on object-oriented programming. Today I am showing you the technical basics needed to develop an EA able to trade the news. My goal is to keep on giving you ideas about OOP and also cover a new topic in this series of articles, working with the file system.
![Cross-Platform Expert Advisor: Money Management](https://c.mql5.com/2/28/Cross_Platform_Expert_Advisor__1.png)
![Cross-Platform Expert Advisor: Money Management](https://c.mql5.com/i/articles/overlay.png)
Cross-Platform Expert Advisor: Money Management
This article discusses the implementation of money management method for a cross-platform expert advisor. The money management classes are responsible for the calculation of the lot size to be used for the next trade to be entered by the expert advisor.
![MQL5 Cookbook - Pivot trading signals](https://c.mql5.com/2/26/MQL5_recipePivotePoint.png)
![MQL5 Cookbook - Pivot trading signals](https://c.mql5.com/i/articles/overlay.png)
MQL5 Cookbook - Pivot trading signals
The article describes the development and implementation of a class for sending signals based on pivots — reversal levels. This class is used to form a strategy applying the Standard Library. Improving the pivot strategy by adding filters is considered.
![Martingale as the basis for a long-term trading strategy](https://c.mql5.com/2/35/mql5_avatar_martingale_osnova.png)
![Martingale as the basis for a long-term trading strategy](https://c.mql5.com/i/articles/overlay.png)
Martingale as the basis for a long-term trading strategy
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 account, if you decide to trade using the martingale technique.
![Trading signals module using the system by Bill Williams](https://c.mql5.com/2/20/MQL5_wizard_ru.png)
![Trading signals module using the system by Bill Williams](https://c.mql5.com/i/articles/overlay.png)
Trading signals module using the system by Bill Williams
The article describes the rules of the trading system by Bill Williams, the procedure of application for a developed MQL5 module to search and mark patterns of this system on the chart, automated trading with found patterns, and also presents the results of testing on various trading instruments.
![Using text files for storing input parameters of Expert Advisors, indicators and scripts](https://c.mql5.com/2/23/avatar__3.png)
![Using text files for storing input parameters of Expert Advisors, indicators and scripts](https://c.mql5.com/i/articles/overlay.png)
Using text files for storing input parameters of Expert Advisors, indicators and scripts
The article describes the application of text files for storing dynamic objects, arrays and other variables used as properties of Expert Advisors, indicators and scripts. The files serve as a convenient addition to the functionality of standard tools offered by MQL languages.
![Learn how to design a trading system by MACD](https://c.mql5.com/2/46/why-and-how__1.png)
![Learn how to design a trading system by MACD](https://c.mql5.com/i/articles/overlay.png)
Learn how to design a trading system by MACD
In this article, we will learn a new tool from our series: we will learn how to design a trading system based on one of the most popular technical indicators Moving Average Convergence Divergence (MACD).
![Developing a cross-platform grider EA](https://c.mql5.com/2/35/mql5_ea_adviser_grid.png)
![Developing a cross-platform grider EA](https://c.mql5.com/i/articles/overlay.png)
Developing a cross-platform grider EA
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 simultaneously.
![Developing a self-adapting algorithm (Part I): Finding a basic pattern](https://c.mql5.com/2/41/50_percents__1.png)
![Developing a self-adapting algorithm (Part I): Finding a basic pattern](https://c.mql5.com/i/articles/overlay.png)
Developing a self-adapting algorithm (Part I): Finding a basic pattern
In the upcoming series of articles, I will demonstrate the development of self-adapting algorithms considering most market factors, as well as show how to systematize these situations, describe them in logic and take them into account in your trading activity. I will start with a very simple algorithm that will gradually acquire theory and evolve into a very complex project.
![Developing a trading Expert Advisor from scratch](https://c.mql5.com/2/44/Robozinho.png)
![Developing a trading Expert Advisor from scratch](https://c.mql5.com/i/articles/overlay.png)
Developing a trading Expert Advisor from scratch
In this article, we will discuss how to develop a trading robot with minimum programming. Of course, MetaTrader 5 provides a high level of control over trading positions. However, using only the manual ability to place orders can be quite difficult and risky for less experienced users.
![Order Strategies. Multi-Purpose Expert Advisor](https://c.mql5.com/2/0/conveyor_ava.png)
![Order Strategies. Multi-Purpose Expert Advisor](https://c.mql5.com/i/articles/overlay.png)
Order Strategies. Multi-Purpose Expert Advisor
This article centers around strategies that actively use pending orders, a metalanguage that can be created to formally describe such strategies and the use of a multi-purpose Expert Advisor whose operation is based on those descriptions
![Thomas DeMark's contribution to technical analysis](https://c.mql5.com/2/19/50mlq5_4.png)
![Thomas DeMark's contribution to technical analysis](https://c.mql5.com/i/articles/overlay.png)
Thomas DeMark's contribution to technical analysis
The article details TD points and TD lines discovered by Thomas DeMark. Their practical implementation is revealed. In addition to that, a process of writing three indicators and two Expert Advisors using the concepts of Thomas DeMark is demonstrated.
![Forecasting Time Series (Part 2): Least-Square Support-Vector Machine (LS-SVM)](https://c.mql5.com/2/38/mql5-avatar-lssvm.png)
![Forecasting Time Series (Part 2): Least-Square Support-Vector Machine (LS-SVM)](https://c.mql5.com/i/articles/overlay.png)
Forecasting Time Series (Part 2): Least-Square Support-Vector Machine (LS-SVM)
This article deals with the theory and practical application of the algorithm for forecasting time series, based on support-vector method. It also proposes its implementation in MQL and provides test indicators and Expert Advisors. This technology has not been implemented in MQL yet. But first, we have to get to know math for it.
![Econometric approach to finding market patterns: Autocorrelation, Heat Maps and Scatter Plots](https://c.mql5.com/2/37/jlp_0d3zw11j.png)
![Econometric approach to finding market patterns: Autocorrelation, Heat Maps and Scatter Plots](https://c.mql5.com/i/articles/overlay.png)
Econometric approach to finding market patterns: Autocorrelation, Heat Maps and Scatter Plots
The article presents an extended study of seasonal characteristics: autocorrelation heat maps and scatter plots. The purpose of the article is to show that "market memory" is of seasonal nature, which is expressed through maximized correlation of increments of arbitrary order.
![EA remote control methods](https://c.mql5.com/2/34/RemoteControl_EA.png)
![EA remote control methods](https://c.mql5.com/i/articles/overlay.png)
EA remote control methods
The main advantage of trading robots lies in the ability to work 24 hours a day on a remote VPS server. But sometimes it is necessary to intervene in their work, while there may be no direct access to the server. Is it possible to manage EAs remotely? The article proposes one of the options for controlling EAs via external commands.
![Money-Making Algorithms Employing Trailing Stop](https://c.mql5.com/2/0/Profitable_Strategy_Trailing_Stop_MQL5.png)
![Money-Making Algorithms Employing Trailing Stop](https://c.mql5.com/i/articles/overlay.png)
Money-Making Algorithms Employing Trailing Stop
This article's objective is to study profitability of algorithms with different entries into trades and exits using trailing stop. Entry types to be used are random entry and reverse entry. Stop orders to be used are trailing stop and trailing take. The article demonstrates money-making algorithms with a profitability of about 30% per annum.
![Controlled optimization: Simulated annealing](https://c.mql5.com/2/31/icon__1.png)
![Controlled optimization: Simulated annealing](https://c.mql5.com/i/articles/overlay.png)
Controlled optimization: Simulated annealing
The Strategy Tester in the MetaTrader 5 trading platform provides only two optimization options: complete search of parameters and genetic algorithm. This article proposes a new method for optimizing trading strategies — Simulated annealing. The method's algorithm, its implementation and integration into any Expert Advisor are considered. The developed algorithm is tested on the Moving Average EA.
![Processing of trade events in Expert Advisor using the OnTrade() function](https://c.mql5.com/2/0/function_ontrade_MQL5.png)
![Processing of trade events in Expert Advisor using the OnTrade() function](https://c.mql5.com/i/articles/overlay.png)
Processing of trade events in Expert Advisor using the OnTrade() function
MQL5 gave a mass of innovations, including work with events of various types (timer events, trade events, custom events, etc.). Ability to handle events allows you to create completely new type of programs for automatic and semi-automatic trading. In this article we will consider trade events and write some code for the OnTrade() function, that will process the Trade event.
![Learn how to design a trading system by Fibonacci](https://c.mql5.com/2/52/learnhow_trading_system_fibonacci_600x314.jpg)
Learn how to design a trading system by Fibonacci
In this article, we will continue our series of creating a trading system based on the most popular technical indicator. Here is a new technical tool which is the Fibonacci and we will learn how to design a trading system based on this technical indicator.
![Learn how to design different Moving Average systems](https://c.mql5.com/2/45/why-and-how.png)
![Learn how to design different Moving Average systems](https://c.mql5.com/i/articles/overlay.png)
Learn how to design different Moving Average systems
There are many strategies that can be used to filter generated signals based on any strategy, even by using the moving average itself which is the subject of this article. So, the objective of this article is to share with you some of Moving Average Strategies and how to design an algorithmic trading system.