Today we will update the functionality of the indicator system for the first time. In the previous article within the "Multiple indicators on one chart" we considered the basic code which allows using more than one indicator in a chart subwindow. But what was presented was just the starting base of a much larger system.
The separator that fixes the chart period — only in the indicator window, does not affect any changes that the user can make. All other indicators and the main chart will be updated to the new chart period selected by the user, but the fixed indicator will not follow the new chart period. In some cases, this can be interesting, as shown in the image below.
Has anyone tested the code at the end of current article?
Output of previous article(1.png and 2.png) and current article(1(1).png and 1(1).png ) attached. The above code does not show anything to see by specifying the timeframe.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
New article Multiple indicators on one chart (Part 03): Developing definitions for users has been published:
Today we will update the functionality of the indicator system for the first time. In the previous article within the "Multiple indicators on one chart" we considered the basic code which allows using more than one indicator in a chart subwindow. But what was presented was just the starting base of a much larger system.
The separator that fixes the chart period — only in the indicator window, does not affect any changes that the user can make. All other indicators and the main chart will be updated to the new chart period selected by the user, but the fixed indicator will not follow the new chart period. In some cases, this can be interesting, as shown in the image below.
Author: Daniel Jose