Join our fan page
- Views:
- 3341
- Rating:
- Published:
- 2015.07.30 11:25
- Updated:
- 2023.03.29 13:45
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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 Ltd.
Original code: https://www.mql5.com/ru/code/13347

The ColorZerolagMomentumOSMATrend_x10 indicator shows the ColorZerolagMomentumOSMA oscillator direction from ten different timeframes.

The MultiColorZerolagMomentumOSMATrend_x10 indicator shows information on current trends using the ColorZerolagMomentumOSMA indicator direction from ten different timeframes.

The ColorJLaguerre indicator with the timeframe selection option available in the input parameters.

The ColorJMomentum indicator with the timeframe selection option available in the input parameters.