Join our fan page
Color_PEMA_Digit - indicator for MetaTrader 5
- Views:
- 4170
- Rating:
- Published:
- 2017.08.10 12:34
- Updated:
- 2023.03.29 13:48
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
A moving average with the five-fold EMA averaging. It displays the most recent value as a price label with the possibility to round the indicator levels up to a required number of digits. 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 SmoothAlgorithms.mqh library classes (copy it to <terminal_data_folder>\MQL5\Include). The use of the classes is described in details the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".
Fig. 1. The Color_PEMA_Digit indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/18488
The EA trades based on the "Bullish and Bearish Engulfing" pattern.
Size of candles 2 (text)The size of a candlestick. The size is calculated by the following formula: "minuend" minus "deduction".
A moving average with the four-fold EMA averaging. It displays the most recent value as a price label with the possibility to round the indicator levels up to a required number of digits.
PEMA_HTFThe PEMA indicator with the timeframe selection option available in input parameters.