MT5 standard indicators EMA and ATR strange calculations?
A5005: These great pages describe how well-known standard indicators are calculated. (With calculation examples). However, when compared, these do not match those of MT5. Does anyone know what questionable methods (roundings?) MT5 uses?
Look under the "<data folder>/MQL5/Indicator/Examples" folder for the example code:
- ATR.mq5
- Custom Moving Average.mq5
These great pages describe how well-known standard indicators are calculated. (With calculation examples)
https://www.earnforex.com/guides/average-true-range/
https://www.earnforex.com/guides/what-is-moving-average/
The help at https://www.metatrader5.com/en/terminal/help/indicators is useless for exact calculation.
Does anyone know what questionable methods (roundings?) MT5 uses?
Peter