It differs from fractals indicator in the following:
The fractal with sides 10 (left) and 5 (right):
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1381
The CSV file was written to write economic news but there was a problem that the Terminal does not distinguish lines, exactly their number when working with the CSV file. That is why I decided to share my solution of this problem.The simplified class of the CArrayRing256 ring buffer
The class is the simplified version of the CArrayRing class: it has a predetermined fixed size of 256 elements, it is faster, and allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.
The Moving Average that represents itself a linear combination of the EMA smoothing series by the Exponential Moving Average (EMA).The class for drawing the RSI using the ring buffer
The class is designed for calculation of a technical indicator Relative Strength Index (Relative Strength Index, RSI) using the algorithm of the ring buffer.