Join our fan page
DecEMA - indicator for MetaTrader 5
- Views:
- 5370
- Rating:
- Published:
- 2013.01.08 14:46
- Updated:
- 2023.03.29 13:42
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The real author:
Guru
The Moving Average that represents itself a linear combination of the EMA smoothing series by the Exponential Moving Average (EMA).
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the 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".
This indicator was first implemented in MQL4 and published in Code Base on 16.09.2008.
Fig.1 The DecEMA indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1382
The X-bars Fractals indicator allows setting the number of bars on the left and the right from fractal. It is good as for local, so for global extremums
The example of the work with the CSV file as with a tableThe CSV file was written to write economic news but there was a problem that the Terminal does not distinguish lines, exactly their number when working with the CSV file. That is why I decided to share my solution of this problem.
The class is designed for calculation of a technical indicator Relative Strength Index (Relative Strength Index, RSI) using the algorithm of the ring buffer.
Exp_EF_distanceThe trading system based on change of the trend direction displayed by the EF_distance indicator and force of the trend determined by the Flat-Trend indicator.