Popular Posts

Editor'S Choice - 2019

MQL Lessons

Dear friends, colleagues Forex traders and programmers, - hello! Today's lesson will be devoted to the economic calendar, which is built into Metatrader 5 by default. Using MQL5, we will learn how to “pull out” news and write an adviser using the functions that we will develop.

Read More

Hello! Not so long ago, in a lesson about the open positions of traders, we took data from a website on the network. What we did then in the lesson can be done in another way, without using dll, therefore, without depending on the operating system. All you need is a Metatrader 4 terminal and mql code editor.

Read More

Greetings, dear colleagues, traders and programmers! Today will be our introductory lesson on the Metatrader 5 platform. We will consider the serious and not-so-different differences between MT4 (the MQL4 programming language) and MT5 (the MQL5 programming language) both in general and directly in programming in these languages.

Read More

Hello! Surely many of you often noticed that periodically the charts of a particular currency pair repeat their movements. In fact, in most cases - this is just a temporary phenomenon, which will not work to make enough money. But what if there are such reliable price movements and patterns that we are not aware of?

Read More

Not so long ago, an indicator of open positions of traders appeared on the site. I liked it because you can simultaneously receive data from several sources. In addition, as part of writing this article, I tested this indicator a little visually, and the result seemed promising to me. And today we will work with this indicator to use its data in our adviser.

Read More

Sometimes it is necessary to programmatically press a button in a third-party application, read the text from a specific component, start another terminal, any other program, open a text file, turn off the computer at a certain time, and perform some other operations. The WinAPI function ShellExecute, which is located in the shell32 library, will help us here.

Read More

Greetings, friends! Many of you probably already faced this inconvenience more than once: they wrote an adviser in mql4, and then I wanted to try playing with MetaTrader 5. Rewriting all the code again is a rather painstaking and lengthy task, and you also have to first deal with the work of the existing one .

Read More

Dear friends, colleagues Forex traders - hello! Today's lesson will be two in one. Today we will write an indicator in MQL5 + expert advisor on this indicator. Those. Today's topic is “How to write an Expert Advisor for MetaTrader 5 on an external indicator.” We use the classes and libraries of the MT5 platform for this, thanks to which the development of robots will pass as quickly as possible.

Read More

Greetings to you, friends forex traders and programmers! From time to time they ask me questions: how to build a real chart of the drawdown of the adviser during testing. This is a very topical topic, especially for those who like risky methods of money management. The MetaTrader terminal has a balance chart with equity, and some statistics on testing, but it is not always convenient, and it's good when you have your own, proven tool at hand.

Read More

Dear colleagues Forex traders, programmers, hello! Today's lesson is devoted to converting Expert Advisors written originally for the Metatrader 4 platform to the Metatrader 5 platform. We will learn how to quickly, using the MQL5 programming language classes, transfer any code written in the MQL4 programming language to the MT5 platform.

Read More

Dear friends Forex traders, programmers, hello! Today's lesson is about developing an indicator. We will learn how to write an indicator for the Metatrader 5 terminal in MQL5, respectively. It will be an oscillator displaying the difference of two moving averages in the form of a color histogram. The indicator has four configurable parameters: MaFastPeriod - Period of fast MA; MaSlowPeriod - Period of slow MA; MaMethod - The method applied to the price; MaAppliedPrice - actually - the type of price.

Read More

Developing MQL4 trading experts is not an easy task. Firstly, the algorithmization of any complex trading system is already a problem, since you need to take into account a lot of details, starting with the features of the TS and ending with the specifics of the MetaTrader 4 environment. Secondly, even the presence of a detailed algorithm does not eliminate the difficulties that arise when transferring the developed algorithm to the MQL4 programming language.

Read More

Dear colleagues, friends, software traders, hello! It is believed that a multi-currency adviser is more successful in trading, as it operates simultaneously with several currency pairs. Well, let's write a multi-currency expert for the MetaTrader 5 terminal. This is what our today's video tutorial from the MQL5 series will be dedicated to.

Read More

Dear colleagues, friends Forex traders, hello! It is no secret that an adviser written using the Martingale algorithm can give good profit, and it can also be used to disperse a deposit. But where there is high profit, there are high risks, let's not forget about it, in addition, there are some rules for working with such experts.

Read More

Greetings, gentlemen, MQL programmers! Quite often, a situation arises when we need to use some data that is online on certain pages in the forex advisor or indicator. A typical example of such a situation is receiving news and displaying them in a terminal on a chart in a format convenient for you.

Read More

Hello friends forex programmers! As you know, in the specialized Forex Tester program for testing trading strategies, you can write your own indicators and advisers, but few have tried this. Unfortunately - the program does not support the mql scripting language built into the MetaTrader 4 terminal.

Read More

Greetings, friends forex programmers! Not so long ago, a video lesson was published on the famous Michael Kovel Turtle system. She led me to the idea of ​​adapting this wonderful strategy to the Forex market. This is what we will do today, and we will use the resulting adviser to develop, for example, a money management system in subsequent lessons.

Read More

Greetings, gentlemen, MQL programmers! With this post we are completing a series of lessons on working with quotes. Previous lessons: Tick data collector in the form of an indicator; Converter of tick files to csv format; Gluer of several files with tick data into one file; Checking the accumulated tick history for holes.

Read More

Good afternoon, my curious friends are beginners (and not so) programmers! As you remember from previous lessons, we are creating a set of tools for the full work with tick quotes. We already have the following tools: Tick data collector in the form of an indicator; Converter of tick files to csv format; A stitcher of several files with tick data in one file.

Read More