MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading, Strategy Testing and Optimization Articles

Screenshot
XAUUSD, M15
Demo
Who Is Who in MQL5.community? Who Is Who in MQL5.community? Subscribe to signal
FomMVR
36.92%, 1 595.40 USD
Ticks BullsTicks Bulls Try product
Ticks Bulls
Author: dupter
Demo_FileSize Script
Demo_FileSize
Author: Automated-Trading
To post a new article, please log in or register

Find us on Facebook!
Join our fan page

Follow us on Twitter
and stay tuned!

Write an article
and we will pay you 200 credits!

Download MetaTrader 5 and trade automatically

MQL5 Articles in Your MetaEditor 5

All MQL5 programming tutorials are categorized and easily accessible from the MetaEditor 5. You can choose a few topics, like "Tester", "Integration", etc., and you'll never miss a new publication in the selected categories.

Open the Toolbox of your MetaEditor 5 (Ctrl+T) and find materials on selected topics in the "Articles" tab. Hover your mouse over an article to read its annotation in the appeared pop-up box. Double click on it to open the full text of the article in your Web browser.

previous123456next
MQL5 Cookbook: Using Indicators to Set Trading Conditions in Expert Advisors
MQL5 Cookbook: Using Indicators to Set Trading Conditions in Expert Advisors

In this article, we will continue to modify the Expert Advisor we have been working on throughout the preceding articles of the MQL5 Cookbook series. This time, the Expert Advisor will be enhanced with indicators whose values will be used to check position opening conditions. To spice it up, we will create a drop-down list in the external parameters to be able to select one out of three trading indicators.

Examples, Tester, Experts 2013.05.24 Anatoli Kazharski

MQL5 Cookbook: The History of Deals And Function Library for Getting Position Properties
MQL5 Cookbook: The History of Deals And Function Library for Getting Position Properties

It is time to briefly summarize the information provided in the previous articles on position properties. In this article, we will create a few additional functions to get the properties that can only be obtained after accessing the history of deals. We will also get familiar with data structures that will allow us to access position and symbol properties in a more convenient way.

Examples, Tester, Experts 2013.05.07 Anatoli Kazharski

MQL5 Programming Basics: Time
MQL5 Programming Basics: Time

The article focuses on standard MQL5 functions for working with time, as well as programming techniques and practically useful functions for working with time that are required when creating Expert Advisors and indicators. Particular attention is paid to the general theory of time measurement. This article should be of interest primarily to novice MQL5 programmers.

Examples, Indicators, Experts 2013.04.26 Dmitry Fedoseev

Debugging MQL5 Programs
Debugging MQL5 Programs

This article is intended primarily for the programmers who have already learned the language but have not fully mastered the program development yet. It reveals some debugging techniques and presents a combined experience of the author and many other programmers.

Examples, Tester, Indicators, Experts 2013.04.19 Nikolay Demko

MQL5 Cookbook: How to Avoid Errors When Setting/Modifying Trade Levels
MQL5 Cookbook: How to Avoid Errors When Setting/Modifying Trade Levels

In continuation of our work on the Expert Advisor from the previous article of the series called "MQL5 Cookbook: Analyzing Position Properties in the MetaTrader 5 Strategy Tester", we will enhance it with a whole lot of useful functions, as well as improve and optimize the existing ones. The Expert Advisor will this time have external parameters that can be optimized in the MetaTrader 5 Strategy Tester and will in some ways resemble a simple trading system.

Examples, Tester, Experts 2013.04.16 Anatoli Kazharski

MQL5 Cookbook: Analyzing Position Properties in the MetaTrader 5 Strategy Tester
MQL5 Cookbook: Analyzing Position Properties in the MetaTrader 5 Strategy Tester

We will present a modified version of the Expert Advisor from the previous article "MQL5 Cookbook: Position Properties on the Custom Info Panel". Some of the issues we will address include getting data from bars, checking for new bar events on the current symbol, including a trade class of the Standard Library to a file, creating a function to search for trading signals and a function for executing trading operations, as well as determining trade events in the OnTrade() function.

Examples, Tester, Experts 2013.03.25 Anatoli Kazharski

MQL5 Cookbook: Position Properties on the Custom Info Panel
MQL5 Cookbook: Position Properties on the Custom Info Panel

This time we will create a simple Expert Advisor that will get position properties on the current symbol and display them on the custom info panel during manual trading. The info panel will be created using graphical objects and displayed information will be refreshed at every tick. This is going to be much more convenient than all the time having to manually run the script described in the previous article of the series called "MQL5 Cookbook: Getting Position Properties".

Examples, Experts 2013.03.14 Anatoli Kazharski

Change Expert Advisor Parameters From the User Panel "On the Fly"
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.

Examples, Expert Advisors, Experts 2013.02.12 Anatoli Kazharski

Order Strategies. Multi-Purpose Expert Advisor
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

Trading, Trading Systems, Expert Advisors, Experts 2013.01.22 Dmitry Fedoseev

Neural Networks: From Theory to Practice
Neural Networks: From Theory to Practice

Nowadays, every trader must have heard of neural networks and knows how cool it is to use them. The majority believes that those who can deal with neural networks are some kind of superhuman. In this article, I will try to explain to you the neural network architecture, describe its applications and show examples of practical use.

Examples, Expert Advisors, Experts 2013.01.18 Dmitriy Parfenovich

previous123456next