This variant of the Moving Average indicator is calculated based on five moving averages.
All editable variables are implemented as indicator input parameters. However, keep in mind that these variables are interdependent to some extent, so you should adjust them more carefully!
FactorN input variables represent the unit weight of the Moving Average with number N in total indicator value.
The indicator uses the classes of SmoothAlgorithms.mqh library (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Fig.1. The ColorZerolagX10MA indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/13347
The ColorZerolagMomentumOSMATrend_x10 indicator shows the ColorZerolagMomentumOSMA oscillator direction from ten different timeframes.MultiColorZerolagMomentumOSMATrend_x10
The MultiColorZerolagMomentumOSMATrend_x10 indicator shows information on current trends using the ColorZerolagMomentumOSMA indicator direction from ten different timeframes.