Forum on trading, automated trading systems and testing trading strategies
How to Start with Metatrader 5
Sergey Golubev, 2013.07.01 21:07
Just about AbsoluteStrength indicator and how to use it to estimate the primary and secondary trend :
Gold is Reaching at 1270
Sergey Golubev, 2013.07.01 21:04
How can we know: correction, or bullish etc (in case of using indicator for example)?
well ... let's take AbsoluteStrength indicator from MT5 CodeBase.
bullish (Bull market) :
bearish (Bear market) :
ranging (choppy market - means: buy and sell on the same time) :
flat (sideways market - means: no buy and no sell) :
correction in a bear market (Bear Market Rally) :
I collected the article here for someone who does not have programming knowledge to create their EAs and indicators and want to create EAs and indicators. So, we can use MQL5 Wizard for that.
In the beginning -please read this introduction article which is having many usefull links to the other useful sources, I mean - this is the key article for the traders who are going to use Metatrader 5 for example:
MQL5 Wizard article about HowTo create EAs and indicators in very quick way:
MQL5 Wizard: New Version"In this article we describe new possibilities of the MQL5 Wizard and
explain the changes in the architecture of Expert Advisors generated
using this application."
MQL5 Wizard for Dummies"In the new version of the Wizard
we have expanded the functionality of the program. Now it enables you
to create Expert Advisors based on a combination of several signals.
This innovation allows the use of sophisticated analysis in an Expert
Advisor to get detailed accurate signals. Nevertheless, this innovation
does not complicate the process of generating an EA. It still implies a
step-by-step selection of required parameters as a base for EA
MQL5: Create Your Own Indicator"Despite the fact that there are a lot of ready indicators, which have
become classics already, the necessity to create one's own indicators
will always exist. Such indicators that we create using our own
algorithms are called custom indicators. In this article we will discuss how to create a simple custom indicator."
Create Your Own Expert Advisor in MQL5 Wizard"The knowledge of programming languages is no longer a prerequisite for
creating trading robots. Earlier lack of programming skills was an
impassable obstacle to the implementation of one's own trading
strategies, but with the emergence of the MQL5 Wizard,
the situation radically changed. Novice traders can stop worrying
because of the lack of programming experience - with the new Wizard,
which allows you to generate Expert Advisor code, it is not necessary.
The program will do all the work itself."
MQL5 Wizard: Creating Expert Advisors without Programming"In this article we will consider automatic generation of Expert Advisor's source code using MQL5 Wizard. And there will be nothing to program!"
Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners"This article is aimed at beginners who wish to learn how to write simple Expert Advisors in the new MQL5 language. We
will begin first by defining what we want our EA (Expert advisor) to do, and then move on to how we want the EA to do it."
"This article describes the principles of writing modules of trailing open position for their further use in the MQL5 Wizard."
provides a powerful tool that allows you to quickly check various
trading ideas. This is generation of Expert Advisors using the MQL5 Wizard on the basis of ready trading strategies."
"The MQL5 Standard Library is a useful aid in developing large projects that require a strict architecture. The MQL5 Wizard
allows assembling ready made parts into an extensive scheme in the
dialog mode within a few minutes, which cannot be overestimated. The
MQL5 Wizard automates gathering all parts of the Expert together and
automatically declares module parameters in the Expert according to
their handles. When there is a great number of various modules involved,
such automation saves a lot of time and routine operations."
"An Expert Advisor generated using the MQL5 Wizard can only open pending
orders at the fixed distance from the current price. This means that if
the market situation changes (e.g. a change in market volatility), the
Expert Advisor will have to be run again with new parameters."
Custom module is necessary to create in case we want to make an EA at MQL5 Wizard using custom indicators: read this article about how to do it.
This is the interesting article which can be useful just in case we want to combine some indicators onto one indicator for example:
How to Write an Indicator on the Basis of Another Indicator "In MQL5 besides creation a new custom indicator from a scratch as described in the "MQL5: Create Your Own Indicator"
article, you can write one on the basis of another indicator, in-built
in the client terminal or a custom one. There are two ways: first is to
improve an indicator, add new calculations and plots (this variant
applies only to the custom indicators that have open source code),
second way is to use an indicator in-built in the terminal or to use an
existing custom indicator via the iCustom() or IndicatorCreate() functions."
All about MQL5 Wizard : create robots without programming.
Alain Verleyen, 2013.10.10 10:58
The MetaTrader 5 Trading Platform includes the MQL5 Wizard,
which allows to quickly generate code of an Expert Advisor (Expert
Advisor builder). With MQL5 Wizard, knowledge of programming languages
is no longer a prerequisite for creating trading robots. In the past, it
really was an impassable obstacle to create automated trading
strategies, but the release of the MQL5 Wizard changed the situation
radically. With this new expert advisor builder, the programming
experience is not required - the application will do all the necessary
work to create a free Expert Advisors.
I will try to centralize a maximum of informations about this wonderful tool which is MQL5 Wizard, both for traders as for programmers.
MQL5 Wizard for traders.
A detailed description of each trading signal (standard) can be found in the MQL5 Reference.
More to come...
MQL5 Wizard for programmers.
Warning : There were two versions of MQL5 Wizard, and some articles were written for the first (obsolete) version. Most information from these articles are still relevant, but some are outdated.
You will be probably interested in this poll : Have you ever tried the MQL5 Wizard ?
Alain Verleyen, 2013.10.10 11:12
Warning : some information from these articles are outdated.
Alain Verleyen, 2013.10.10 11:13
Alain Verleyen, 2013.10.10 12:07
Not provided with standard library, if you want to use one of them, you have to download and install it.
Trading Signals of Candlestick Patterns + Stochastic
Work in progress...
Sergey Golubev, 2014.03.29 12:29
I think - no way to import some data directly to MT5. You can export MT5 data to excel for example.
If I am wrong so sorry.
Sergey Golubev, 2014.03.07 12:57
How to Prepare MetaTrader 5 Quotes for Other Applications
Before I started studying MQL5, I tried many other applications for
development of trading systems. I can't say that I wasted my time. Some
of them contain a few useful tools allowing users to save time, deal
with many issues, destroy some myths and quickly select some further
direction for development without the knowledge of programming
These applications need historical data. Due to the absence of some
certain standard data format, they often had to be edited before they
could be used (for example, in Excel) to comply with the format
applicable to the necessary program. Even if you are able to figure out
all necessary details, many things should still be done manually. Users
can find different versions of scripts designed to copy the quotes from
MetaTrader 4 to the necessary format. If there is such a demand, we can
also develop the version of the script for MQL5.
1. Covered Topics
2. Data Format
3. Program's External Parameters
4. Checking Parameters Entered by a User
5. Global Variables
6. Information Panel
7. Application's Main Block
8. Creating Folders and Filing the Data
Systems and tools
Self-optimization of EA: Evolutionary and genetic algorithms
New MetaTrader 4 Build 970: Simplified demo account opening and expanded MQL4 features
Sherif Hasan, 2016.06.06 17:28
Alexey, 2016.06.07 14:03
To update to the new version, you can open a demo account at our server MetaQuotes-Demo.
Sergey Golubev, 2014.11.07 14:46
Why Virtual Hosting On The MetaTrader 4 And MetaTrader 5 Is Better Than Usual VPS
Renting a virtual server right from the MetaTrader 4 and MetaTrader 5
terminals is the optimal way to ensure uninterrupted work of your
trading robots and Signal
subscriptions. Essentially, it is an analogue of a VPS though it is
better and more suitable for addressing needs and challenges that a
trader comes across. The server can be rented straight from your
MetaTrader. It takes only a couple mouse clicks for Experts Advisors,
indicators, scripts together with Signal subscriptions and settings to
be transferred to the virtual server. The Virtual Hosting Cloud network
was developed specially for MetaTrader and has all the advantages of a native solution.
Questions about VPS configuration
Sergey Golubev, 2016.06.10 10:29
This is more about it:
Just website was started for mobile trading: