and the following article -
Forum on trading, automated trading systems and testing trading strategies
How to Start with Metatrader 5
Sergey Golubev, 2017.07.22 07:47
Limitless Opportunities with MetaTrader 5 and MQL5
I'm new, can you help me?
There is one post for newbies (about "where do I start from") -
Sergey Golubev, 2017.10.03 06:39
Just for newbies (if you are new to this website for example) - it is strongly recommended to read the following articles/posts/threads -
1. User Memo
Sergey Golubev, 2016.12.30 17:26
2. How to make a search on the forum/mql5 portal
Where Do I start from?
Sergey Golubev, 2017.07.25 15:47
How to search:
How to make a search on the forumhttps://www.mql5.com/en/forum/193510
3.1. How to Start with MT5, a summary ! (incl the previous thread:How to start with MetaTrader and forex, the beginning) MetaTrader 4 Help - Client Terminal – User Guide MetaTrader 5 Help - Trading Platform — User Manual
3.2. All (not yet) about Strategy Tester, Optimization and Cloud
3.3. ASCTREND SYSTEM summary (incl 2 good EAs)
3.4. BRAINTRADING SYSTEM HowTo
3.5. PriceChannel Parabolic system (incl 2 versions of the EA)
3.6. Market Condition Evaluation (2 EAs were created)
3.8. Financial and trading videos - Table of Contents
3.9. All about Calendar tab and Macro Economic Events
3.10 All about MQL5 Wizard : create robots without programming
4. First key article:MetaTrader 5 - More Than You Can Imagine!
5. The second key article:Limitless Opportunities with MetaTrader 5 and MQL5
6. How to add the broker to MT5:
6.1. MetaTrader 5 Help - Open an Account
6.2. MetaTrader 5 Android OS Help - Opening a Demo Account
6.3. MetaTrader 5 iPhone/iPad Help - Connecting to an Account and Opening a Demo Account
9. MQL5 VPS for MT4/MT5
9.1. How to subscribe to VPS https://www.mql5.com/en/forum/187872#comment_4851530
9.2. You can move your VPS subscription from one account to another https://www.mql5.com/en/forum/172120#comment_4166892
9.3. MQL5 VPS descriptionhttps://www.mql5.com/en/forum/172553#comment_4185979
9.4. Monitor VPS https://www.mql5.com/en/forum/188920#comment_4800677
9.5. Synchronize - https://www.mql5.com/en/forum/211508
10.1. Find a Server by the Broker's Name:https://www.mql5.com/en/forum/9950/page88#comment_3981953 https://www.mql5.com/en/forum/214820
10.2. Help for beginnershttps://www.mql5.com/en/forum/214904
10.3. US brokershttps://www.mql5.com/en/forum/12423/page500#comment_4736742
11. Promotion:https://www.mql5.com/en/forum/9950/page88#comment_3982032 https://www.mql5.com/en/forum/9950/page88#comment_3982030 https://www.mql5.com/en/forum/9950/page88#comment_3982036
12. Freelance, decompilation, the rules, examples of the decompiled code:https://www.mql5.com/en/forum/203200
13. General rules and best pratices of the Forum
13.1. Thread with the discussion
13.2. Forum rules
14. The thread about threads: what's going around the forum everywhere Good thread if you are looking for something new and modern (and free one)
15. MT5, mql5, mql5.com suggestions for improvement thread
16. How to subscribe to topic or invite a person into the topic - the thread
MetaEditor (which is updated together with Metatrader) was upgraded a lot. A lot!More code protection, projects, and more and more.You can try to find it by yourself, or wait for the releases which will be published during the week.
Just for information.
It is very interesting update especially for MetaEditor so seems I will need to learn about it -
MetaTrader 5 Platform Beta Build 1700: Projects in MetaEditor and Synthetic financial instruments
MetaQuotes Software Corp., 2017.12.05 14:33
The beta version of the updated MetaTrader 5 platform will be released on 6 December 2017. We will update our public MetaQuotes-Demo server located at access.metatrader5.com:443. We invite all traders to join testing in order to evaluate the updated platform features and to help developers fix errors.
To update the MetaTrader 5 platform up to build 1700, connect to access.metatrader5.com server:443.
The final build of the new MetaTrader 5 platform will be released after the public beta test.
The update will feature the following changes:
50.14348112 * pow(ask(EURUSD),-0.576) * pow(USDJPY,0.136) * pow(ask(GBPUSD),-0.119) * pow(USDCAD,0.091) * pow(USDSEK,0.042) * pow(USDCHF,0.036)
const string symbol, // Symbol name
const MqlTick& ticks // The array with tick data that should be applied to the custom symbol
void& array1, // The first array
void& array2 // The second array
//| Script program start function |
//--- Template file as a binary array
unsigned char my_template=
0xFF,0xFE,0x3C, ... ,0x00 // The data array in this example is shortened
//--- Saving and applying the template
Print("Custom template saved in \\MQL5\\Files");
Print("Custom template applied to the current chart");
Print("Failed to apply custom template");
Print("Failed to save custom template");
The update will be available through the LiveUpdate system.
Sergey Golubev, 2017.12.07 08:47
Very interesting article was published today -
How to trade on an external cryptocurrency exchange via MetaTrader 5
Not so long ago, the MQL5 language developers have introduced the updated functionality featuring the ability to develop custom symbols and charts. The broad traders' community has not yet had time to appreciate the power of this innovation, but even an easy and unobtrusive brainstorm shows an enormous potential hidden in the custom symbols. Together with other MQL tools, they allow you to implement many of the most daring and interesting ideas.
From now on, MetaTrader 5 is not just a terminal that interacts with one DC. Instead, it is a self-sufficient analytical platform able to connect to various exchanges via the API, as well as visualize price movements and trade flows. A small set of new features turns the terminal into an open system rather than a toolbox containing a limited number of trading tools. In my opinion, custom tools can also become powerful analytical capabilities.
Let's illustrate the new language features using the popular subject of cryptocurrencies as an example. I believe, it will further strengthen the community's interest in custom symbols.
Who might benefit from the article:
New MetaTrader 5 Build 1730: Projects in MetaEditor and Synthetic financial instruments
MetaQuotes Software Corp., 2017.12.20 13:49
The MetaTrader 5 platform update will be released on December 21, 2017.
Full-featured projects are now available in MetaEditor. The program development process has become more convenient. Now the main MQ5 program file does not appear as the project. The project is a separate "MQPROJ" file, which stores program settings, compilation parameters and information about all used files. Main project settings can be accessed from a separate dialog box, so there is no need to specify them in the source code via #property now.
A separate tab in the Navigator is provided for work convenience within the project. All files, such as include, resource, header and other files are arranged into categories on this tab. All files are automatically added to the project navigator. For example, if you include a new MQH file, it will automatically appear in the "Dependencies" section of the navigator. Support for new projects has also been implemented in the updated MQL5 Storage online repository. Now, it has become much more convenient to develop large projects through collaboration with other members of the MQL5.community.
New Shared Projects section is provided for group projects. A project created in this section is immediately sent to the storage: you can grant permissions to other users and start collaboration right away.
When you compile a project in Shared Projects, an executable EX5 file is automatically copied to the local Experts, Indicators or Scripts directory depending on the program type. You can easily launch the program on a chart without having to copy files manually.
What's New in the MQL5 Storage Operation
To implement support for new shared projects, we have modified the protocol of operation with the MQL5 Storage. Therefore, you will need to perform a checkout of all data from the storage after the platform update. Data stored at the MQL5 storage will not be lost or affected during the update.
The 'Checkout from Storage' command is unavailable now. Instead, the 'Activate MQL5 Storage' and 'Update from Storage' commands are used to receive data:
New Projects: Examples of Creation and Operation Details
A new project entity has been added in MetaEditor. A project is an mqproj file that stores common program properties and information about all used files. Now, program properties can be conveniently managed from a separate MetaEditor dialog instead of manual modification of properties in the source code (using #property directives).
If you have available code, you can easily test new projects by using the 'New Project from Source' command.
In the directory where the selected file is located, a new project file with the same name and the mqproj extension will be created. The main program properties specified in the source code via #property will be automatically added to the project, including the name, copyright, version, link to the developer's site and program description.
Two new options for compiling MQL5 programs have been added to project properties:
To work with projects, use a separate Project tab in the Navigator window. All files used in a project are displayed on this tab in a convenient form. When a project is generated from a source file, all used include files (specified using the #include directory in the main MQ5 file and in its include files) are automatically added to the Dependencies section.
When a new include file is added to the source code, it also appears in the project Navigator. Used header files are added to the Headers section; images, sounds and other MQL5 programs used in the project as resource are added to the Resources section. MQ5 files with the source code are displayed in the Sources section. In the 'Settings and files' section, you can add other files, such as set files for testing and chart templates.
Use context menu commands to add existing files to a project or to delete files from it. Be careful when deleting files, since you can remove a file from the project (remove the binding) or completely delete it from the hard disk:
Creation of a new project is as easy as the creation of a normal MQL5 program. Click 'New Project', select the type of new program and specify properties (such as name, event handlers, etc) in the MQL5 Wizard.
To obtain an executable EX5 file, you can open the project and press F7 (the compilation command) or open the main MQ5 file of the program and compile it.
Shared Projects in MQL5 Storage: Operation Details
Shared projects are managed from a separate Shared Projects section. If you have not connected the storage yet, execute the 'Activate MQL5 Storage' command from the context menu of the desired folder. MetaEditor will check if your storage contains any saved data and if there are any share projects available to you. All available data will be retrieved from the storage and uploaded to your computer (the checkout operation). Available group projects appear in the Shared Projects section. To retrieve the projects, execute "Checkout from Storage" in the context menu.
To create a new group project, select the Shared Projects folder and click "New Project":
Then complete standard MQL5 steps: set the type, name and properties of the desired program. For group projects, you should use clear and understandable names, so that other participants could easily find them. Only Latin letters and numbers without spaces can be used in project names.
A created object is immediately added to the MQL5 Storage. Standard Library files used in the project are not added to the storage, and you can add them manually.
To allow other participants to work with the project, open its properties. From here you can grant permissions to selected users by specifying their MQL5.community login, as well as set common parameters for the group work:
When you compile a group project, the executable EX5 file is automatically copied to the local Experts, Indicators or Scripts directory depending on the program type. It allows you to instantly run the program in the terminal without having to copy it manually to the proper directory.
Public Projects in MQL5 Storage: Participation in Development
As mentioned above, each group project in MQL5 Storage has publicity settings: the project can be private or open to other users. Now, all projects you can freely join are displayed in the separate "Public Projects" tab.
Everyone can find an exciting project and take part in its development. Simply click Join and receive the project from the storage.
Terminal: Now, the trading platform allows creating synthetic financial instruments, i.e. symbols based on one or more existing instruments. The user should set the formula for calculating quotes, after which the platform will generate ticks of the synthetic instrument in real time, and also will create its minute history.
How It Works
For example, you can create an instrument showing the dollar index (USDX). It uses the below formula:
Note: the USDEUR and USDGBP pairs are used in the source dollar index formula. Since only reverse pairs are available in the platform, a negative power and Ask instead of Bid are used in the synthetic symbol formula. The platform will calculate in real time the price of the new instrument based on the quotes of the other six symbols provided by your broker. The price changes will be visualized in the Market Watch window and on the chart:
MQL5: Added Generic Data Collections to the Standard Library. They contain classes and interfaces for defining collections based on templates. The new strongly typed collections provide a greater application development convenience and high data handling performance.
The library is placed to the Include\Generic folder of the terminal's working directory.
The update will be available through the Live Update system.
Форум по трейдингу, автоматическим торговым системам и тестированию торговых стратегий
Обсудим совместные проекты в редакторе - зачем они и куда движутся
Renat Fatkhullin, 2017.12.28 16:51
I completely forgot - we are releasing a new communication system for communication in January.
This is an analogue of the Telegram, including channels and groups (public and private).
It will be possible to launch thematic groups, including paid ones.
For example, distribute the anallytical content by subscription.
Great emphasis on data exchange from terminals. This will make it much faster and more convenient to exchange charts, profiles, settings, programs, etc.
Regarding MT5 its now robust and promising. I'm planing to migrate to MT5 as on next year, I quickly want to ask regarding "Synthetic formula and custom symbol", let say my broker does not provide the custom symbol I choose to create, can I open trades on those symbol and make profit / losses and will it be added/deducted to my balance?