Join our fan page
ColorZeroLAG_MA - indicator for MetaTrader 5
- Views:
- 4284
- Rating:
- Published:
- 2015.07.02 15:06
- Updated:
- 2023.03.29 13:45
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
MetaQuotes
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.
Formula:
ZeroLAG MA(i) = 2*MA(Price, P1, i) - MA(MA( Price, P1, i), P2, i)
where:
- MA — Moving Average;
- Price — applied price;
- P1 — period of Moving Average for first smoothing;
- P2 — period of Moving Average for second smoothing.
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 Ltd.
Original code: https://www.mql5.com/ru/code/13175
The CoppockHist indicator with the timeframe selection option available in the input parameters.
CoppockHistColored histogram based on a famous indicator by Edward Coppock.
The ColorZeroLAG_MA indicator with the timeframe selection option available in the input parameters.
WRBThe indicator determines and marks WRB (Wide Range Bars or Wide Range Bodies).