Real author:
Rosh
Ehlers Center of Gravity indicator in the form of candles. There are two versions: DRAW_COLOR_CANDLES and DRAW_CANDLES styles.
The indicator uses the Π‘Moving_Average class of the SmoothAlgorithms.mqh library. Working with that class was described in details in the article “Averaging Price Series for Intermediate Calculations Without Using Additional Buffers”.
Fig.1. CenterOfGravityCandle and CenterOfGravityCandle_ indicators