New article Timeseries in DoEasy library (part 40): Library-based indicators - updating data in real time has been published:
The article considers the development of a simple multi-period indicator based on the DoEasy library. Let's improve the timeseries classes to receive data from any timeframes to display it on the current chart period.
Compile the indicator and launch it on the chart:
As we can see, on М15, the data buffer from М5 shows the М5 bar close prices in one of a third of the current chart candles, which is understandable since a single М15 bar contains three М5 bars, and the М5 bar close price is displayed on М15 bar.
Launch the indicator in the tester with the enabled parameter of displaying the timeseries data on the current chart period:
Author: Artyom Trishkin