Indicators: The class to draw MACD using the ring buffer

 

The class to draw MACD using the ring buffer:

The class is designed for calculation of the technical indicator Moving Average Convergence/Divergence (Moving Average Convergence/Divergence, MACD) using the algorithm of the ring buffer.

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

Author: Konstantin Gruzdev