New article Timeseries in DoEasy library (part 38): Timeseries collection - real-time updates and accessing data from the program has been published:
The article considers real-time update of timeseries data and sending messages about the "New bar" event to the control program chart from all timeseries of all symbols for the ability to handle these events in custom programs. The "New tick" class is used to determine the need to update timeseries for the non-current chart symbol and periods.
Compile the EA and set its parameters the following way:
Launch the EA on the chart. After a while, the journal displays the "New bar" event messages on used symbols for the current symbol chart:
New bar on EURUSD M5: 2020.03.11 12:55
New bar on EURAUD M5: 2020.03.11 12:55
New bar on AUDUSD M5: 2020.03.11 12:55
New bar on EURUSD M5: 2020.03.11 13:00
New bar on AUDUSD M5: 2020.03.11 13:00
New bar on EURAUD M5: 2020.03.11 13:00
Launch the EA in the visual tester mode on the chart of one of the symbols selected in the settings, for example on EURUSD, and see how the zero bar data changes in the chart comment:
As we can see, both lines containing data obtained in different ways, have identical values of received zero bar properties and are updated in real time on each tick.
Author: Artyom Trishkin
This is the most unfortunate name for a library, EVER!