Discussion of article "Selection and navigation utility in MQL5 and MQL4: Adding "homework" tabs and saving graphical objects"

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
203720
MetaQuotes Software Corp.  

New article Selection and navigation utility in MQL5 and MQL4: Adding "homework" tabs and saving graphical objects has been published:

In this article, we are going to expand the capabilities of the previously created utility by adding tabs for selecting the symbols we need. We will also learn how to save graphical objects we have created on the specific symbol chart, so that we do not have to constantly create them again. Besides, we will find out how to work only with symbols that have been preliminarily selected using a specific website.

Homework tabs

To save the Earth's forests, we will create three tabs that are to display only the previously selected symbols. Let's name these tabs Long, Short and Range. Of course, you do not have to add solely upward, downward or flat symbols there. You can use them at your discretion.

As a result, the chart our utility is launched at features yet another row consisting of four buttons: the All button and the three previously described ones.

The All button is pressed by default, which means the list of all symbols fitting our filters is to be displayed below:

Adding tabs for selecting homework

Thus, the objective has been set. Now we have to implement it. To do this, we will have to re-write a small part of our utility.

Author: Roman Klymenko

To add comments, please log in or register