New article Timeseries in DoEasy library (part 41): Sample multi-symbol multi-period indicator has been published:
In the article, we will consider a sample multi-symbol multi-period indicator using the timeseries classes of the DoEasy library displaying the chart of a selected currency pair on a selected timeframe as candles in a subwindow. I am going to modify the library classes a bit and create a separate file for storing enumerations for program inputs and selecting a compilation language.
Compile the indicator and launch it on EURUSD M15 chart:
We can see the four buttons with the first four symbols. The buttons of selecting periods to be displayed are displayed for them until any of the buttons is pressed. As soon as a symbol button is pressed, the list of the period selection buttons is opened for it. After selecting the period, the candles of the selected symbol and period are displayed on the chart. Now the status of selected buttons is written to the terminal global variables. After relaunching the indicator or pressing another symbol button and then returning to the previous one, the period buttons are displayed for it accompanied by the previously used period button already selected.
Author: Artyom Trishkin