The ZeroLAG MA indicator is a Moving Average with zero lag. This indicator was introduced in Technical Analysis of Stocks and Commodities magazine, April 2000.
ZeroLAG MA(i) = 2*MA(Price, P1, i) - MA(MA( Price, P1, i), P2, i)
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".
Originally this indicator has been written in MQL4 and was first published in the Code Base on 25.10.2006.
Fig.1. The ColorZeroLAG_MA indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/13175
The CoppockHist indicator with the timeframe selection option available in the input parameters.CoppockHist
Colored histogram based on a famous indicator by Edward Coppock.