Hi Daniel José. A very interesting and useful implementation of using a sub-window together with several graphs.
Until now, I have used the mini-chart in the main window, as an additional function of an indicator or even an expert. In it I can change all the main parameters: Symbol, Period, Scale, among other less important ones.
But I couldn't use any more minigraphs, because... they significantly covered the main window. Your indicator solves a lot, but there are some minor inconveniences that I suggest you modify.
I propose adding the possibility of defining the desired period in the command line, for each minigraph separately, so that, for example, you can define 1 Symbol for 3 different Periods or 3 different Symbols for 1 Period.
For example: " GBPUSD - M 30:3; GBPUSD - H 2:3; GBPUSD - D 1:3".
or " EURUSD - H 2:3; GBPUSD - H 2:3; USDCHF - H 2: 3 " .
I think the explanation is quite clear and easy to modify in your code.Hi Daniel José. A very interesting and useful implementation of the use of a sub-window together with various graphics.
Until now, I've used the mini-chart in the main window as an additional feature of an indicator or even an EA. In it, I can change all the main parameters: Symbol, Period, Scale, as well as other less important ones.
But I couldn't use more minigraphs because they covered the main window considerably. A lot can be solved with your indicator, but there are some minor inconveniences that I suggest you modify.
I suggest adding the ability to define the desired period in the command line, for each mini-chart separately, so that, as an example, you can define 1 symbol for 3 different periods or 3 different symbols for 1 period.
For example: " GBPUSD - M 30:3; GBPUSD - H 2:3; GBPUSD - D 1:3"
or " EURUSD - H 2:3; GBPUSD - H 2:3; USDCHF - H 2: 3 " .
I think the explanation is quite clear and easy to modify in your code.I don't think you've seen the article that followed ... 😁👍 ... but take a look at it Multiple indicators on a chart (Part 03): Developing definitions for users, maybe it's exactly what you want, since we can lock period or even the width of each subwindow ... but thanks for the suggestion.

- www.mql5.com
Thank you very much for the link. The fact is that at first only part 2, translated by MetaQuotes Ltd, was available to me; there was no link to the next part.
I myself have already started a small modification of the code to suit my strategy, but I found it difficult to understand some functions.
The point is that I'm going to generate a command line from the data obtained from another indicator, with the strongest symbols, for further analysis and decision making.
At the same time, I use a main window, with a non-trading symbol, for general analysis, and other windows with the strongest symbols, with additional indicators and experts for trading.
Using this same modified indicator, it will automatically generate a command line with the strongest symbols of the same period in the main window; and in the trading windows, it will generate a command line of one symbol with different trading periods.
hi sir ,your articles are really good but i cant open the class files , what can i do ? I always get an error
too many errors in your class
hi sir ,your articles are really good but i cant open the class files , what can i do ? I always get an error
Maybe you didn't really understand the article, since who creates what you see in the article, it's not the code, but the metatrader 5 platform, because of this. I need you to tell me exactly what is being reported by the platform , either by the compiler or when you are going to place the indicator on the chart... 👀👍
Maybe you didn't really understand the article, since who creates what you see in the article, it's not the code, but the metatrader 5 platform, because of this. I need you to tell me exactly what is being reported by the platform , either by the compiler or when you are going to place the indicator on the chart... 👀👍
here is what I get in the compiler, even though the class file is in the mql5 directory:
here is what I get in the compiler, even though the class file is in the mql5 directory:
You modified the structure of the ZIP file, look on line 10, as can be seen in the image you posted, the compiler will look for the header file in this location, however you modified it, so the compiler will not be able to find the file right. Of the two, or you indicate the new location, or keep the structure of the ZIP file
You modified the structure of the ZIP file, look on line 10, as can be seen in the image you posted, the compiler will look for the header file in this location, however you modified it, so the compiler will not be able to find the file right. Of the two, or you indicate the new location, or keep the structure of the ZIP file
i changed location but the error continues:

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Multiple indicators on one chart (Part 02): First experiments has been published:
In the previous article "Multiple indicators on one chart" I presented the concept and the basics of how to use multiple indicators on one chart. In this article, I will provide the source code and will explain it in detail.
These two functions do exactly what I explained above: they enforce data integrity within the object's class by preventing inconsistent data from becoming part of the class's internal data. They receive a command line and decode it following a predefined syntax,. However, they don't say that the received command has an error, as it is not their purpose. Their purpose is to ensure that inconsistent data does not enter the object and does not cause side effects that can be difficult to detect and fix.
The end result will be as follows:
Author: Daniel Jose