Indicators: The class for drawing the DEMA using the ring buffer

 

The class for drawing the DEMA using the ring buffer:

The class is designed for calculation of the technical indicator Double Exponential Moving Average (Double Exponential Moving Average, DEMA) using the algorithm of the ring buffer.

The result of the work of the Test_DEMA_OnValueRB.mq5 with the size of the ring buffer of 256 elements

Author: Konstantin Gruzdev