Rejoignez notre page de fans
Normalized MACD - of averages - indicateur pour MetaTrader 5
- Vues:
- 12878
- Note:
- Publié:
- 2019.02.21 14:47
- Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance
Theory :
MACD is, by definition calculated as a difference of fast and slow EMA (Exponential Moving Average). This versions allows you to :
- use one of the 4 basic types of averages for calculation :
- simple moving average
- exponential moving average
- smoothed moving average
- linear weighted moving average
- it is normalizing those macd values to -1 to +1 range
Adaptive moving average - double smoothed
CSV file reader for MQL5This class was developed to exchange data between MetaTrader 5 and CSV files. It converts the strings read from the CSV file to double and integer values depending of the type of the columns. Two producers of CSV files are most important for me. The most important producer are spreadsheet programs, i.e. LibreCalc. Manually entered CSV are the other kind of CSV files I had in mind. Be aware that this class do not use the standard library FileCsv.mqh etc. Instead it works with text files. It splits text lines into fields. Maximum speed and low memory usage were no development goals. This class may not be suited for large datasets or time critical operations. I would not use CSV files if speed was my main goal.