MQL Articels

468 bookmarks
Custom sorting
Developing multi-module Expert Advisors - MQL5 Articles
Developing multi-module Expert Advisors - MQL5 Articles
MQL programming language allows implementing the concept of modular development of trading strategies. The article shows an example of developing a multi-module Expert Advisor consisting of separately compiled file modules.
·mql5.com·
Developing multi-module Expert Advisors - MQL5 Articles
Trading DiNapoli levels - MQL5 Articles
Trading DiNapoli levels - MQL5 Articles
The article considers one of the variants for Expert Advisor practical realization to trade DiNapoli levels using MQL5 standard tools. Its performance is tested and conclusions are made.
·mql5.com·
Trading DiNapoli levels - MQL5 Articles
Patterns available when trading currency baskets. Part II - MQL5 Articles
Patterns available when trading currency baskets. Part II - MQL5 Articles
We continue our discussion of the patterns traders can come across while trading currency baskets. In this part, we will consider the patterns formed when using combined trend indicators. Indicators based on a currency index are to be used as the analytical tool.
·mql5.com·
Patterns available when trading currency baskets. Part II - MQL5 Articles
Patterns available when trading currency baskets - MQL5 Articles
Patterns available when trading currency baskets - MQL5 Articles
Following up our previous article on the currency baskets trading principles, here we are going to analyze the patterns traders can detect. We will also consider the advantages and the drawbacks of each pattern and provide some recommendations on their use. The indicators based on Williams' oscillator will be used as analysis tools.
·mql5.com·
Patterns available when trading currency baskets - MQL5 Articles
Neural network: Self-optimizing Expert Advisor - MQL5 Articles
Neural network: Self-optimizing Expert Advisor - MQL5 Articles
Is it possible to develop an Expert Advisor able to optimize position open and close conditions at regular intervals according to the code commands? What happens if we implement a neural network (multilayer perceptron) in the form of a module to analyze history and provide strategy? We can make the EA optimize a neural network monthly (weekly, daily or hourly) and continue its work afterwards. Thus, we can develop a self-optimizing EA.
·mql5.com·
Neural network: Self-optimizing Expert Advisor - MQL5 Articles
The 'Turtle Soup' trading system and its 'Turtle Soup Plus One' modification - MQL5 Articles
The 'Turtle Soup' trading system and its 'Turtle Soup Plus One' modification - MQL5 Articles
The article features formalized rules of two trading strategies 'Turtle Soup' and 'Turtle Soup Plus One' from Street Smarts: High Probability Short-Term Trading Strategies by Linda Bradford Raschke and Laurence A. Connors. The strategies described in the book are quite popular. But it is important to understand that the authors have developed them based on the 15...20 year old market behavior.
·mql5.com·
The 'Turtle Soup' trading system and its 'Turtle Soup Plus One' modification - MQL5 Articles
80-20 trading strategy - MQL5 Articles
80-20 trading strategy - MQL5 Articles
The article describes the development of tools (indicator and Expert Advisor) for analyzing the '80-20' trading strategy. The trading strategy rules are taken from the work "Street Smarts. High Probability Short-Term Trading Strategies" by Linda Raschke and Laurence Connors. We are going to formalize the strategy rules using the MQL5 language and test the strategy-based indicator and EA on the recent market history.
·mql5.com·
80-20 trading strategy - MQL5 Articles
The Easy Way to Evaluate a Signal: Trading Activity, Drawdown/Load and MFE/MAE Distribution Charts - MQL5 Articles
The Easy Way to Evaluate a Signal: Trading Activity, Drawdown/Load and MFE/MAE Distribution Charts - MQL5 Articles
Subscribers often search for an appropriate signal by analyzing the total growth on the signal provider's account, which is not a bad idea. However, it is also important to analyze potential risks of a particular trading strategy. In this article we will show a simple and efficient way to evaluate a Trading Signal based on its performance values.
·mql5.com·
The Easy Way to Evaluate a Signal: Trading Activity, Drawdown/Load and MFE/MAE Distribution Charts - MQL5 Articles
Universal Expert Advisor: Trading in a Group and Managing a Portfolio of Strategies (Part 4) - MQL5 Articles
Universal Expert Advisor: Trading in a Group and Managing a Portfolio of Strategies (Part 4) - MQL5 Articles
In the last part of the series of articles about the CStrategy trading engine, we will consider simultaneous operation of multiple trading algorithms, will learn to load strategies from XML files, and will present a simple panel for selecting Expert Advisors from a single executable module, and managing their trading modes.
·mql5.com·
Universal Expert Advisor: Trading in a Group and Managing a Portfolio of Strategies (Part 4) - MQL5 Articles
Self-optimization of EA: Evolutionary and genetic algorithms - MQL5 Articles
Self-optimization of EA: Evolutionary and genetic algorithms - MQL5 Articles
This article covers the main principles set fourth in evolutionary algorithms, their variety and features. We will conduct an experiment with a simple Expert Advisor used as an example to show how our trading system benefits from optimization. We will consider software programs that implement genetic, evolutionary and other types of optimization, and provide examples of application when optimizing a predictor set and parameters of the trading system.
·mql5.com·
Self-optimization of EA: Evolutionary and genetic algorithms - MQL5 Articles
Universal Expert Advisor: Custom Strategies and Auxiliary Trade Classes (Part 3) - MQL5 Articles
Universal Expert Advisor: Custom Strategies and Auxiliary Trade Classes (Part 3) - MQL5 Articles
In this article, we will continue analyzing the algorithms of the CStrategy trading engine. The third part of the series contains the detailed analysis of examples of how to develop specific trading strategies using this approach. Special attention is paid to auxiliary algorithms — Expert Advisor logging system and data access using a conventional indexer (Close[1], Open[0] etc.)
·mql5.com·
Universal Expert Advisor: Custom Strategies and Auxiliary Trade Classes (Part 3) - MQL5 Articles
MetaTrader 5 features hedging position accounting system - MQL5 Articles
MetaTrader 5 features hedging position accounting system - MQL5 Articles
In order to expand possibilities of retail Forex traders, we have added the second accounting system — hedging. Now, it is possible to have multiple positions per symbol, including oppositely directed ones. This paves the way to implementing trading strategies based on the so-called "locking" — if the price moves against a trader, they can open a position in the opposite direction.
·mql5.com·
MetaTrader 5 features hedging position accounting system - MQL5 Articles
Trading signals module using the system by Bill Williams - MQL5 Articles
Trading signals module using the system by Bill Williams - MQL5 Articles
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.
·mql5.com·
Trading signals module using the system by Bill Williams - MQL5 Articles
Area method - MQL5 Articles
Area method - MQL5 Articles
The "area method" trading system works based on unusual interpretation of the RSI oscillator readings. The indicator that visualizes the area method, and the Expert Advisor that trades using this system are detailed here. The article is also supplemented with detailed findings of testing the Expert Advisor for various symbols, time frames and values of the area.
·mql5.com·
Area method - MQL5 Articles
Universal Expert Advisor: Trading Modes of Strategies (Part 1) - MQL5 Articles
Universal Expert Advisor: Trading Modes of Strategies (Part 1) - MQL5 Articles
Any Expert Advisor developer, regardless of programming skills, is daily confronted with the same trading tasks and algorithmic problems, which should be solved to organize a reliable trading process. The article describes the possibilities of the CStrategy trading engine that can undertake the solution of these tasks and provide a user with convenient mechanism for describing a custom trading idea.
·mql5.com·
Universal Expert Advisor: Trading Modes of Strategies (Part 1) - MQL5 Articles
Market Theory - MQL5 Articles
Market Theory - MQL5 Articles
A logically complete market theory that would cover all types and varieties of markets for goods and services, micro and macro markets like Forex, hasn't been available until now. This article covers the essence of a new market theory based on the profit analysis, reveals patterns of the current price change and the principle of the mechanism operation that allows the price to find its most optimal value by forming a chain of virtual prices that can develop the controlling influence on the actual price. Mechanisms of formation and change of market trends are also identified here.
·mql5.com·
Market Theory - MQL5 Articles
Indicator for Spindles Charting - MQL5 Articles
Indicator for Spindles Charting - MQL5 Articles
The article regards spindle chart plotting and its usage in trading strategies and experts. First let's discuss the chart's appearance, plotting and connection with japanese candlestick chart. Next we analyze the indicator's implementation in the source code in the MQL5 language. Let's test the expert based on indicator and formulate the trading strategy.
·mql5.com·
Indicator for Spindles Charting - MQL5 Articles
Plotting trend lines based on fractals using MQL4 and MQL5 - MQL5 Articles
Plotting trend lines based on fractals using MQL4 and MQL5 - MQL5 Articles
The article describes the automation of trend lines plotting based on the Fractals indicator using MQL4 and MQL5. The article structure provides a comparative view of the solution for two languages. Trend lines are plotted using two last known fractals.
·mql5.com·
Plotting trend lines based on fractals using MQL4 and MQL5 - MQL5 Articles
Random Forests Predict Trends - MQL5 Articles
Random Forests Predict Trends - MQL5 Articles
This article considers using the Rattle package for automatic search of patterns for predicting long and short positions of currency pairs on Forex. This article can be useful both for novice and experienced traders.
·mql5.com·
Random Forests Predict Trends - MQL5 Articles
Programming EA's Modes Using Object-Oriented Approach - MQL5 Articles
Programming EA's Modes Using Object-Oriented Approach - MQL5 Articles
This article explains the idea of multi-mode trading robot programming in MQL5. Every mode is implemented with the object-oriented approach. Instances of both mode classes hierarchy and classes for testing are provided. Multi-mode programming of trading robots is supposed to take into account all peculiarities of every operational mode of an EA written in MQL5. Functions and enumeration are created for identifying the mode.
·mql5.com·
Programming EA's Modes Using Object-Oriented Approach - MQL5 Articles
Bi-Directional Trading and Hedging of Positions in MetaTrader 5 Using the HedgeTerminal API, Part 2 - MQL5 Articles
Bi-Directional Trading and Hedging of Positions in MetaTrader 5 Using the HedgeTerminal API, Part 2 - MQL5 Articles
This article describes a new approach to hedging of positions and draws the line in the debates between users of MetaTrader 4 and MetaTrader 5 about this matter. It is a continuation of the first part: "Bi-Directional Trading and Hedging of Positions in MetaTrader 5 Using the HedgeTerminal Panel, Part 1". In the second part, we discuss integration of custom Expert Advisors with HedgeTerminalAPI, which is a special visualization library designed for bi-directional trading in a comfortable software environment providing tools for convenient position management.
·mql5.com·
Bi-Directional Trading and Hedging of Positions in MetaTrader 5 Using the HedgeTerminal API, Part 2 - MQL5 Articles
Liquid Chart - MQL5 Articles
Liquid Chart - MQL5 Articles
Would you like to see an hourly chart with bars opening from the second and the fifth minute of the hour? What does a redrawn chart look like when the opening time of bars is changing every minute? What advantages does trading on such charts have? You will find answers to these questions in this article.
·mql5.com·
Liquid Chart - MQL5 Articles
Indicator for Constructing a Three Line Break Chart - MQL5 Articles
Indicator for Constructing a Three Line Break Chart - MQL5 Articles
This article is dedicated to the Three Line Break chart, suggested by Steve Nison in his book "Beyond Candlesticks". The greatest advantage of this chart is that it allows filtering minor fluctuations of a price in relation to the previous movement. We are going to discuss the principle of the chart construction, the code of the indicator and some examples of trading strategies based on it.
·mql5.com·
Indicator for Constructing a Three Line Break Chart - MQL5 Articles
Building a Social Technology Startup, Part II: Programming an MQL5 REST Client - MQL5 Articles
Building a Social Technology Startup, Part II: Programming an MQL5 REST Client - MQL5 Articles
Let's now shape the PHP-based Twitter idea which was introduced in the first part of this article. We are assembling the different parts of the SDSS. Regarding the client side of the system architecture, we are relying on the new MQL5 WebRequest() function for sending trading signals via HTTP.
·mql5.com·
Building a Social Technology Startup, Part II: Programming an MQL5 REST Client - MQL5 Articles
Freelance Jobs on MQL5.com - Developer's Favorite Place - MQL5 Articles
Freelance Jobs on MQL5.com - Developer's Favorite Place - MQL5 Articles
Developers of trading robots no longer need to market their services to traders that require Expert Advisors - as now they will find you. Already, thousands of traders place orders to MQL5 freelance developers, and pay for work in on MQL5.com. For 4 years, this service facilitated three thousand traders to pay for more than 10 000 jobs performed. And the activity of traders and developers is constantly growing!
·mql5.com·
Freelance Jobs on MQL5.com - Developer's Favorite Place - MQL5 Articles
How we developed the MetaTrader Signals service and Social Trading - MQL5 Articles
How we developed the MetaTrader Signals service and Social Trading - MQL5 Articles
We continue to enhance the Signals service, improve the mechanisms, add new functions and fix flaws. The MetaTrader Signals Service of 2012 and the current MetaTrader Signals Service are like two completely different services. Currently, we are implementing A Virtual Hosting Cloud service which consists of a network of servers to support specific versions of the MetaTrader client terminal.
·mql5.com·
How we developed the MetaTrader Signals service and Social Trading - MQL5 Articles
Johnpaul77 Signal Providers: "Our Strategy Remains Profitable for More Than Three Years Now. So Why Would We Change It?" - MQL5 Articles
Johnpaul77 Signal Providers: "Our Strategy Remains Profitable for More Than Three Years Now. So Why Would We Change It?" - MQL5 Articles
Let us reveal a little secret: MQL5.com website visitors spend most of their time on Johnpaul77 signal's page. It is a leader of our signal rating having about 900 subscribers with the total funds of $5.7 million on real accounts. We have interviewed the signal's providers. As it turned out, there are four of them! How are duties distributed among the team members? What technical tools do they use? Why do they call themselves John Paul? And finally, how have common gamers from Indonesia become providers of the top signal on MQL5.com? Find out all that in the article.
·mql5.com·
Johnpaul77 Signal Providers: "Our Strategy Remains Profitable for More Than Three Years Now. So Why Would We Change It?" - MQL5 Articles
MQL5.com Freelance: Developers' Source of Income (Infographic) - MQL5 Articles
MQL5.com Freelance: Developers' Source of Income (Infographic) - MQL5 Articles
On the occasion of the MQL5 Freelance Service fourth birthday, we have prepared an info-graphic demonstrating the service results for the entire time of its existence. The figures speak for themselves: more than 10 000 orders worth about $600,000 in total have been executed to date, while 3 000 customers and 300 developers have already used the service.
·mql5.com·
MQL5.com Freelance: Developers' Source of Income (Infographic) - MQL5 Articles