Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

ColorZeroLAG_MA - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

ColorZeroLAG_MA - indicator for MetaTrader 5

The ZeroLAG MA indicator is a moving average with zero lag. This indicator was introduced in the April 2000 issue of Technical Analysis of Stocks and Commodities magazine.

ZeroLAG MA(i) = 2*MA(price, P1, i) - MA(MA(price, P1, i), P2, i)

The indicator uses the СMoving_Average class of the SmoothAlgorithms.mqh library. How to use this class is described in detail in the article "Average price series for intermediate calculations without using additional buffers" .

The indicator was originally written in MQL4 and first published in the code base on October 25, 2006.

ColorZeroLAG_MA - indicator for MetaTrader 5

Figure 1. ColorZeroLAG_MA indicator


Attachment download

📎 colorzerolag_ma.mq5 (9.01 KB)

📎 smoothalgorithms.mqh (130.19 KB)

Source: MQL5 #13175

Verification code Refresh