Join our fan page
- Views:
- 4833
- Rating:
- Published:
- 2019.02.07 08:48
- Updated:
- 2023.03.29 13:48
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
A five-fold exponential moving average that displays the most recent value as a price label with the possibility to round the indicator levels to the required number of orders The number of digits to round is set in the input variable Digit:
input uint Digit=3; //Number of digits to round to
The indicator uses the classes of library SmoothAlgorithms.mqh (to be copied to <terminal_data_folder>\MQL5\Include). The use of the classes is described in details in article Averaging Price Series for Intermediate Calculations without Using Additional Buffers.
Fig. 1. Indicator ColorPEMA_Digit
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/23426

Indicator Advanced Fractal Envelopes

Indicator Advanced Fractal Overlay

Indicator MACD Overlay

A moving ColorPEMA_Digit with the limitation of the computer resources used for its calculations on the entire chart and on the current bar