How to Start with Metatrader 5 - page 69

Sergey Golubev
Moderator
106745
Sergey Golubev  

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 :


Forum on trading, automated trading systems and testing trading strategies

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 :

correction in a bear market (Bear Market Rally) :




Sergey Golubev
Moderator
106745
Sergey Golubev  

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

Sergey Golubev
Moderator
106745
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

All about MQL5 Wizard : create robots without programming.

Alain Verleyen, 2013.10.10 10:58

What is MQL5 Wizard :

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.

  • If you need more information to create an EA with the Wizard and to understand the mechanism of trading decisions, you can read these 2 complementary articles : MQL5 Wizard: New Version and MQL5 Wizard for Dummies. With a concrete example of building and optimizing an EA with the Wizard.

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.

More to come...


You will be probably interested in this poll : Have you ever tried the MQL5 Wizard ?


Sergey Golubev
Moderator
106745
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

All about MQL5 Wizard : create robots without programming.

Alain Verleyen, 2013.10.10 11:12

Articles written for the 1st version

Warning : some information from these articles are outdated.

Forum on trading, automated trading systems and testing trading strategies

All about MQL5 Wizard : create robots without programming.

Alain Verleyen, 2013.10.10 11:13

Some ATC participants who used MQL5 Wizard :

Forum on trading, automated trading systems and testing trading strategies

All about MQL5 Wizard : create robots without programming.

Alain Verleyen, 2013.10.10 12:07

Trading Signals available from Codebase.

Not provided with standard library, if you want to use one of them, you have to download and install it.


From Metaquotes.


Trading Signals of Candlestick Patterns + Stochastic

Trade Signals Based on Dark Cloud Cover/Piercing Line

Trade Signals Based on Bullish/Bearish Meeting Lines

Trade Signals Based on 3 Black Crows/3 White Soldiers

Trade Signals Based on Bullish Engulfing/Bearish Engulfing

Trade Signals Based on Morning/Evening Stars

Trade Signals Based on Hammer/Hanging Man

Trade Signals Based on Bullish Harami /Bearish Harami

Work in progress...




Sergey Golubev
Moderator
106745
Sergey Golubev  
If you can't find what you need in the Codebase or the Market, then create a request in Freelance Service.
Sergey Golubev
Moderator
106745
Sergey Golubev  

Working with Excel

Forum on trading, automated trading systems and testing trading strategies

How to Start with Metatrader 5

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

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.

Introduction
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
Conclusion

Excel

Systems and tools

  1. Working with Excel (tools, indicators, conversion ...) - the thread 
  2. Forex data converters thread 
  3. MULTI FIBO CALCULATOR with DDE off course - the thread 
  4. FX risk calculator with DDE - the thread 
  5. Excel Spreadsheet to simulate cost averaging strategies objectively - the thread 

Articles

  1. MQL5 Cookbook: Writing the History of Deals to a File and Creating Balance Charts for Each Symbol in Excel - the article
  2. How to Prepare MetaTrader 5 Quotes for Other Applications - the article

CodeBase

  1. Export Indicator's Values - MT5 tool
  2. DDE - Server - MT5 tool
  3. History Dump CSV with heat map for Excel analysis - MT4 tool 
  4. MS Excel: Data Exchange and Management - MT4 tool 
  5. Export to Excel in Real Time - MT4 tool 
  6. MetaCOT 2 CFTC ToolBox (Set of Indicators) MT4 - COT in Excel 
  7. Export Trades to excel - MT4 script 
  8. Converting hst-files into csv files - MT4 tool


Sergey Golubev
Moderator
106745
Sergey Golubev  

Self-optimization of EA: Evolutionary and genetic algorithms

Contents
  • Introduction
  • 1. How evolutionary algorithms first appeared
  • 2. Evolutionary algorithms (methods)
  • 3. Genetic algorithms (GA)
    • 3.1. Field of application.
    • 3.2. Problems being solved
    • 3.3. Classic GA
    • 3.4. Search strategies
    • 3.5. Difference from the classic search of optimum
    • 3.6. Terminology of GA
  • 4. Advantages of GA
  • 5. Disadvantages of GA
  • 6. Experimental part
    • 6.1. Search for the best combination of predictors
      • with tabuSearch
    • 6.2. Search for the best parameters of TS:
      • with rgenoud (Genetic Optimization Using Derivatives)
      • with SOMA (Self-Organising Migrating Algorithm)
      • with GenSA (Generalized Simulated Annealing)
  • 7. Ways and methods of improving qualitative characteristics
  • Conclusion
Sergey Golubev
Moderator
106745
Sergey Golubev  
If update of MT4 to new build is not started so you can do the following (question - answer):

Forum on trading, automated trading systems and testing trading strategies

New MetaTrader 4 Build 970: Simplified demo account opening and expanded MQL4 features

Sherif Hasan, 2016.06.06 17:28

yes. me too expecting new update. its not updated till now for me. hope it will be done soon.
Just for information.
Sergey Golubev
Moderator
106745
Sergey Golubev  

Forum on trading, automated trading systems and testing trading strategies

How to Start with Metatrader 5

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.

Certainly, there are alternatives to virtual hosting but a closer look reveals that they do not compete. The first thing that comes to mind is using a home computer as a budget option. It could work, however a stable internet connection and uninterrupted power supply are not guaranteed. A VPS can be rented from a suitable provider found on the internet. That could be feasible but it implies a manual search for a server having minimum latency with the required Forex-broker's. Such a puzzle does not suit everyone.

Sergey Golubev
Moderator
106745
Sergey Golubev  

Just website was started for mobile trading:

Mobile trading on Forex, stock exchanges, and CFDs
Mobile trading on Forex, stock exchanges, and CFDs
Mobile trading on Forex, stock exchanges, and CFDs
  • www.metatrader5.com
MetaTrader 5 multi-asset trading platform is the best application for mobile trading: Trade via any iPhone, iPad, as well as Android-powered mobile phone and tablet. The free MetaTrader 5 applications allow you to open separate accounts for various markets — netting for exchanges and hedging for Forex. Indicators and graphical objects...