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

 

The class for drawing the OBV using the ring buffer:

The class is designed for calculation the technical indicator On Balance Volume (On Balance Volume, OBV) using the algorithm of the ring buffer.

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

Author: Konstantin Gruzdev