How To Create EA MQL5

 

Hi

I need your help... i need E-books or learning material of how to create an Expert Adviser using mql5

 

Forum on trading, automated trading systems and testing trading strategies

How to Start with Metatrader 5

Sergey Golubev, 2016.06.01 13:15

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:

MetaTrader 5 - More Than You Can Imagine!
"The development of MetaTrader 5 started in 2007. MetaTrader 5 was conceived as a revolutionary, multi-market platform that can run on Forex as well as on any other financial market. A lot of work has been done since then, and the result of this work is the platform that provides unlimited opportunities to traders. In this article, we will talk about all the key features of MetaTrader 5 and carry out a comparative analysis with the previous version of the trading platform."

===

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 construction."

Create Your Own Trading Robot in 6 Steps!
"The world around us is changing rapidly, and we try to keep up with it. We do not have time to learn something new, and this is a normal attitude of a normal human being. Traders are people just like everyone else, they want to get maximum results for the minimum of effort. Specially for traders, MetaEditor 5 offers a wonderful MQL5 Wizard. There are several articles describing how to create an automated trading system using the wizard, including a "light version" MQL5 Wizard for Dummies and a "version from developers " - MQL5 Wizard: New Version."

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."

MQL5 Wizard: How to Create a Module of Trailing of Open Positions

"This article describes the principles of writing modules of trailing open position for their further use in the MQL5 Wizard."

MQL5 Wizard: How to Create a Risk and Money Management Module

"MetaTrader 5 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."

MQL5 Wizard: Placing Orders, Stop-Losses and Take Profits on Calculated Prices. Standard Library Extension

"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."

MQL5 Wizard: How to Teach an EA to Open Pending Orders at Any Price

"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.
All about MQL5 Wizard : create robots without programming.
  • 2013.10.10
  • www.mql5.com
What is MQL5 Wizard : I will try to centralize a maximum of informations about this wonderful tool which is MQL5 Wizard, both for traders as for pr...
 

Realy Thank You ... I tried the Wizard its not that good it wont give me all i want to execute my strategy so if you may can you find me some learning materials about mql5 programming (updated ones) not the manual I need to create an EA from scratch so i can apply my strategies freely.

Thank You Again For Your Effort.  

 
themasterx7 :

Realy Thank You ... I tried the Wizard its not that good it wont give me all i want to execute my strategy so if you may can you find me some learning materials about mql5 programming (updated ones) not the manual I need to create an EA from scratch so i can apply my strategies freely.

Thank You Again For Your Effort.  

Here you can learn - slowly, step by step ...

 

Developing a trading Expert Advisor from scratch: Adding Volume at Price (I)

Developing a trading Expert Advisor from scratch: Adding Volume at Price

Anyone who trades trying to have a certain degree of confidence must have this indicator on their chart. Most often the indicator is used by those who prefer tape reading while trading. Also, the indicator can be utilized by those who trade only based on the Price Action analysis. This is an extremely useful horizontal volume indicator which can be utilized to analyze the volume of trades that occurred at a particular price time. However, reading the indicator correctly can be tricky. I will add a link at the end of the article so you can learn more about this.

Developing a trading Expert Advisor from scratch
Developing a trading Expert Advisor from scratch
  • www.mql5.com
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.
 
Developing a trading Expert Advisor from scratch (Part 9): A conceptual leap (II)
Developing a trading Expert Advisor from scratch (Part 9): A conceptual leap (II)
  • www.mql5.com
In this article, we will place Chart Trade in a floating window. In the previous part, we created a basic system which enables the use of templates within a floating window.
 
themasterx7:

Hi

I need your help... i need E-books or learning material of how to create an Expert Adviser using mql5. 

I have some programming background and I modified the MACD example to create my first EA on MT4. I used half of the time checking the documentation or searching for some basic questions on google. Getting your hand dirty is the fastest way to learn programing. Backup the example EAs and then you could modify and/or delete the lines you don't understand and run it in the strategy tester to see if there's any differences. And don't be afraid of making mistakes, it does no harm unless you attach the EA to a live account before you know what's going on. 

 

Developing a trading Expert Advisor from scratch (Part 11): Cross order system

There is one type of assets that makes traders' life very difficult for traders — it is the futures contracts. But why do they make life difficult? When a financial instrument contract expires, a new contract is created which we then trade. Actually, upon contract expiration, we need to finish any its analysis, save everything as a template and import this template into a new contract to continue the analysis. This is a common thing for anyone trade this type of asset, but even futures contracts have some history, and using this history, we can analyze them on an ongoing basis.

-------------------
Developing a trading Expert Advisor from scratch (Part 11): Cross order system
Developing a trading Expert Advisor from scratch (Part 11): Cross order system
  • www.mql5.com
In this article we will create a system of cross orders. There is one type of assets that makes traders' life very difficult for traders — futures contracts. But why do they make life difficult?
Reason: