How to calculate the sum of the newest 240 data in the array? - page 2 12 New comment aunal7673 2022.06.15 18:06 #11 William Roeder #: Not compiled, not tested, just typed. Not compiled, not tested, just typed. Is it possible to do this sum operation via 'MathSum' function? [Deleted] 2022.06.15 18:18 #12 aunal7673 #: Is it possible to do this sum operation via 'MathSum' function? MathSum is only available on MQL5 and it sums ALL the elements of an array, not just part of it. Documentation on MQL5: Standard Library / Mathematics / Statistics / Subfunctions / MathSum www.mql5.com MathSum(const double&) - Subfunctions - Statistics - Mathematics - Standard Library - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5 William Roeder 2022.06.15 18:21 #13 aunal7673 #: Is it possible to do this sum operation via 'MathSum' function? No. Because there is no MathSum function in MT4. 12 New comment
Not compiled, not tested, just typed.
MathSum is only available on MQL5 and it sums ALL the elements of an array, not just part of it.
No. Because there is no MathSum function in MT4.